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

Issue-Ref: 3816

Signed-off-by: Simon Barner's avatarSimon Barner <>
parent 1a75c9e0
......@@ -3,7 +3,7 @@ ad6f06093cb813a05d13e87bbd0d620b43d bb7964823a64af71d55a1bdf430c79792ad3edb0 GREEN b6c854e91d431fa3bc42fafdcf618a2040d23ab4 GREEN bab1cd340e2e724eedaabb4d2b455cba111b511b GREEN e64448ecd2185db90608862276d68bea23be9452 GREEN 962a6d69ba7d5b45dbbf046e9f51af53a835898a YELLOW 71faad6256159ee2d59843fcde83ac6995dff0fe GREEN d4aa3db08fafafaa937b976c85762f1009fa8dc7 GREEN 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", "");
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