svn commit: r16310 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java

Michiel van der Wulp <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2008-12-08 06:02:00-0800
New Revision: 16310

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java

Log:
Fix a problem around the use of guillemets for the stereotypes of an association end. There are still bugs, but at least the guillemets now do appear sometimes.

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java?view=diff&pathrev=16310&r1=16309&r2=16310
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java	2008-12-08 06:02:00-0800
@@ -788,12 +788,15 @@
             notationProviderRole.cleanListener(this, getOwner());
         }
         if (getOwner() != null) {
+            NotationName notation = 
+                Notation.findNotation(getSettings().getNotationLanguage());
             notationProviderRole = 
                 NotationProviderFactory2.getInstance().getNotationProvider(
                         NotationProviderFactory2.TYPE_ASSOCIATION_END_NAME, 
                         getOwner(),
-                        this);
-            initNotationArguments();
+                        this,
+                        notation);
+            npArguments.put("useGuillemets", getSettings().isUseGuillemets());
         } else {
             LOG.debug("Null owner when initialization notation providers");
         }

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

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.