svn commit: r13793 - trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-11-19 15:12:55-0800
New Revision: 13793
Modified:
trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java
Log:
Restore recently deprecated methods so module writers can tell what the heck happened to them and modify their code.
Modified: trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java?view=diff&rev=13793&p1=trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java&p2=trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java&r1=13792&r2=13793
==============================================================================
--- trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java (original)
+++ trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java 2007-11-19 15:12:55-0800
@@ -38,6 +38,8 @@
import javax.management.Notification;
import javax.management.NotificationEmitter;
import javax.management.NotificationListener;
+import javax.swing.AbstractAction;
+import javax.swing.Action;
import javax.swing.event.EventListenerList;
import org.apache.log4j.Logger;
@@ -825,6 +827,71 @@
inTransaction = false;
}
+ /**
+ * Get the Action for creating and adding a new attribute to the single
+ * selected target (or its owner).
+ *
+ * @deprecated in 0.25.3 by Bob Tarling Use the
+ * {@link org.argouml.uml.ui.foundation.core.ActionAddAttribute}
+ * constructor instead.
+ * @return null
+ */
+ @Deprecated
+ public Action getAddAttributeAction() {
+ return null;
+ }
+
+ /**
+ * Get the Action for creating and adding a new operation to the single
+ * selected target (or its owner).
+ *
+ * @deprecated in 0.25.3 by Bob Tarling. Instantiate the action
+ * {@link org.argouml.uml.ui.foundation.core.ActionAddOperation}
+ * directly instead.
+ * @return null
+ */
+ @Deprecated
+ public Action getAddOperationAction() {
+ return null;
+ }
+
+ /**
+ * Get the Action for creating and adding a new operation to the single
+ * selected target (or its owner).
+ *
+ * @deprecated in 0.25.3 by Michiel. Instantiate the AddMessageAction
+ * directly instead.
+ * @return null
+ */
+ @Deprecated
+ public Action getAddMessageAction() {
+ return null;
+ }
+
+ /**
+ * Get the Action for deleting the target list.
+ *
+ * @deprecated in 0.25.3 by Michiel. Instantiate the AddMessageAction
+ * directly instead.
+ * @return null
+ */
+ @Deprecated
+ public AbstractAction getDeleteAction() {
+ return null;
+ }
+
+ /**
+ * Get the Action class for creating and adding a new EnumerationLiteral for
+ * the single selected target (or its owner).
+ *
+ * @deprecated by tfmorris for 0.25.3 - use
+ * new {@link org.argouml.uml.ui.foundation.core.ActionAddEnumerationLiteral}()
+ * - This was only introduced in 0.24, so it can be removed quickly.
+ * @return null
+ */
+ public Action getAddEnumerationLiteralAction() {
+ return null;
+ }
/**
* Convenience method to return the target as fig. If the current