svn commit: r18570 - trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2010-07-24 15:59:15-0700
New Revision: 18570

Modified:
   trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java

Log:
Remove any knowledge of owner and concrete GraphModel

Modified: trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java?view=diff&pathrev=18570&r1=18569&r2=18570
==============================================================================
--- trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java	(original)
+++ trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java	2010-07-24 15:59:15-0700
@@ -60,21 +60,12 @@
         } catch (PropertyVetoException e) {
             LOG.error("Exception", e);
         }
-        ((ActivityDiagramGraphModel) getGraphModel()).setOwner(owner);
     }
     
     abstract UmlDiagramRenderer createDiagramRenderer();
     abstract UMLMutableGraphSupport createGraphModel();
     
     @Override
-    public void initialize(Object owner) {
-        super.initialize(owner);
-        ActivityDiagramGraphModel gm =
-            (ActivityDiagramGraphModel) getGraphModel();
-        gm.setOwner(owner);
-    }
-
-    @Override
     protected Object[] getUmlActions() {
         
         Object[] edgeTools = getNewEdgeTypes();

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

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.