Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r62 - trunk/src/org/dbuml/argo/uml/diagram/ui/DBSchemaDiagram.java

argouml-db
Discussion topic

Back to topic list

svn commit: r62 - trunk/src/org/dbuml/argo/uml/diagram/ui/DBSchemaDiagram.java

Author tfmorris
Full name Tom Morris
Date 2008-10-15 17:03:45 PDT
Message Author: tfmorris
Date: 2008-10-15 17:03:44-0700
New Revision: 62

Modified:
   trunk/src/org/dbuml/​argo/uml/diagram/ui/​DBSchemaDiagram.java​

Log:
Update deprecated Add action method

Modified: trunk/src/org/dbuml/​argo/uml/diagram/ui/​DBSchemaDiagram.java​
Url: http://argouml-db.ti​gris.org/source/brow​se/argouml-db/trunk/​src/org/dbuml/argo/u​ml/diagram/ui/DBSche​maDiagram.java?view=​diff&rev=62&​p1=trunk/src/org/dbu​ml/argo/uml/diagram/​ui/DBSchemaDiagram.j​ava&p2=trunk/src​/org/dbuml/argo/uml/​diagram/ui/DBSchemaD​iagram.java&r1=6​1&r2=62
====================​====================​====================​==================
--- trunk/src/org/dbuml/​argo/uml/diagram/ui/​DBSchemaDiagram.java​ (original)
+++ trunk/src/org/dbuml/​argo/uml/diagram/ui/​DBSchemaDiagram.java​ 2008-10-15 17:03:44-0700
@@ -12,10 +12,10 @@
 
 import org.argouml.kernel.P​rojectManager;
 import org.argouml.model.Model;
-import org.argouml.ui.targe​tmanager.TargetManag​er;
 import org.argouml.uml.diag​ram.static_structure​.ClassDiagramGraphMo​del;
 import org.argouml.uml.diag​ram.static_structure​.ui.ClassDiagramRend​erer;
 import org.argouml.uml.diag​ram.static_structure​.ui.UMLClassDiagram;​
+import org.argouml.uml.ui.f​oundation.core.Actio​nAddOperation;
 import org.argouml.util.Too​lBarUtility;
 import org.dbuml.argo.uml.u​i.ActionCreateColumn​;
 import org.dbuml.argo.uml.u​i.ActionCreateEdge;
@@ -176,8 +176,7 @@
      */
     private Action getActionOperation() {
         if (actionOperation == null) {
- actionOperation =
- TargetManager.getIns​tance().getAddOperat​ionAction();
+ actionOperation = new ActionAddOperation();
         }
         return actionOperation;
     }
@@ -186,7 +185,7 @@
         // This calls the getters to fetch actions even though the
         // action variables are defined is instances of this class.
         // This is because any number of action getters could have
- // been overridden in a descendent and it is the action from
+ // been overridden in a descendant and it is the action from
         // that overridden method that should be returned in the array.
         Object[] actions = {
             getActionAssociation(),

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r62 - trunk/src/org/dbuml/argo/uml/diagram/ui/DBSchemaDiagram.java tfmorris Tom Morris 2008-10-15 17:03:45 PDT
Messages per page: