svn commit: r16661 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAttributesCompartment.java

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2009-01-19 16:10:46-0800
New Revision: 16661

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

Log:
Issue 5500 - Get owner directly.  Suppress deprecation warnings on things we've dealt with already.

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAttributesCompartment.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAttributesCompartment.java?view=diff&pathrev=16661&r1=16660&r2=16661
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAttributesCompartment.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAttributesCompartment.java	2009-01-19 16:10:46-0800
@@ -76,7 +76,7 @@
      * @see org.argouml.uml.diagram.ui.FigEditableCompartment#getUmlCollection()
      */
     protected Collection getUmlCollection() {
-        Object cls = getGroup().getOwner();
+        Object cls = getOwner();
         return Model.getFacade().getStructuralFeatures(cls);
     }
 
@@ -100,6 +100,7 @@
         TargetManager.getInstance().setTarget(attr);
     }
     
+    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     protected FigSingleLineTextWithNotation createFigText(Object owner, Rectangle bounds,

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

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.