svn commit: r12675 - trunk/src_new/org/argouml: notation persistence ui ui/targetmanager uml/diagram/static_structure/layout uml/diagram/ui uml/reveng uml/reveng/java uml/ui util

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-05-26 15:16:55-0700
New Revision: 12675

Modified:
   trunk/src_new/org/argouml/notation/Notation.java
   trunk/src_new/org/argouml/persistence/MemberFilePersister.java
   trunk/src_new/org/argouml/persistence/ModelMemberFilePersister.java
   trunk/src_new/org/argouml/ui/DetailsPane.java
   trunk/src_new/org/argouml/ui/ProjectBrowser.java
   trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java
   trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramLayouter.java
   trunk/src_new/org/argouml/uml/diagram/ui/FigNodeModelElement.java
   trunk/src_new/org/argouml/uml/reveng/DiagramInterface.java
   trunk/src_new/org/argouml/uml/reveng/Import.java
   trunk/src_new/org/argouml/uml/reveng/ImportCommon.java
   trunk/src_new/org/argouml/uml/reveng/java/Modeller.java
   trunk/src_new/org/argouml/uml/ui/TabStyle.java
   trunk/src_new/org/argouml/uml/ui/UMLModelElementOrderedListModel2.java
   trunk/src_new/org/argouml/util/ConfigLoader.java

Log:
Remove pre-0.24 deprecated methods

Modified: trunk/src_new/org/argouml/notation/Notation.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/notation/Notation.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/notation/Notation.java&p2=trunk/src_new/org/argouml/notation/Notation.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/notation/Notation.java	(original)
+++ trunk/src_new/org/argouml/notation/Notation.java	2007-05-26 15:16:55-0700
@@ -183,16 +183,6 @@
 
     /**
      * Returns the Notation as set in the menu.
-     * 
-     * @return the default NotationName
-     * @deprecated by tfmorris for 0.23.4 - use {@link #getConfiguredNotation()}
-     */
-    public static NotationName getConfigueredNotation() {
-        return getConfiguredNotation();
-    }
-    
-    /**
-     * Returns the Notation as set in the menu.
      *
      * @return the default NotationName
      */

Modified: trunk/src_new/org/argouml/persistence/MemberFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/persistence/MemberFilePersister.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/persistence/MemberFilePersister.java&p2=trunk/src_new/org/argouml/persistence/MemberFilePersister.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/persistence/MemberFilePersister.java	(original)
+++ trunk/src_new/org/argouml/persistence/MemberFilePersister.java	2007-05-26 15:16:55-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 1996-2006 The Regents of the University of California. All
+// Copyright (c) 1996-2007 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -60,21 +60,6 @@
      */
     public abstract String getMainTag();
 
-    /**
-     * Save the projectmember as XML to the given writer.
-     *
-     * @param member The project member to save.
-     * @param writer The Writer to which to save the XML.
-     * @param indent The offset to which to indent the XML
-     * @throws SaveException if the save fails
-     * @deprecated in 0.23.4 by Bob Tarling use
-     *     {@link #save(ProjectMember, Writer, boolean)}
-     */
-    public void save(ProjectMember member, Writer writer, Integer indent)
-	throws SaveException {
-	
-	save(member, writer, indent != null);
-    }
 
     /**
      * Save the projectmember as XML to the given writer.

Modified: trunk/src_new/org/argouml/persistence/ModelMemberFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/persistence/ModelMemberFilePersister.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/persistence/ModelMemberFilePersister.java&p2=trunk/src_new/org/argouml/persistence/ModelMemberFilePersister.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/persistence/ModelMemberFilePersister.java	(original)
+++ trunk/src_new/org/argouml/persistence/ModelMemberFilePersister.java	2007-05-26 15:16:55-0700
@@ -325,28 +325,6 @@
         registerDiagramsInternal(project, elementsRead, true);
     }
     
-    /**
-     * Create and register diagrams for activity and statemachines in the
-     * model(s) of the project. If no other diagrams are created and atLeastOne
-     * is true, than a default Class Diagram will be created.  ArgoUML currently
-     * requires at least one diagram for proper operation.
-     *
-     * @param project
-     *            The project
-     * @param elements
-     *            Collection of top level model elements to process
-     * @param atLeastOne
-     *            If true, forces at least one diagram to be created.
-     * @deprecated in 0.23.3 by bobtarling, use registerDiagrams(Project)
-     */
-    public void registerDiagrams(Project project, Collection elements,
-            boolean atLeastOne) {
-        // TODO: This is bug compatible with the previous implementation
-        // which was ignoring the project parameter.  I'm not sure if
-        // anything depends on that behavior, plus it's going away, so 
-        // no sense changing the behavior now. - tfm
-        registerDiagramsInternal(proj, elements, atLeastOne);
-    }
 
     /**
      * Internal method create diagrams for activity graphs and state machines.

Modified: trunk/src_new/org/argouml/ui/DetailsPane.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/ui/DetailsPane.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/ui/DetailsPane.java&p2=trunk/src_new/org/argouml/ui/DetailsPane.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/ui/DetailsPane.java	(original)
+++ trunk/src_new/org/argouml/ui/DetailsPane.java	2007-05-26 15:16:55-0700
@@ -335,25 +335,6 @@
     }
 
     /**
-     * Get the JPanel of the tab with the given name.
-     *
-     * @param tabName the name of the required tab
-     * @return the tab of the given name
-     * @deprecated by Andrea Nironi (0.22 August 2006). Replaced by
-     *             {@link org.argouml.ui.DetailsPane#getTab(Class tabClass)}.
-     *             See issue 3278.
-     */
-    public JPanel getNamedTab(String tabName) {
-        for (int i = 0; i < tabPanelList.size(); i++) {
-            String title = topLevelTabbedPane.getTitleAt(i);
-            if (title != null && title.equals(tabName)) {
-                return (JPanel) topLevelTabbedPane.getComponentAt(i);
-            }
-        }
-        return null;
-    }
-
-    /**
      * Get the number of tabs.
      *
      * @return the number of tab pages

Modified: trunk/src_new/org/argouml/ui/ProjectBrowser.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/ui/ProjectBrowser.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/ui/ProjectBrowser.java&p2=trunk/src_new/org/argouml/ui/ProjectBrowser.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/ui/ProjectBrowser.java	(original)
+++ trunk/src_new/org/argouml/ui/ProjectBrowser.java	2007-05-26 15:16:55-0700
@@ -769,30 +769,6 @@
         throw new IllegalArgumentException("No such tab named " + tabName);
     }
 
-    /**
-     * Find the tabpage with the given label.
-     *
-     * @param tabName The tabpage label
-     * @return the tabpage
-     * @deprecated by Andrea Nironi (0.22 August 2006). Replaced by
-     *             {@link org.argouml.ui.ProjectBrowser#getTab(Class tabClass)}.
-     *             See issue 3278.
-     */
-    public JPanel getNamedTab(String tabName) {
-        JPanel panel;
-        Iterator it = detailsPanesByCompassPoint.values().iterator();
-        while (it.hasNext()) {
-            DetailsPane detailsPane = (DetailsPane) it.next();
-            panel = detailsPane.getNamedTab(tabName);
-            if (panel != null) {
-                return panel;
-            }
-        }
-        //TODO: I'd prefer to throw this exception here but doing Argo currently
-        //falls over - needs more investigation Bob Tarling 8 Dec 2002
-        //throw new IllegalArgumentException("No such tab named " + tabName);
-        return null;
-    }
 
     /**
      * Given a list of targets, displays the according diagram.

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=12675&p1=trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java&p2=trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java	(original)
+++ trunk/src_new/org/argouml/ui/targetmanager/TargetManager.java	2007-05-26 15:16:55-0700
@@ -820,18 +820,6 @@
         inTransaction = false;
     }
 
-    /**
-     * 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

Modified: trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramLayouter.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramLayouter.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramLayouter.java&p2=trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramLayouter.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramLayouter.java	(original)
+++ trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramLayouter.java	2007-05-26 15:16:55-0700
@@ -169,7 +169,7 @@
 
         /**
          * @return Returns the nodes.
-         * @deprecated use {@link #getNodeList()}
+         * @deprecated for 0.25.1 by tfmorris - use {@link #getNodeList()}
          */
         public Vector getNodes() {
             return new Vector(nodes);

Modified: trunk/src_new/org/argouml/uml/diagram/ui/FigNodeModelElement.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/ui/FigNodeModelElement.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/uml/diagram/ui/FigNodeModelElement.java&p2=trunk/src_new/org/argouml/uml/diagram/ui/FigNodeModelElement.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/ui/FigNodeModelElement.java	(original)
+++ trunk/src_new/org/argouml/uml/diagram/ui/FigNodeModelElement.java	2007-05-26 15:16:55-0700
@@ -298,22 +298,6 @@
     }
 
     /**
-     * Partially construct a new FigNode.  This method creates the
-     * name element that holds the name of the model element and adds
-     * itself as a listener.
-     *
-     * @param gm ignored
-     * @param node the owning UML element
-     * @deprecated in 0.23.5 not used in ArgoUML will be removed in future
-     */
-    protected FigNodeModelElement(GraphModel gm, Object node) {
-        this();
-        setOwner(node);
-        nameFig.setText(placeString());
-        readyToEdit = false;
-    }
-
-    /**
      * Construct a figure at a specific position for a given model element.
      * 
      * @param element ModelElement associated with figure
@@ -1115,19 +1099,6 @@
 
 
     /**
-     * Create a new feature in the owner fig.
-     *
-     * @param fg The fig group to which this applies
-     * @param me The input event that triggered us. In the current
-     *            implementation a mouse double click.
-     *            @deprecated in 0.12.5 use
-     *            {@link #createContainedModelElement(FigGroup, InputEvent)}
-     */
-    protected final void createFeatureIn(FigGroup fg, InputEvent me) {
-	createContainedModelElement(fg, me);
-    }
-
-    /**
      * Create a new model element contained in the fig owner.
      * Used by subclasses to, for example, create an attribute
      * within a class.

Modified: trunk/src_new/org/argouml/uml/reveng/DiagramInterface.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/reveng/DiagramInterface.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/uml/reveng/DiagramInterface.java&p2=trunk/src_new/org/argouml/uml/reveng/DiagramInterface.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/uml/reveng/DiagramInterface.java	(original)
+++ trunk/src_new/org/argouml/uml/reveng/DiagramInterface.java	2007-05-26 15:16:55-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 1996-2006 The Regents of the University of California. All
+// Copyright (c) 1996-2007 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -348,21 +348,6 @@
 
 
     /**
-     * Creates new class diagram for package or selects existing one.
-     * 
-     * @param currentPackage
-     *            The package to attach the diagram to.
-     * @param currentPackageName
-     *            The fully qualified name of the package, which is used to
-     *            generate the diagram name from.
-     * @deprecated by tfmorris for 0.23.4 - use selectClassDiagram
-     */
-    public void createOrSelectClassDiagram(Object currentPackage,
-					   String currentPackageName) {
-        selectClassDiagram(currentPackage, currentPackageName);
-    }
-
-    /**
      * Creates class diagram under the root.
      * Is used for classes out of packages.
      *

Modified: trunk/src_new/org/argouml/uml/reveng/Import.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/reveng/Import.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/uml/reveng/Import.java&p2=trunk/src_new/org/argouml/uml/reveng/Import.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/uml/reveng/Import.java	(original)
+++ trunk/src_new/org/argouml/uml/reveng/Import.java	2007-05-26 15:16:55-0700
@@ -194,12 +194,8 @@
 
     /**
      * Close dialog window.
-     *
-     * @deprecated by tfmorris for 0.23.2 - UI management is solely an internal
-     *             matter. Visibility of this will be further reduced when no
-     *             importers use FileImportSupport.
      */
-    void disposeDialog() {
+    private void disposeDialog() {
         StringBuffer flags = new StringBuffer(30);
         flags.append(isDescendSelected()).append(",");
         flags.append(isChangedOnlySelected()).append(",");
@@ -225,11 +221,10 @@
      *
      * @param importInstance the instance of the import
      * @return the panel
-     * @deprecated by tfmorris for 0.23.3 - this is an internal method
-     * and the visibility will be reduced.  Use the accessors in
+     * This is an internal method.  Use the accessors in
      * {@link ImportSettings} to determine the current settings.
      */
-    public JComponent getConfigPanel(final Import importInstance) {
+    private JComponent getConfigPanel(final Import importInstance) {
 
         final JTabbedPane tab = new JTabbedPane();
 
@@ -513,17 +508,6 @@
         return false;
     }
 
-    /**
-     * Check, if "Discend directories recursively" is selected.<p>
-     *
-     * @deprecated by tfmorris for 0.23.3, use
-     * {@link ImportSettings#isDescendSelected()}
-     * @return true, if "Discend directories recursively" is selected
-     */
-    public boolean isDiscendDirectoriesRecursively() {
-        return isDescendSelected();
-    }
-
 
     /*
      * @see org.argouml.uml.reveng.ImportCommon#isDescendSelected()
@@ -739,13 +723,6 @@
         }
 
         /**
-         * @deprecated by tfmorris for 0.23.4 - use {@link #close}
-         */
-        public void done() {
-            close();
-        }
-
-        /**
          * The UID.
          */
         private static final long serialVersionUID = -1336242911879462274L;

Modified: trunk/src_new/org/argouml/uml/reveng/ImportCommon.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/reveng/ImportCommon.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/uml/reveng/ImportCommon.java&p2=trunk/src_new/org/argouml/uml/reveng/ImportCommon.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/uml/reveng/ImportCommon.java	(original)
+++ trunk/src_new/org/argouml/uml/reveng/ImportCommon.java	2007-05-26 15:16:55-0700
@@ -124,22 +124,6 @@
      */

     public abstract int getImportLevel();

 

-    /**

-     * If we have modified any diagrams, the project was modified and

-     * should be saved. I don't consider a import, that only modifies

-     * the metamodel, at this point (Andreas Rueckert).

-     * Calling Project.setNeedsSave(true) doesn't work here, because

-     * Project.postLoad() is called after the import and it sets the

-     * needsSave flag to false.<p>

-     *

-     * @return true, if any diagrams where modified and the project

-     * should be saved before exit.

-     * @deprecated by tfmorris for 0.23.2 - use standard project

-     * "save needed" mechanisms

-     */

-    public boolean needsSave() {

-        return (diagramInterface.getModifiedDiagrams().size() > 0);

-    }

 

     /*

      * @see org.argouml.uml.reveng.ImportSettings#getDiagramInterface()


Modified: trunk/src_new/org/argouml/uml/reveng/java/Modeller.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/reveng/java/Modeller.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/uml/reveng/java/Modeller.java&p2=trunk/src_new/org/argouml/uml/reveng/java/Modeller.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/uml/reveng/java/Modeller.java	(original)
+++ trunk/src_new/org/argouml/uml/reveng/java/Modeller.java	2007-05-26 15:16:55-0700
@@ -55,7 +55,7 @@
  */
 public class Modeller {
 
-    private final static String JAVA_PACKAGE = "java.lang";
+    private static final String JAVA_PACKAGE = "java.lang";
     
     /**
      * Logger.<p>
@@ -136,45 +136,6 @@
      */
     private Collection newElements;
     
-    /**
-     * Create a new modeller which will do diagram creation.
-     * 
-     * @param m
-     *            The model to work with.
-     * @param diag
-     *            the interface to the diagram to add nodes and edges to
-     * @param imp
-     *            The current Import session.
-     * @param noAss
-     *            whether associations are modelled as attributes
-     * @param arraysAsDT
-     *            whether arrays are modelled as dataypes
-     * @param fName
-     *            the current file name
-     * @deprecated for 0.23.4 by tfmorris - use variant without diagram
-     *             interface
-     *      {@link #Modeller(Object, ImportCommon, boolean, boolean, String)}.
-     *             NOTE: This really is private to the Java RE module, but it
-     *             has also been used by other bundled importers, so it's
-     *             possible it was used by others outside the project as well.
-     */
-    public Modeller(Object m,
-		    DiagramInterface diag,
-		    ImportCommon imp,
-		    boolean noAss,
-		    boolean arraysAsDT,
-		    String fName) {
-	model = m;
-	noAssociations = noAss;
-	arraysAsDatatype = arraysAsDT;
-	importSession = imp;
-	currentPackage = this.model;
-	parseState = new ParseState(this.model, getPackage(JAVA_PACKAGE));
-	parseStateStack = new Stack();
-	diagram = diag;
-        fileName = fName;
-        newElements = new ArrayList();
-    }
 
     /**
      * Create a new modeller.
@@ -185,8 +146,14 @@
      */
     public Modeller(Object theModel, ImportSettings settings, 
             String theFileName) {
-        this(theModel, null, null, settings.isAttributeSelected(), settings
-                .isDatatypeSelected(), theFileName);
+        model = theModel;
+        noAssociations = settings.isAttributeSelected();
+        arraysAsDatatype = settings.isDatatypeSelected();
+        currentPackage = this.model;
+        parseState = new ParseState(this.model, getPackage(JAVA_PACKAGE));
+        parseStateStack = new Stack();
+        fileName = theFileName;
+        newElements = new ArrayList();
     }
     
     /**

Modified: trunk/src_new/org/argouml/uml/ui/TabStyle.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/TabStyle.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/uml/ui/TabStyle.java&p2=trunk/src_new/org/argouml/uml/ui/TabStyle.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/TabStyle.java	(original)
+++ trunk/src_new/org/argouml/uml/ui/TabStyle.java	2007-05-26 15:16:55-0700
@@ -138,13 +138,6 @@
     }
 
     /**
-     * Initialize the hashtable of pre lookup panels.
-     * @deprecated for 0.24 by tfmorris - noop - remove any references
-     */
-    protected void initPanels() {
-    }
-
-    /**
      * Adds a style panel to the internal list. This allows a plugin to add and
      * register a new style panel at run-time. This property style will then be
      * displayed in the details pane whenever an element of the given metaclass

Modified: trunk/src_new/org/argouml/uml/ui/UMLModelElementOrderedListModel2.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/UMLModelElementOrderedListModel2.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/uml/ui/UMLModelElementOrderedListModel2.java&p2=trunk/src_new/org/argouml/uml/ui/UMLModelElementOrderedListModel2.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/UMLModelElementOrderedListModel2.java	(original)
+++ trunk/src_new/org/argouml/uml/ui/UMLModelElementOrderedListModel2.java	2007-05-26 15:16:55-0700
@@ -48,14 +48,6 @@
 
     /**
      * The constructor.
-     * @deprecated by Bob in 0.23.4. Use constructor specifying a name.
-     */
-    public UMLModelElementOrderedListModel2() {
-        super();
-    }
-
-    /**
-     * The constructor.
      *
      * @param name the name
      */
@@ -89,6 +81,7 @@
      * @see org.argouml.uml.ui.UMLModelElementListModel2#buildPopup(
      * javax.swing.JPopupMenu, int)
      */
+    @Override
     public boolean buildPopup(JPopupMenu popup, int index) {
         JMenuItem moveUp =
 	    new JMenuItem(
@@ -126,6 +119,7 @@
     /*
      * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
      */
+    @Override
     public void actionPerformed(ActionEvent e) {
         super.actionPerformed(e);
         model.moveDown(index - 1);
@@ -134,6 +128,7 @@
     /*
      * @see javax.swing.Action#isEnabled()
      */
+    @Override
     public boolean isEnabled() {
         return index > 0;
     }
@@ -161,6 +156,7 @@
     /*
      * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
      */
+    @Override
     public void actionPerformed(ActionEvent e) {
         super.actionPerformed(e);
         model.moveDown(index);
@@ -169,6 +165,7 @@
     /*
      * @see javax.swing.Action#isEnabled()
      */
+    @Override
     public boolean isEnabled() {
         return model.getSize() > index + 1;
     }

Modified: trunk/src_new/org/argouml/util/ConfigLoader.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/util/ConfigLoader.java?view=diff&rev=12675&p1=trunk/src_new/org/argouml/util/ConfigLoader.java&p2=trunk/src_new/org/argouml/util/ConfigLoader.java&r1=12674&r2=12675
==============================================================================
--- trunk/src_new/org/argouml/util/ConfigLoader.java	(original)
+++ trunk/src_new/org/argouml/util/ConfigLoader.java	2007-05-26 15:16:55-0700
@@ -65,20 +65,6 @@
 
     /**
      * Load the tab panels as defined in the configuration file.
-     *
-     * @param tabs the list of tabs in the panel
-     * @param panelName the panel name
-     * @param orientation the orientation
-     * @deprecated for 0.24 by tfmorris, 
-     *          use {@link #loadTabs(List, String, Orientation)}
-     */
-    public static void loadTabs(Vector tabs, String panelName,
-            Orientation orientation) {
-        loadTabs((List) tabs, panelName, orientation);
-    }
-    
-    /**
-     * Load the tab panels as defined in the configuration file.
      * 
      * @param tabs
      *            the list of tabs in the panel
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.