Commit a195f817 authored by Simon Barner's avatar Simon Barner
Browse files

Set initial name of top-level Component to "Component Architecture"

* ComponentArchitecture.setName() sets the name of the architecture
  and the top-level component to the same name
* When adding more than one component architecture to a file project,
  the ComponentArchitectureFileProjectCompositor now names the
  2nd, 3rd, ... architecture as "Component Architecture1", "Component
  Architecture2". This change ensures consisteny also with the 1st
  architecture.

Issue-Ref: 3816
Issue-Url: https://af3-developer.fortiss.org/issues/3816

Signed-off-by: Simon Barner's avatarSimon Barner <barner@fortiss.org>
parent 1a75c9e0
......@@ -3,7 +3,7 @@ ComponentArchitectureTransformationBase.java ad6f06093cb813a05d13e87bbd0d620b43d
ComponentArchitectureUtils.java bb7964823a64af71d55a1bdf430c79792ad3edb0 GREEN
ComponentLibraryModelElementFactory.java b6c854e91d431fa3bc42fafdcf618a2040d23ab4 GREEN
ComponentLibraryUtils.java bab1cd340e2e724eedaabb4d2b455cba111b511b GREEN
ComponentModelElementFactory.java e64448ecd2185db90608862276d68bea23be9452 GREEN
ComponentModelElementFactory.java 962a6d69ba7d5b45dbbf046e9f51af53a835898a YELLOW
ComponentProgramUtils.java 71faad6256159ee2d59843fcde83ac6995dff0fe GREEN
ComponentUtils.java d4aa3db08fafafaa937b976c85762f1009fa8dc7 GREEN
FormalAnalysisTransformationUtils.java 9c70f8b562f3861f3554157cc96bf2cd91767c4b GREEN
......
......@@ -67,7 +67,7 @@ public final class ComponentModelElementFactory {
public static ComponentArchitecture createComponentArchitecture() {
ComponentArchitecture arch = AF3ComponentFactory.eINSTANCE.createComponentArchitecture();
arch.setName("Component Architecture");
Component hiddenRoot = createComponent("Component Architecture Root", "");
Component hiddenRoot = createComponent("Component Architecture", "");
arch.getContainedElements().add(hiddenRoot);
return arch;
}
......
Markdown is supported
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