Commit 45adfc7d authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

rename of variables

refs 2564
parent 88d055d7
......@@ -38,9 +38,9 @@ import org.fortiss.tooling.kernel.service.IElementCompositorService;
* @author igna
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating GREEN Hash: 320A37D5FAA7C2BA5DA469D0A37A8EF1
* @ConQAT.Rating YELLOW Hash: C08635BB1217E5BD231BDF2FC0DDCBA7
*/
abstract class ConnectionCompositorBase<HE extends IHierarchicElement, S extends EObject, T extends EObject>
public abstract class ConnectionCompositorBase<HE extends IHierarchicElement, S extends EObject, T extends EObject>
implements IConnectionCompositor<HE, S, T> {
/** Creates the application specific {@link IConnection} model element. */
......@@ -127,21 +127,21 @@ abstract class ConnectionCompositorBase<HE extends IHierarchicElement, S extends
}
/** Creates a new source drop context */
protected void createNewSourceDropContext(IHierarchicElement element,
IConnectionCompositionContext context, IConnector connector) {
protected void createNewSourceDropContext(IHierarchicElement container,
IConnectionCompositionContext context, EObject connected) {
boolean isDragCtx = context instanceof ConnectionDragContext;
ElementDropContext drop =
isDragCtx ? ((ConnectionDragContext)context).getSourceDropContext() : null;
IElementCompositorService.INSTANCE.compose(element, connector, drop);
IElementCompositorService.INSTANCE.compose(container, connected, drop);
}
/** Creates a new target drop context */
protected void createNewTargetDropContext(IHierarchicElement element,
IConnectionCompositionContext context, IConnector connector) {
protected void createNewTargetDropContext(IHierarchicElement container,
IConnectionCompositionContext context, EObject contained) {
boolean isDragCtx = context instanceof ConnectionDragContext;
ElementDropContext drop =
isDragCtx ? ((ConnectionDragContext)context).getTargetDropContext() : null;
IElementCompositorService.INSTANCE.compose(element, connector, drop);
IElementCompositorService.INSTANCE.compose(container, contained, drop);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment