svn commit: r16362 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui

Michiel van der Wulp <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2008-12-15 01:36:22-0800
New Revision: 16362

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotypesGroup.java

Log:
Comments only.

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java?view=diff&pathrev=16362&r1=16361&r2=16362
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java	2008-12-15 01:36:22-0800
@@ -425,6 +425,7 @@
         int iconPos = 25, gap = 1, xOff = -4, yOff = -4;
         Point p = new Point();
         ToDoList tdList = Designer.theDesigner().getToDoList();
+        /* Owner related todo items: */
         List<ToDoItem> items = tdList.elementListForOffender(getOwner());
         for (ToDoItem item : items) {
             Icon icon = item.getClarifier();
@@ -438,6 +439,7 @@
                 iconPos += icon.getIconWidth() + gap;
             }
         }
+        /* Fig related todo items: */
         items = tdList.elementListForOffender(this);
         for (ToDoItem item : items) {
             Icon icon = item.getClarifier();

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java?view=diff&pathrev=16362&r1=16361&r2=16362
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java	2008-12-15 01:36:22-0800
@@ -36,10 +36,11 @@
 import org.tigris.gef.presentation.FigText;
 
 /**
- * Fig to show one stereotype within a FigStereotypeCompartment.
+ * Fig to show one stereotype within a FigStereotypesGroup.
  * <p>
  * The stereotype is not editable on the fig, hence we
- * do not use a Notation Provider.
+ * do not use a Notation Provider. <p>
+ * This Fig listens to model changes regarding the name of the stereotype.
  *
  * @author Bob Tarling
  */

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotypesGroup.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotypesGroup.java?view=diff&pathrev=16362&r1=16361&r2=16362
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotypesGroup.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotypesGroup.java	2008-12-15 01:36:22-0800
@@ -47,7 +47,7 @@
 /**
  * A Fig designed to be the child of some FigNode or FigEdge to display the
  * stereotypes of the model element represented by the parent Fig.
- * Currently display of multiple stereotypes are stacked one on top of the
+ * Currently, multiple stereotypes are shown stacked one on top of the other,
  * each enclosed by guillemets.<p>
  * 
  * The minimum width of this fig is the largest minimum width of its child
@@ -56,6 +56,9 @@
  * The minimum height of this fig is the total minimum height of its child
  * figs.<p>
  * 
+ * The owner of this Fig is the UML element that is extended with the stereotypes.
+ * We are listening to changes to the model: addition and removal of stereotypes. 
+ * 
  * TODO: Allow for UML2 style display where all stereotypes are displayed in
  * the same guillemet pair and are delimited by commas. The style should be
  * changeable by calling getOrientation(Orientation). The swidget Orientation

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=984322

To unsubscribe from this discussion, e-mail: [[email protected]].
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.