Author: linus
Date: 2011-06-22 12:25:39-0700
New Revision: 19576
Modified:
trunk/src/argouml-app/src/org/argouml/ui/DetailsPane.java
Log:
Cleaned out a not needed deprecated function.
Modified: trunk/src/argouml-app/src/org/argouml/ui/DetailsPane.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/DetailsPane.java?view=diff&pathrev=19576&r1=19575&r2=19576
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/ui/DetailsPane.java (original)
+++ trunk/src/argouml-app/src/org/argouml/ui/DetailsPane.java 2011-06-22 12:25:39-0700
@@ -197,26 +197,7 @@
return topLevelTabbedPane;
}
- /**
- * @param p the panel to be added
- * @param atEnd true = add the panel at the end,
- * false = at the beginning
- * @deprecated by Bob Tarling in 0.29.3 use addTab(JPanel, boolean)
- */
- @Deprecated
- public void addTab(AbstractArgoJPanel p, boolean atEnd) {
- Icon icon = p.getIcon();
- String title = Translator.localize(p.getTitle());
- if (atEnd) {
- topLevelTabbedPane.addTab(title, icon, p);
- tabPanelList.add(p);
- } else {
- topLevelTabbedPane.insertTab(title, icon, p, null, 0);
- tabPanelList.add(0, p);
- }
-
- }
-
+
/**
* @param p the panel to be added
* @param atEnd true = add the panel at the end,
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2772341
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.