svn commit: r14968 - trunk/src/argouml-core-diagrams-sequence2/src/org/argouml/uml/diagram/sequence2/ui/FigClassifierRole.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2008-06-16 18:25:19-0700
New Revision: 14968

Modified:
   trunk/src/argouml-core-diagrams-sequence2/src/org/argouml/uml/diagram/sequence2/ui/FigClassifierRole.java

Log:
Describe public javadoc without too much internal implementation detail knowledge

Modified: trunk/src/argouml-core-diagrams-sequence2/src/org/argouml/uml/diagram/sequence2/ui/FigClassifierRole.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-diagrams-sequence2/src/org/argouml/uml/diagram/sequence2/ui/FigClassifierRole.java?view=diff&rev=14968&p1=trunk/src/argouml-core-diagrams-sequence2/src/org/argouml/uml/diagram/sequence2/ui/FigClassifierRole.java&p2=trunk/src/argouml-core-diagrams-sequence2/src/org/argouml/uml/diagram/sequence2/ui/FigClassifierRole.java&r1=14967&r2=14968
==============================================================================
--- trunk/src/argouml-core-diagrams-sequence2/src/org/argouml/uml/diagram/sequence2/ui/FigClassifierRole.java	(original)
+++ trunk/src/argouml-core-diagrams-sequence2/src/org/argouml/uml/diagram/sequence2/ui/FigClassifierRole.java	2008-06-16 18:25:19-0700
@@ -193,11 +193,13 @@
     }
     
     /**
-     * Gets the minimum size of the CR:<br>
-     * width = the minimum width of the headFig<br>
-     * height = the minimum height of the headFig + offset (in case a create
-     * message is present).<br>
-     * An extra buffer of 10 is added to ensure lifeLine visibility.
+     * Gets the minimum size of the Fig<br>
+     * The width is restricted by the notation making sure that the full
+     * classifier role description is displayed.<br>
+     * The minimum height is restricted so that the all attached message will
+     * remain in the same position relative to the Fig. If no messages are
+     * attached then the minimum height will ensure box is shown plus at least
+     * 10 pixels of the lifeline.
      */
     public Dimension getMinimumSize() {
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.