svn commit: r16662 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigOperationsCompartment.java

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

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigOperationsCompartment.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/FigOperationsCompartment.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigOperationsCompartment.java?view=diff&pathrev=16662&r1=16661&r2=16662
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigOperationsCompartment.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigOperationsCompartment.java	2009-01-19 16:11:38-0800
@@ -79,7 +79,7 @@
      * @see org.argouml.uml.diagram.ui.FigEditableCompartment#getUmlCollection()
      */
     protected Collection getUmlCollection() {
-        Object classifier = getGroup().getOwner();
+        Object classifier = getOwner();
         return Model.getFacade().getOperationsAndReceptions(classifier);
     }
 
@@ -99,6 +99,7 @@
      * @return a FigSingleLineTextWithNotation which can be used to 
      *                          display the text.
      */
+    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     protected FigSingleLineTextWithNotation createFigText(Object owner,

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

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.