Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r66 - trunk/src/org/dbuml/argo: model uml/ui

argouml-db
Discussion topic

Back to topic list

svn commit: r66 - trunk/src/org/dbuml/argo: model uml/ui

Author penyaskito
Full name Christian López Espínola
Date 2008-12-04 17:24:32 PST
Message Author: penyaskito
Date: 2008-12-04 17:24:32-0800
New Revision: 66

Modified:
   trunk/src/org/dbuml/​argo/model/ArgoDBMod​elFacade.java
   trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eateColumn.java
   trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eateEdge.java
   trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eatePKEY.java
   trunk/src/org/dbuml/​argo/uml/ui/CommandE​dge.java

Log:
Removed calls to deprecated methods, that will be removed for 0.27.3

Modified: trunk/src/org/dbuml/​argo/model/ArgoDBMod​elFacade.java
Url: http://argouml-db.ti​gris.org/source/brow​se/argouml-db/trunk/​src/org/dbuml/argo/m​odel/ArgoDBModelFaca​de.java?view=diff​&pathrev=66&r1=​65&r2=66
====================​====================​====================​==================
--- trunk/src/org/dbuml/​argo/model/ArgoDBMod​elFacade.java (original)
+++ trunk/src/org/dbuml/​argo/model/ArgoDBMod​elFacade.java 2008-12-04 17:24:32-0800
@@ -1007,7 +1007,7 @@
         Object model =
                 ProjectManager.getMa​nager().getCurrentPr​oject().getModel();
         Object mAttr =
- Model.getCoreFactory​().buildAttribute(ta​bleModel, model, mType);
+ Model.getCoreFactory​().buildAttribute(ta​bleModel, mType);
         setVisibilityDefault(mAttr);
         column.setModelElement(mAttr);
         this.updateDBElement(column);
@@ -1251,7 +1251,7 @@
     public void addSchema(Schema schema, Object owner) {
         // Make a package and
         Object objSchema = Model.getModelManage​mentFactory().buildP​ackage(
- schema.getName(), schema.getName());
+ schema.getName());
         Model.getCoreHelper(​).setNamespace(objSc​hema, owner);
         schema.setModelEleme​nt(objSchema);
         
@@ -1861,7 +1861,8 @@
                     .buildTaggedValue(sKey, (String) properties.get(sKey));
             collTags.add(objTag);
         }
- Model.getCoreHelper(​).setTaggedValues(ob​j, collTags);
+ Model.getExtensionMe​chanismsHelper().set​TaggedValue(
+ obj, collTags);
     }
     
     /**
@@ -1967,7 +1968,7 @@
         if (mPackage == null) {
             mPackage =
                 Model.getModelManage​mentFactory().buildP​ackage(
- getRelativePackageName(name), name);
+ getRelativePackageName(name));
             Model.getCoreHelper(​).setNamespace(mPack​age,
                 ProjectManager.getMa​nager().getCurrentPr​oject().getModel());​
             

Modified: trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eateColumn.java
Url: http://argouml-db.ti​gris.org/source/brow​se/argouml-db/trunk/​src/org/dbuml/argo/u​ml/ui/ActionCreateCo​lumn.java?view=diff​&pathrev=66&r​1=65&r2=66
====================​====================​====================​==================
--- trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eateColumn.java (original)
+++ trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eateColumn.java 2008-12-04 17:24:32-0800
@@ -79,7 +79,6 @@
         Object attr =
                 Model.getCoreFactory​().buildAttribute(
                 classifier,
- model,
                 intType);
         TargetManager.getIns​tance().setTarget(at​tr);
         CreateActions.create​Column(attr);

Modified: trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eateEdge.java
Url: http://argouml-db.ti​gris.org/source/brow​se/argouml-db/trunk/​src/org/dbuml/argo/u​ml/ui/ActionCreateEd​ge.java?view=diff​&pathrev=66&r1=​65&r2=66
====================​====================​====================​==================
--- trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eateEdge.java (original)
+++ trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eateEdge.java 2008-12-04 17:24:32-0800
@@ -7,7 +7,7 @@
 
 
 import javax.swing.Action;
-import org.argouml.ui.CmdSetMode;
+import org.argouml.uml.diag​ram.ui.ActionSetMode​;
 
 /**
  *
@@ -19,7 +19,7 @@
      * @param cmd
      * @param hint
      */
- public ActionCreateEdge(CmdSetMode cmd, String hint) {
+ public ActionCreateEdge(ActionSetMode cmd, String hint) {
         super(cmd);
         putValue(Action.SHOR​T_DESCRIPTION, hint);
         //putValue(Action.SMALL_ICON, new ImageIcon(getClass()​.getResource("/org/d​buml/argo/uml/ui/Tab​le1.gif")));

Modified: trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eatePKEY.java
Url: http://argouml-db.ti​gris.org/source/brow​se/argouml-db/trunk/​src/org/dbuml/argo/u​ml/ui/ActionCreatePK​EY.java?view=diff​&pathrev=66&r1=​65&r2=66
====================​====================​====================​==================
--- trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eatePKEY.java (original)
+++ trunk/src/org/dbuml/​argo/uml/ui/ActionCr​eatePKEY.java 2008-12-04 17:24:32-0800
@@ -87,7 +87,6 @@
         Object attr =
                 Model.getCoreFactory​().buildAttribute(
                 classifier,
- model,
                 intType);
         TargetManager.getIns​tance().setTarget(at​tr);
         CreateActions.createPKEY(attr);

Modified: trunk/src/org/dbuml/​argo/uml/ui/CommandE​dge.java
Url: http://argouml-db.ti​gris.org/source/brow​se/argouml-db/trunk/​src/org/dbuml/argo/u​ml/ui/CommandEdge.ja​va?view=diff&pat​hrev=66&r1=65​&r2=66
====================​====================​====================​==================
--- trunk/src/org/dbuml/​argo/uml/ui/CommandE​dge.java (original)
+++ trunk/src/org/dbuml/​argo/uml/ui/CommandE​dge.java 2008-12-04 17:24:32-0800
@@ -5,7 +5,9 @@
 
 package org.dbuml.argo.uml.ui;
 
-public class CommandEdge extends org.argouml.ui.CmdSetMode {
+import org.argouml.uml.diag​ram.ui.ActionSetMode​;
+
+public class CommandEdge extends ActionSetMode {
     
     /**
      *
@@ -17,7 +19,7 @@
      */
     public CommandEdge(Class eClass, String eString, Class mClass, String mString, String type) {
         super(eClass, eString, mClass, mString);
- _modeArgs.put("dbtype", type);
- _modeArgs.put("unidirectional", Boolean.TRUE);
+ modeArgs.put("dbtype", type);
+ modeArgs.put("unidirectional", Boolean.TRUE);
     }
 }

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

Messages

Show all messages in topic

svn commit: r66 - trunk/src/org/dbuml/argo: model uml/ui penyaskito Christian López Espínola 2008-12-04 17:24:32 PST
Messages per page: