svn commit: r17995 - trunk/src/argouml-app/src/org/argouml/application/api/AbstractArgoJPanel.java

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2010-02-13 09:44:28-0800
New Revision: 17995

Modified:
   trunk/src/argouml-app/src/org/argouml/application/api/AbstractArgoJPanel.java

Log:
Delete some commented out code we should never consider reintroducing (class should not of their descendants)

Modified: trunk/src/argouml-app/src/org/argouml/application/api/AbstractArgoJPanel.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/application/api/AbstractArgoJPanel.java?view=diff&pathrev=17995&r1=17994&r2=17995
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/application/api/AbstractArgoJPanel.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/application/api/AbstractArgoJPanel.java	2010-02-13 09:44:28-0800
@@ -218,20 +218,6 @@
 	    return null; //failed to clone
 	}
 
-//        if (newPanel instanceof TabToDo) {
-//            TabToDo me = (TabToDo) this;
-//            TabToDo it = (TabToDo) newPanel;
-//            it.setTarget(me.getTarget());
-//        } else if (newPanel instanceof TabModelTarget) {
-//            TabModelTarget me = (TabModelTarget) this;
-//            TabModelTarget it = (TabModelTarget) newPanel;
-//            it.setTarget(me.getTarget());
-//        } else if (newPanel instanceof TabDiagram) {
-//            TabDiagram me = (TabDiagram) this;
-//            TabDiagram it = (TabDiagram) newPanel;
-//            it.setTarget(me.getTarget());
-//        }
-
         // TODO: Once we have fixed all subclasses the title will
         // always be localized so this localization can be removed.
         newPanel.setTitle(Translator.localize(title));

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

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.