svn commit: r15559 - branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels: ui xml

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: penyaskito
Date: 2008-08-13 10:31:13-0700
New Revision: 15559

Added:
   branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLConditionExpressionModel.java   (contents, props changed)
Modified:
   branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java
   branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/xml/panels.xml

Log:
Complete Use Case diagrams panels. Closes Issue 5311.

Modified: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java?view=diff&rev=15559&p1=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java&p2=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java&r1=15558&r2=15559
==============================================================================
--- branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java	(original)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java	2008-08-13 10:31:13-0700
@@ -24,15 +24,14 @@
 
 package org.argouml.core.propertypanels.ui;
 
-import java.io.InputStream;
-
-import javax.sql.rowset.spi.XmlReader;
 import javax.swing.DefaultListCellRenderer;
 import javax.swing.JComboBox;
 import javax.swing.JComponent;
 import javax.swing.JLabel;
+import javax.swing.JList;
 import javax.swing.JPanel;
 import javax.swing.JScrollPane;
+import javax.swing.JTextArea;
 import javax.swing.JTextField;
 import javax.swing.border.TitledBorder;
 
@@ -41,8 +40,6 @@
 import org.argouml.core.propertypanels.panel.XMLPropPanelFactory;
 import org.argouml.core.propertypanels.xml.XMLPropertyPanelsData;
 import org.argouml.core.propertypanels.xml.XMLPropertyPanelsDataRecord;
-import org.argouml.core.propertypanels.xml.XMLPropertyPanelsHandler;
-import org.argouml.core.propertypanels.xml.XmlSinglePanelHandler;
 import org.argouml.i18n.Translator;
 import org.argouml.model.Model;
 import org.argouml.uml.ui.ScrollList;
@@ -62,9 +59,16 @@
 import org.argouml.uml.ui.UMLTextField2;
 import org.argouml.uml.ui.behavior.common_behavior.ActionAddContextSignal;
 import org.argouml.uml.ui.behavior.common_behavior.UMLSignalContextListModel;
+import org.argouml.uml.ui.behavior.use_cases.ActionAddExtendExtensionPoint;
+import org.argouml.uml.ui.behavior.use_cases.ActionNewExtendExtensionPoint;
 import org.argouml.uml.ui.behavior.use_cases.ActionNewUseCaseExtensionPoint;
+import org.argouml.uml.ui.behavior.use_cases.UMLExtendBaseListModel;
+import org.argouml.uml.ui.behavior.use_cases.UMLExtendExtensionListModel;
+import org.argouml.uml.ui.behavior.use_cases.UMLExtendExtensionPointListModel;
+import org.argouml.uml.ui.behavior.use_cases.UMLExtensionPointLocationDocument;
+import org.argouml.uml.ui.behavior.use_cases.UMLExtensionPointUseCaseListModel;
+import org.argouml.uml.ui.behavior.use_cases.UMLIncludeAdditionListModel;
 import org.argouml.uml.ui.behavior.use_cases.UMLUseCaseExtendListModel;
-import org.argouml.uml.ui.behavior.use_cases.UMLUseCaseExtensionPointListModel;
 import org.argouml.uml.ui.behavior.use_cases.UMLUseCaseIncludeListModel;
 import org.argouml.uml.ui.foundation.core.ActionAddAssociationSpecification;
 import org.argouml.uml.ui.foundation.core.ActionAddClientDependencyAction;
@@ -121,9 +125,6 @@
 import org.argouml.uml.ui.foundation.core.UMLStructuralFeatureTypeComboBoxModel;
 import org.tigris.swidgets.GridLayout2;
 import org.tigris.swidgets.LabelledLayout;
-import org.xml.sax.InputSource;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.XMLReaderFactory;
 
 /**
  * Creates the XML Property panels
@@ -230,6 +231,14 @@
             text.setRows(5);
             control = new JScrollPane(text);
         }
+        else if ("condition".equals(prop.getName())) {
+            UMLExpressionModel3 conditionModel =
+                new UMLConditionExpressionModel();
+            JTextArea conditionArea =
+                new UMLExpressionBodyField(conditionModel, true);
+            conditionArea.setRows(5);
+            control = new JScrollPane(conditionArea);
+        }
         if (control != null) {
             // if the control is a panel, add it
             if (control == p) {
@@ -287,6 +296,27 @@
             model.setTarget(target);
             pane = new UMLSingleRowSelector(model);
         }
+        else if ("base".equals(prop.getName())) {
+            model = new UMLExtendBaseListModel();
+            model.setTarget(target);
+            pane = new UMLSingleRowSelector(model);            
+        }
+        else if ("extension".equals(prop.getName())) {
+            model = new UMLExtendExtensionListModel();
+            model.setTarget(target);
+            pane = new UMLSingleRowSelector(model);            
+        }
+        else if ("addition".equals(prop.getName())) {
+            model = new UMLIncludeAdditionListModel();
+            model.setTarget(target);
+            pane = new UMLSingleRowSelector(model);
+        }
+        else if ("useCase".equals(prop.getName())) {
+            model = new UMLExtensionPointUseCaseListModel();
+            model.setTarget(target);
+            pane = new UMLSingleRowSelector(model);            
+        }
+        
         if (pane != null) {           
             JLabel label = new JLabel(prop.getName());
             label.setLabelFor(pane);
@@ -492,12 +522,23 @@
             list = new ScrollList(model);
         }
         else if ("extensionPoint".equals(prop.getName())) {
-            model = new UMLUseCaseIncludeListModel();
-            model.setTarget(target);
-            UMLMutableLinkedList l = new UMLMutableLinkedList(
-                    model, null,
-                    ActionNewUseCaseExtensionPoint.SINGLETON);
-            list = new ScrollList(l);
+            if (Model.getFacade().isAUseCase(target)) {
+                model = new UMLUseCaseIncludeListModel();
+                model.setTarget(target);
+                UMLMutableLinkedList l = new UMLMutableLinkedList(
+                        model, null,
+                        ActionNewUseCaseExtensionPoint.SINGLETON);
+                list = new ScrollList(l);
+            }
+            else {
+                model = new UMLExtendExtensionPointListModel();
+                model.setTarget(target);
+                JList l =
+                    new UMLMutableLinkedList(model, 
+                        ActionAddExtendExtensionPoint.getInstance(),
+                        ActionNewExtendExtensionPoint.SINGLETON);
+                list = new ScrollList(l);
+            }
         }
         if (list != null) {
             String name = prop.getName();
@@ -706,7 +747,9 @@
         else if ("discriminator".equals(prop.getName())) {
             document = new UMLDiscriminatorNameDocument();            
         }
-        
+        else if ("location".equals(prop.getName())) {
+            document = new UMLExtensionPointLocationDocument();
+        }
         if (document != null) {
             document.setTarget(target);
             tfield = new UMLTextField2(document);

Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLConditionExpressionModel.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLConditionExpressionModel.java?view=auto&rev=15559
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLConditionExpressionModel.java	2008-08-13 10:31:13-0700
@@ -0,0 +1,100 @@
+// $Id$
+// Copyright (c) 2003-2006 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+package org.argouml.core.propertypanels.ui;
+
+import java.beans.PropertyChangeEvent;
+
+import org.apache.log4j.Logger;
+import org.argouml.model.Model;
+import org.argouml.ui.targetmanager.TargetEvent;
+import org.argouml.ui.targetmanager.TargetManager;
+
+/**
+ *
+ * @author mkl
+ *
+ */
+public class UMLConditionExpressionModel extends UMLExpressionModel3 {
+
+    private static final Logger LOG =
+        Logger.getLogger(UMLConditionExpressionModel.class);
+
+    /**
+     * The constructor.    
+     */
+    public UMLConditionExpressionModel() {
+        super("condition");
+    }
+
+    /*
+     * @see org.argouml.uml.ui.UMLExpressionModel2#getExpression()
+     */
+    public Object getExpression() {
+        return Model.getFacade().getCondition(
+                TargetManager.getInstance().getTarget());
+    }
+
+    /*
+     * @see org.argouml.uml.ui.UMLExpressionModel2#setExpression(java.lang.Object)
+     */
+    public void setExpression(Object expression) {
+        Object target = TargetManager.getInstance().getTarget();
+
+        if (target == null) {
+            throw new IllegalStateException("There is no target");
+        }
+        Model.getUseCasesHelper().setCondition(target, expression);
+    }
+
+    /*
+     * @see org.argouml.uml.ui.UMLExpressionModel2#newExpression()
+     */
+    public Object newExpression() {
+        LOG.debug("new boolean expression");
+        return Model.getDataTypesFactory().createBooleanExpression("", "");
+    }
+
+
+    public void targetAdded(TargetEvent e) {
+        // TODO: Auto-generated method stub
+        
+    }
+
+    public void targetRemoved(TargetEvent e) {
+        // TODO: Auto-generated method stub
+        
+    }
+
+    public void targetSet(TargetEvent e) {
+        // TODO: Auto-generated method stub
+        
+    }
+
+    public void propertyChange(PropertyChangeEvent evt) {
+        // TODO: Auto-generated method stub
+        
+    }
+    
+}

Modified: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/xml/panels.xml
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/xml/panels.xml?view=diff&rev=15559&p1=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/xml/panels.xml&p2=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/xml/panels.xml&r1=15558&r2=15559
==============================================================================
--- branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/xml/panels.xml	(original)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/xml/panels.xml	2008-08-13 10:31:13-0700
@@ -2382,98 +2382,100 @@
   </panel>
   <panel name="UseCase">
     <text name="name" type="Name" />
-    <optionbox name="visibility" type="VisibilityKind" />
+    <combo name="namespace" type="Namespace" />   
     <checkgroup name="modifiers">
       <checkbox name="isSpecification" type="Boolean" />
       <checkbox name="isRoot" type="Boolean" />
       <checkbox name="isLeaf" type="Boolean" />
       <checkbox name="isAbstract" type="Boolean" />
     </checkgroup>
-    <combo name="namespace" type="Namespace" />
     <list name="clientDependency" type="Dependency" />
+    <list name="supplierDependency" type="ModelElement" />
+    <separator />
+    <list name="generalization" type="Generalization" />
+    <list name="specialization" type="GeneralizableElement" />
+    <list name="extend" type="Extend" />
+    <list name="include" type="Include" />
+    <separator />
+    <!-- 
+    <list name="feature" type="Feature" />
+    -->
+	<list name="attribute" type="Feature" />
+    <list name="operation" type="Feature" />
+    <list name="association" type="Classifier" />
+    <list name="extensionPoint" type="ExtensionPoint" />
+            
+	<attribute name="visibility" type="VisibilityKind" />
     <list name="targetFlow" type="Flow" />
     <list name="sourceFlow" type="Flow" />
     <list name="comment" type="Comment" />
-    <separator />
     <list name="templateParameter" type="TemplateParameter" />
-    <list name="supplierDependency" type="ModelElement" />
     <list name="presentation" type="ModelElement" />
     <list name="defaultedParameter" type="ModelElement" />
     <list name="elementResidence" type="ModelElement" />
     <attribute name="parameterTemplate" type="ModelElement" />
     <list name="referenceTag" type="ModelElement" />
     <list name="templateArgument" type="ModelElement" />
-    <separator />
     <list name="behavior" type="ModelElement" />
     <list name="classifierRole" type="ModelElement" />
     <list name="collaboration" type="ModelElement" />
     <list name="collaborationInstanceSet" type="ModelElement" />
     <list name="partition" type="ModelElement" />
-    <list name="elementImport" type="ModelElement" />
-    <list name="generalization" type="Generalization" />
-    <separator />
-    <list name="specialization" type="GeneralizableElement" />
-    <list name="ownedElement" type="ModelElement" />
-    <list name="feature" type="Feature" />
-    <list name="powertypeRange" type="Generalization" />
+    <attribute name="elementImport" type="ModelElement" />   
+    <attribute name="ownedElement" type="ModelElement" />    
+    <attribute name="powertypeRange" type="Generalization" />
     <list name="typedFeature" type="Classifier" />
     <list name="typedParameter" type="Classifier" />
-    <list name="association" type="Classifier" />
     <list name="specifiedEnd" type="Classifier" />
     <list name="instance" type="Classifier" />
     <list name="createAction" type="Classifier" />
-    <separator />
     <list name="classifierInState" type="Classifier" />
     <list name="objectFlowState" type="Classifier" />
-    <list name="extend" type="Extend" />
-    <list name="include" type="Include" />
-    <list name="extensionPoint" type="ExtensionPoint" />
     <list name="extender" type="UseCase" />
     <list name="includer" type="UseCase" />
   </panel>
   <panel name="Actor">
     <text name="name" type="Name" />
-    <optionbox name="visibility" type="VisibilityKind" />
+    <combo name="namespace" type="Namespace" />
     <checkgroup name="modifiers">
       <checkbox name="isSpecification" type="Boolean" />
       <checkbox name="isRoot" type="Boolean" />
       <checkbox name="isLeaf" type="Boolean" />
       <checkbox name="isAbstract" type="Boolean" />
     </checkgroup>
-    <combo name="namespace" type="Namespace" />
-    <list name="clientDependency" type="Dependency" />
+    <separator />
+    <list name="generalization" type="Generalization" />
+    <list name="specialization" type="GeneralizableElement" />
+    <separator />
+    <list name="association" type="Classifier" />
+
+    <attribute name="visibility" type="VisibilityKind" />
+    <attribute name="clientDependency" type="Dependency" />
     <list name="targetFlow" type="Flow" />
     <list name="sourceFlow" type="Flow" />
     <list name="comment" type="Comment" />
-    <separator />
     <list name="templateParameter" type="TemplateParameter" />
-    <list name="supplierDependency" type="ModelElement" />
+    <attribute  name="supplierDependency" type="ModelElement" />
     <list name="presentation" type="ModelElement" />
     <list name="defaultedParameter" type="ModelElement" />
     <list name="elementResidence" type="ModelElement" />
     <attribute name="parameterTemplate" type="ModelElement" />
     <list name="referenceTag" type="ModelElement" />
     <list name="templateArgument" type="ModelElement" />
-    <separator />
     <list name="behavior" type="ModelElement" />
     <list name="classifierRole" type="ModelElement" />
     <list name="collaboration" type="ModelElement" />
     <list name="collaborationInstanceSet" type="ModelElement" />
     <list name="partition" type="ModelElement" />
-    <list name="elementImport" type="ModelElement" />
-    <list name="generalization" type="Generalization" />
-    <separator />
-    <list name="specialization" type="GeneralizableElement" />
-    <list name="ownedElement" type="ModelElement" />
-    <list name="feature" type="Feature" />
-    <list name="powertypeRange" type="Generalization" />
+    <attribute  name="elementImport" type="ModelElement" />
+    <attribute name="ownedElement" type="ModelElement" />
+    <attribute name="feature" type="Feature" />
+    <attribute name="powertypeRange" type="Generalization" />
     <list name="typedFeature" type="Classifier" />
     <list name="typedParameter" type="Classifier" />
-    <list name="association" type="Classifier" />
     <list name="specifiedEnd" type="Classifier" />
     <list name="instance" type="Classifier" />
     <list name="createAction" type="Classifier" />
-    <separator />
     <list name="classifierInState" type="Classifier" />
     <list name="objectFlowState" type="Classifier" />
   </panel>
@@ -2518,96 +2520,98 @@
   </panel>
   <panel name="Extend">
     <text name="name" type="Name" />
-    <optionbox name="visibility" type="VisibilityKind" />
-    <checkgroup name="modifiers">
-      <checkbox name="isSpecification" type="Boolean" />
-    </checkgroup>
     <combo name="namespace" type="Namespace" />
-    <list name="clientDependency" type="Dependency" />
+    <separator /> 
+    <singlerow name="base" type="UseCase" />
+    <singlerow name="extension" type="UseCase" />
+    <list name="extensionPoint" type="ExtensionPoint" />    
+    <separator />
+    <textarea name="condition" type="BooleanExpression" />
+    
+    
+    <attribute name="visibility" type="VisibilityKind" />
+    <attribute name="modifiers">
+      <attribute name="isSpecification" type="Boolean" />
+    </attribute>
+    <attribute name="clientDependency" type="Dependency" />
     <list name="targetFlow" type="Flow" />
     <list name="sourceFlow" type="Flow" />
     <list name="comment" type="Comment" />
-    <separator />
     <list name="templateParameter" type="TemplateParameter" />
-    <list name="supplierDependency" type="ModelElement" />
+    <attribute name="supplierDependency" type="ModelElement" />
     <list name="presentation" type="ModelElement" />
     <list name="defaultedParameter" type="ModelElement" />
     <list name="elementResidence" type="ModelElement" />
     <attribute name="parameterTemplate" type="ModelElement" />
     <list name="referenceTag" type="ModelElement" />
     <list name="templateArgument" type="ModelElement" />
-    <separator />
     <list name="behavior" type="ModelElement" />
     <list name="classifierRole" type="ModelElement" />
     <list name="collaboration" type="ModelElement" />
     <list name="collaborationInstanceSet" type="ModelElement" />
     <list name="partition" type="ModelElement" />
-    <list name="elementImport" type="ModelElement" />
-    <attribute name="condition" type="BooleanExpression" />
-    <attribute name="base" type="UseCase" />
-    <attribute name="extension" type="UseCase" />
-    <list name="extensionPoint" type="ExtensionPoint" />
+    <attribute name="elementImport" type="ModelElement" />
   </panel>
   <panel name="Include">
     <text name="name" type="Name" />
-    <optionbox name="visibility" type="VisibilityKind" />
-    <checkgroup name="modifiers">
-      <checkbox name="isSpecification" type="Boolean" />
-    </checkgroup>
     <combo name="namespace" type="Namespace" />
-    <list name="clientDependency" type="Dependency" />
+	<separator />
+	<singlerow name="base" type="UseCase" />
+	<singlerow name="addition" type="UseCase" />
+	
+    <attribute name="visibility" type="VisibilityKind" />
+    <attribute name="modifiers">
+      <attribute name="isSpecification" type="Boolean" />
+    </attribute>
+    <attribute name="clientDependency" type="Dependency" />
     <list name="targetFlow" type="Flow" />
     <list name="sourceFlow" type="Flow" />
     <list name="comment" type="Comment" />
-    <separator />
     <list name="templateParameter" type="TemplateParameter" />
-    <list name="supplierDependency" type="ModelElement" />
+    <attribute name="supplierDependency" type="ModelElement" />
     <list name="presentation" type="ModelElement" />
     <list name="defaultedParameter" type="ModelElement" />
     <list name="elementResidence" type="ModelElement" />
     <attribute name="parameterTemplate" type="ModelElement" />
     <list name="referenceTag" type="ModelElement" />
     <list name="templateArgument" type="ModelElement" />
-    <separator />
     <list name="behavior" type="ModelElement" />
     <list name="classifierRole" type="ModelElement" />
     <list name="collaboration" type="ModelElement" />
     <list name="collaborationInstanceSet" type="ModelElement" />
     <list name="partition" type="ModelElement" />
-    <list name="elementImport" type="ModelElement" />
-    <attribute name="addition" type="UseCase" />
-    <attribute name="base" type="UseCase" />
+    <attribute name="elementImport" type="ModelElement" />    
   </panel>
   <panel name="ExtensionPoint">
     <text name="name" type="Name" />
-    <optionbox name="visibility" type="VisibilityKind" />
-    <checkgroup name="modifiers">
-      <checkbox name="isSpecification" type="Boolean" />
-    </checkgroup>
-    <combo name="namespace" type="Namespace" />
-    <list name="clientDependency" type="Dependency" />
+    <text name="location" type="LocationReference" />
+    <separator />
+    <singlerow name="useCase" type="UseCase" />
+    <list name="extend" type="ExtensionPoint" />
+    
+    <attribute name="visibility" type="VisibilityKind" />
+    <attribute name="modifiers">
+      <attribute name="isSpecification" type="Boolean" />
+    </attribute>
+    <attribute name="namespace" type="Namespace" />
+    <attribute name="clientDependency" type="Dependency" />
     <list name="targetFlow" type="Flow" />
     <list name="sourceFlow" type="Flow" />
     <list name="comment" type="Comment" />
-    <separator />
     <list name="templateParameter" type="TemplateParameter" />
-    <list name="supplierDependency" type="ModelElement" />
+    <attribute name="supplierDependency" type="ModelElement" />
     <list name="presentation" type="ModelElement" />
     <list name="defaultedParameter" type="ModelElement" />
     <list name="elementResidence" type="ModelElement" />
     <attribute name="parameterTemplate" type="ModelElement" />
     <list name="referenceTag" type="ModelElement" />
     <list name="templateArgument" type="ModelElement" />
-    <separator />
     <list name="behavior" type="ModelElement" />
     <list name="classifierRole" type="ModelElement" />
     <list name="collaboration" type="ModelElement" />
     <list name="collaborationInstanceSet" type="ModelElement" />
     <list name="partition" type="ModelElement" />
-    <list name="elementImport" type="ModelElement" />
-    <attribute name="location" type="LocationReference" />
-    <attribute name="useCase" type="UseCase" />
-    <list name="extend" type="ExtensionPoint" />
+    <attribute name="elementImport" type="ModelElement" />
   </panel>
   <panel name="StateMachine">
     <text name="name" type="Name" />
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.