Author: penyaskito
Date: 2008-08-16 04:57:01-0700
New Revision: 15575
Added:
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/ActionSetLinkAssociation.java (contents, props changed)
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLLinkAssociationComboBoxModel.java (contents, props changed)
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLNodeDeployedComponentListModel.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 Deployment diagrams panels. Closes Issue 5315.
Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/ActionSetLinkAssociation.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/ActionSetLinkAssociation.java?view=auto&rev=15575
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/ActionSetLinkAssociation.java 2008-08-16 04:57:01-0700
@@ -0,0 +1,82 @@
+// $Id$
+// Copyright (c) 2008 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.awt.event.ActionEvent;
+
+import javax.swing.Action;
+
+import org.argouml.i18n.Translator;
+import org.argouml.model.Model;
+import org.argouml.uml.ui.UMLComboBox2;
+import org.tigris.gef.undo.UndoableAction;
+
+/**
+ *
+ * @author Michiel
+ */
+class ActionSetLinkAssociation extends UndoableAction {
+
+ /**
+ * Constructor for ActionSetModelElementNamespace.
+ */
+ public ActionSetLinkAssociation() {
+ super(Translator.localize("Set"), null);
+ // Set the tooltip string:
+ putValue(Action.SHORT_DESCRIPTION, Translator.localize("Set"));
+ }
+
+ /*
+ * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
+ */
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ super.actionPerformed(e);
+ Object source = e.getSource();
+ Object oldAssoc = null;
+ Object newAssoc = null;
+ Object link = null;
+ if (source instanceof UMLComboBox2) {
+ UMLComboBox2 box = (UMLComboBox2) source;
+ Object o = box.getTarget();
+ if (Model.getFacade().isALink(o)) {
+ link = o;
+ oldAssoc = Model.getFacade().getAssociation(o);
+ }
+ Object n = box.getSelectedItem();
+ if (Model.getFacade().isAAssociation(n)) {
+ newAssoc = n;
+ }
+ }
+ if (newAssoc != oldAssoc && link != null && newAssoc != null) {
+ Model.getCoreHelper().setAssociation(link, newAssoc);
+ }
+ }
+
+ /**
+ * The UID.
+ */
+ private static final long serialVersionUID = 6168167355078835252L;
+}
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=15575&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=15574&r2=15575
==============================================================================
--- 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-16 04:57:01-0700
@@ -51,6 +51,7 @@
import org.argouml.uml.ui.UMLLinkedList;
import org.argouml.uml.ui.UMLModelElementListModel2;
import org.argouml.uml.ui.UMLMutableLinkedList;
+import org.argouml.uml.ui.foundation.core.UMLContainerResidentListModel;
import org.argouml.uml.ui.UMLPlainTextDocument;
import org.argouml.uml.ui.UMLRadioButtonPanel;
import org.argouml.uml.ui.UMLSearchableComboBox;
@@ -74,9 +75,13 @@
import org.argouml.uml.ui.behavior.collaborations.UMLMessageSenderListModel;
import org.argouml.uml.ui.behavior.common_behavior.ActionAddContextSignal;
import org.argouml.uml.ui.behavior.common_behavior.ActionAddCreateActionInstantiation;
+import org.argouml.uml.ui.behavior.common_behavior.ActionAddInstanceClassifier;
import org.argouml.uml.ui.behavior.common_behavior.UMLActionArgumentListModel;
import org.argouml.uml.ui.behavior.common_behavior.UMLActionAsynchronousCheckBox;
import org.argouml.uml.ui.behavior.common_behavior.UMLCreateActionClassifierListModel;
+import org.argouml.uml.ui.behavior.common_behavior.UMLInstanceClassifierListModel;
+import org.argouml.uml.ui.behavior.common_behavior.UMLInstanceReceiverStimulusListModel;
+import org.argouml.uml.ui.behavior.common_behavior.UMLInstanceSenderStimulusListModel;
import org.argouml.uml.ui.behavior.common_behavior.UMLSignalContextListModel;
import org.argouml.uml.ui.behavior.state_machines.ActionSetContextStateMachine;
import org.argouml.uml.ui.behavior.state_machines.UMLStateMachineContextComboBoxModel;
@@ -119,6 +124,7 @@
import org.argouml.uml.ui.foundation.core.UMLClassifierFeatureListModel;
import org.argouml.uml.ui.foundation.core.UMLClassifierParameterListModel;
import org.argouml.uml.ui.foundation.core.UMLCommentAnnotatedElementListModel;
+import org.argouml.uml.ui.foundation.core.UMLComponentResidentListModel;
import org.argouml.uml.ui.foundation.core.UMLDependencyClientListModel;
import org.argouml.uml.ui.foundation.core.UMLDependencySupplierListModel;
import org.argouml.uml.ui.foundation.core.UMLDiscriminatorNameDocument;
@@ -382,6 +388,23 @@
model.setTarget(target);
pane = new UMLSingleRowSelector(model);
}
+ /*
+ * The XML generated is "stimulus", because the A_receiver_stimulus
+ * association has "stimulus" and "receiver" as association ends.
+ * The A_stimulus_sender has "sender" and "stimulus", so it is generated
+ * once. So we have created them by hand with a more explicit name and
+ * removed "stimulus".
+ */
+ else if ("sentStimulus".equals(prop.getName())) {
+ model = new UMLInstanceSenderStimulusListModel();
+ model.setTarget(target);
+ pane = new UMLSingleRowSelector(model);
+ }
+ else if ("receivedStimulus".equals(prop.getName())) {
+ model = new UMLInstanceReceiverStimulusListModel();
+ model.setTarget(target);
+ pane = new UMLSingleRowSelector(model);
+ }
if (pane != null) {
JLabel label = new JLabel(prop.getName());
label.setLabelFor(pane);
@@ -675,6 +698,33 @@
JList l = new UMLLinkedList(model);
list = new ScrollList(l);
}
+ else if ("deployedComponent".equals(prop.getName())) {
+ model = new UMLNodeDeployedComponentListModel();
+ model.setTarget(target);
+ JList l = new UMLLinkedList(model);
+ list = new ScrollList(l);
+ }
+ else if ("residentElement".equals(prop.getName())) {
+ model = new UMLComponentResidentListModel();
+ model.setTarget(target);
+ JList l = new UMLLinkedList(model);
+ list = new ScrollList(l);
+ }
+ else if ("classifier".equals(prop.getName())) {
+ model = new UMLInstanceClassifierListModel();
+ model.setTarget(target);
+ JList l = new UMLMutableLinkedList(model,
+ new ActionAddInstanceClassifier(
+ Model.getMetaTypes().getClassifier()),
+ null, null, true);
+ list = new ScrollList(l);
+ }
+ else if ("resident".equals(prop.getName())) {
+ model = new UMLContainerResidentListModel();
+ model.setTarget(target);
+ JList l = new UMLLinkedList(model);
+ list = new ScrollList(l);
+ }
if (list != null) {
String name = prop.getName();
@@ -859,13 +909,15 @@
comp = mPanel;
}
else if ("activator".equals(prop.getName())) {
- final UMLComboBoxModel3 model = new UMLMessageActivatorComboBoxModel();
+ final UMLComboBoxModel3 model =
+ new UMLMessageActivatorComboBoxModel();
model.setTarget(target);
final JComboBox combo = new UMLMessageActivatorComboBox(model);
comp = combo;
}
else if ("operation".equals(prop.getName())) {
- final UMLComboBoxModel3 model = new UMLCallActionOperationComboBoxModel();
+ final UMLComboBoxModel3 model =
+ new UMLCallActionOperationComboBoxModel();
model.setTarget(target);
UMLComboBox3 operationComboBox =
new UMLCallActionOperationComboBox2(model);
@@ -895,7 +947,8 @@
combo);
}
else if ("context".equals(prop.getName())) {
- final UMLComboBoxModel2 model = new UMLStateMachineContextComboBoxModel();
+ final UMLComboBoxModel2 model =
+ new UMLStateMachineContextComboBoxModel();
model.setTarget(target);
UMLComboBox2 combo = new UMLComboBox2(model,
ActionSetContextStateMachine.getInstance());
@@ -904,6 +957,15 @@
combo);
}
+ else if ("association".equals(prop.getName())) {
+ final UMLComboBoxModel2 model =
+ new UMLLinkAssociationComboBoxModel();
+ model.setTarget(target);
+ comp = new UMLComboBoxNavigator(Translator.localize(
+ "label.association.navigate.tooltip"),
+ new UMLSearchableComboBox(model,
+ new ActionSetLinkAssociation(), true));
+ }
if (comp != null) {
String name = prop.getName();
Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLLinkAssociationComboBoxModel.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLLinkAssociationComboBoxModel.java?view=auto&rev=15575
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLLinkAssociationComboBoxModel.java 2008-08-16 04:57:01-0700
@@ -0,0 +1,131 @@
+// $Id$
+// Copyright (c) 2008 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 java.util.Collection;
+import java.util.HashSet;
+import java.util.Iterator;
+
+import org.argouml.model.Model;
+import org.argouml.uml.ui.UMLComboBoxModel2;
+
+/**
+ * The model for the combobox to show the Association of the Link.
+ *
+ * @author Michiel
+ */
+class UMLLinkAssociationComboBoxModel extends UMLComboBoxModel2 {
+
+ /**
+ * Constructor for UMLModelElementNamespaceComboBoxModel.
+ */
+ public UMLLinkAssociationComboBoxModel() {
+ super("assocation", true);
+ }
+
+ /*
+ * @see org.argouml.uml.ui.UMLComboBoxModel2#isValidElement(Object)
+ */
+ protected boolean isValidElement(Object o) {
+ return Model.getFacade().isAAssociation(o);
+ }
+
+ /**
+ * To simplify implementation, we list all associations
+ * found with any of the Classifiers
+ * represented by the linked Instances. <p>
+ *
+ * TODO: Make a foolproof algorithm that only allows selecting associations
+ * that create a correct model. Also take into account n-ary associations
+ * and associationclasses. This algo best goes in the model subsystem, e.g.
+ * in a method getAllPossibleAssociationsForALink().
+ *
+ * @see org.argouml.uml.ui.UMLComboBoxModel2#buildModelList()
+ */
+ protected void buildModelList() {
+ Collection linkEnds;
+ Collection associations = new HashSet();
+ Object t = getTarget();
+ if (Model.getFacade().isALink(t)) {
+ linkEnds = Model.getFacade().getConnections(t);
+ Iterator ile = linkEnds.iterator();
+ while (ile.hasNext()) {
+ Object instance = Model.getFacade().getInstance(ile.next());
+ Collection c = Model.getFacade().getClassifiers(instance);
+ Iterator ic = c.iterator();
+ while (ic.hasNext()) {
+ Object classifier = ic.next();
+ Collection ae =
+ Model.getFacade().getAssociationEnds(classifier);
+ Iterator iae = ae.iterator();
+ while (iae.hasNext()) {
+ Object associationEnd = iae.next();
+ Object association =
+ Model.getFacade().getAssociation(associationEnd);
+ associations.add(association);
+ }
+ }
+ }
+ }
+ setElements(associations);
+ }
+
+ /*
+ * @see org.argouml.uml.ui.UMLComboBoxModel2#getSelectedModelElement()
+ */
+ protected Object getSelectedModelElement() {
+ if (Model.getFacade().isALink(getTarget())) {
+ return Model.getFacade().getAssociation(getTarget());
+ }
+ return null;
+ }
+
+ /*
+ * @see java.beans.PropertyChangeListener#propertyChange(java.beans.PropertyChangeEvent)
+ */
+ @Override
+ public void propertyChange(PropertyChangeEvent evt) {
+ /*
+ * Rebuild the list from scratch to be sure it's correct.
+ */
+ Object t = getTarget();
+ if (t != null
+ && evt.getSource() == t
+ && evt.getNewValue() != null) {
+ buildModelList();
+ /* In some cases (se issue 3780) the list remains the same, but
+ * the selected item differs. Without the next step,
+ * the combo would not be refreshed.
+ */
+ setSelectedItem(getSelectedModelElement());
+ }
+ }
+
+ /**
+ * The UID.
+ */
+ private static final long serialVersionUID = 3232437122889409351L;
+}
Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLNodeDeployedComponentListModel.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLNodeDeployedComponentListModel.java?view=auto&rev=15575
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLNodeDeployedComponentListModel.java 2008-08-16 04:57:01-0700
@@ -0,0 +1,59 @@
+// $Id$
+// Copyright (c) 2008 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 org.argouml.model.Model;
+import org.argouml.uml.ui.UMLModelElementListModel2;
+
+/**
+* @author 5eichler
+*/
+class UMLNodeDeployedComponentListModel extends UMLModelElementListModel2 {
+
+ /**
+ * Construct a list model for the deployed components of a Node.
+ */
+ public UMLNodeDeployedComponentListModel() {
+ super("deployedComponent");
+ }
+
+ /*
+ * @see org.argouml.uml.ui.UMLModelElementListModel2#buildModelList()
+ */
+ protected void buildModelList() {
+ if (Model.getFacade().isANode(getTarget())) {
+ setAllElements(
+ Model.getFacade().getDeployedComponents(getTarget()));
+ }
+ }
+
+ /*
+ * @see org.argouml.uml.ui.UMLModelElementListModel2#isValidElement(Object)
+ */
+ protected boolean isValidElement(Object o) {
+ return (Model.getFacade().isAComponent(o));
+ }
+
+}
\ No newline at end of file
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=15575&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=15574&r2=15575
==============================================================================
--- 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-16 04:57:01-0700
@@ -808,33 +808,33 @@
</panel>
<panel name="Dependency">
<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 />
+ <list name="client" type="ModelElement" />
+ <list name="supplier" type="ModelElement" />
+
+ <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="comment" type="Comment" />
<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="client" type="ModelElement" />
- <list name="supplier" type="ModelElement" />
+ <attribute name="elementImport" type="ModelElement" />
</panel>
<panel name="Abstraction">
<text name="name" type="Name" />
@@ -933,99 +933,97 @@
</panel>
<panel name="Component">
<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" />
+ <separator />
+ <list name="generalization" type="Generalization" />
+ <list name="specialization" type="GeneralizableElement" />
+ <separator />
<list name="clientDependency" type="Dependency" />
+ <list name="supplierDependency" type="ModelElement" />
+ <list name="residentElement" type="ElementResidence" />
+
+ <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" />
+ <attribute name="elementImport" type="ModelElement" />
+ <attribute name="ownedElement" type="ModelElement" />
+ <attribute name="feature" type="Feature" />
<list name="powertypeRange" type="Generalization" />
<list name="typedFeature" type="Classifier" />
<list name="typedParameter" type="Classifier" />
- <list name="association" type="Classifier" />
+ <attribute 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="deploymentLocation" type="Node" />
- <list name="residentElement" type="ElementResidence" />
<list name="implementation" type="Artifact" />
</panel>
<panel name="Node">
<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="deployedComponent" type="Component" />
+
+ <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="comment" type="Comment" />
<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" />
+ <attribute name="elementImport" type="ModelElement" />
+ <attribute name="ownedElement" type="ModelElement" />
+ <attribute name="feature" type="Feature" />
<list name="powertypeRange" type="Generalization" />
<list name="typedFeature" type="Classifier" />
<list name="typedParameter" type="Classifier" />
- <list name="association" type="Classifier" />
+ <attribute 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="deployedComponent" type="Component" />
</panel>
<panel name="Permission">
<text name="name" type="Name" />
@@ -1723,75 +1721,75 @@
</panel>
<panel name="Object">
<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="sentStimulus" type="Instance" />
+ <singlerow name="receivedStimulus" type="Instance" />
+ <separator />
+ <list name="classifier" type="Classifier" />
+
+ <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" />
- <list name="classifier" type="Classifier" />
+ <attribute name="elementImport" type="ModelElement" />
<list name="linkEnd" type="LinkEnd" />
<list name="slot" type="AttributeLink" />
<attribute name="componentInstance" type="ComponentInstance" />
- <separator />
<list name="ownedInstance" type="Instance" />
<list name="ownedLink" type="Link" />
<list name="attributeLink" type="Instance" />
- <list name="stimulus" type="Instance" />
<attribute name="owner" type="Instance" />
<list name="playedRole" type="Instance" />
</panel>
<panel name="Link">
<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" />
+ <combo name="association" type="Association" />
+ <separator />
+ <list name="connection" type="LinkEnd" />
+
+ <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="association" type="Association" />
- <list name="connection" type="LinkEnd" />
- <list name="stimulus" type="Link" />
+ <attribute name="elementImport" type="ModelElement" />
+ <attribute name="stimulus" type="Link" />
<attribute name="owner" type="Link" />
- <separator />
<list name="playedRole" type="Link" />
</panel>
<panel name="LinkObject">
@@ -2064,31 +2062,29 @@
</panel>
<panel name="LinkEnd">
<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" />
+ <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="elementImport" type="ModelElement" />
<attribute name="instance" type="Instance" />
<attribute name="link" type="Link" />
<attribute name="associationEnd" type="AssociationEnd" />
@@ -2299,43 +2295,45 @@
</panel>
<panel name="NodeInstance">
<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="sentStimulus" type="Instance" />
+ <singlerow name="receivedStimulus" type="Instance" />
+ <list name="resident" type="ComponentInstance" />
+ <separator />
+ <list name="classifier" type="Classifier" />
+
+
+ <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" />
- <list name="classifier" type="Classifier" />
+ <attribute name="elementImport" type="ModelElement" />
<list name="linkEnd" type="LinkEnd" />
<list name="slot" type="AttributeLink" />
<attribute name="componentInstance" type="ComponentInstance" />
- <separator />
<list name="ownedInstance" type="Instance" />
<list name="ownedLink" type="Link" />
<list name="attributeLink" type="Instance" />
- <list name="stimulus" type="Instance" />
<attribute name="owner" type="Instance" />
- <list name="playedRole" type="Instance" />
- <list name="resident" type="ComponentInstance" />
+ <list name="playedRole" type="Instance" />
</panel>
<panel name="SubsystemInstance">
<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.