Commit 38f627b5 authored by Hernan Ponce de Leon's avatar Hernan Ponce de Leon
Browse files

[YELLOW] code reviewed

parent 23825da7
......@@ -2,6 +2,6 @@ BehaviorComponentCompositor.java 0a82795d43fb303d75e0f6377e1826c384f5f1db GREEN
BehaviorComponentCompositorBase.java fa16f1739da71d2ce121bdf80312f86ff9b6f44b GREEN
ComponentArchitectureCompositor.java 4ca5788c4f0cc2705256da50ab2701dc94c85526 GREEN
ComponentArchitectureFileProjectCompositor.java f4e5bf61a0630bd34814e8264504c86f8ea446ac GREEN
ComponentCompositor.java 226dffd3c5ab2251b522826e795d5677df2b0258 GREEN
ComponentCompositor.java bc59408b5841fba98728de27ba5f4c2444313dbf YELLOW
LibraryComponentPackageCompositor.java de7a6574347521bc813db4fcac55e0c490eea28a GREEN
LibraryCompositor.java dfb4467f3f2c818c9750996d3dfb97c22dc4721f GREEN
......@@ -20,6 +20,7 @@ import static org.fortiss.af3.component.utils.ComponentArchitectureUtils.hasBeha
import static org.fortiss.af3.component.utils.ComponentArchitectureUtils.hasReadOnlyBehaviorSpecification;
import static org.fortiss.tooling.base.layout.DefaultLayoutConstants.DEFAULT_CONNECTOR_SIZE;
import static org.fortiss.tooling.base.utils.BaseModelElementUtils.removeModelElementReferenceSpecifications;
import static org.fortiss.tooling.base.utils.LayoutDataUtils.layoutModelElement;
import static org.fortiss.tooling.base.utils.LayoutDataUtils.moveNode;
import static org.fortiss.tooling.base.utils.RectangleLayoutUtils.layoutConnectorInRectangle;
import static org.fortiss.tooling.base.utils.RectangleLayoutUtils.layoutNodeInRoot;
......@@ -37,7 +38,6 @@ import org.fortiss.tooling.base.compose.LogMessageUserInteractionContext;
import org.fortiss.tooling.base.compose.ModelElementWithRefCopyMessage;
import org.fortiss.tooling.base.dnd.ElementDropContext;
import org.fortiss.tooling.base.model.layout.Point;
import org.fortiss.tooling.base.utils.LayoutDataUtils;
import org.fortiss.tooling.kernel.extension.IElementCompositor;
import org.fortiss.tooling.kernel.extension.data.IElementCompositionContext;
import org.fortiss.tooling.kernel.extension.data.ILogMessageContext;
......@@ -110,7 +110,7 @@ public class ComponentCompositor extends HierarchicElementCompositorBase<Compone
ILoggingService.getInstance().processMessage(new ModelElementWithRefCopyMessage(),
msgContext);
}
LayoutDataUtils.layoutModelElement(component, context);
layoutModelElement(component, context);
sanitizedContainer.getContainedElements().add(component);
return true;
}
......@@ -137,7 +137,7 @@ public class ComponentCompositor extends HierarchicElementCompositorBase<Compone
}
/** Alters port name if duplicate name already exists. */
/* package */static void avoidDuplicatePortName(Port port, Component container) {
static void avoidDuplicatePortName(Port port, Component container) {
if(port.getComponent() == container) {
return;
}
......
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