svn commit: r16296 - trunk/src/argouml-app/src/org/argouml/uml/ui/UMLRadioButtonPanel.java

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-12-07 13:14:43-0800
New Revision: 16296

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/ui/UMLRadioButtonPanel.java

Log:
Remove deprecated constructors

Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/UMLRadioButtonPanel.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/UMLRadioButtonPanel.java?view=diff&pathrev=16296&r1=16295&r2=16296
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/UMLRadioButtonPanel.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/UMLRadioButtonPanel.java	2008-12-07 13:14:43-0800
@@ -145,39 +145,7 @@
              thePropertySetName, setAction, horizontal);
     }
     
-    /**
-     * Constructs a new UMLRadioButtonPanel.
-     * 
-     * @param isDoubleBuffered See {@link JPanel}.
-     * @param title
-     *            The title of the titledborder around the buttons. If the title
-     *            is null, there is no border shown.
-     * @param labeltextsActioncommands
-     *            A map of keys containing the texts for the buttons and values
-     *            containing the actioncommand that permits the setAction to
-     *            logically recognize the button.
-     * @param thePropertySetName
-     *            the name of the MEvent that is fired when the property that it
-     *            shows changes value.
-     * @param setAction
-     *            the action that should be registered with the buttons and
-     *            that's executed when one of the buttons is pressed.
-     * @param horizontal
-     *            when true the buttons should be laid out horizontally.
-     * @deprecated for 0.25.4 by tfmorris. Use List<String[]> form of
-     *             constructor.
-     */
-    @Deprecated
-    public UMLRadioButtonPanel(
-			       boolean isDoubleBuffered,
-			       String title,
-			       Map<String, String> labeltextsActioncommands,
-			       String thePropertySetName,
-			       Action setAction,
-			       boolean horizontal) {
-        this(isDoubleBuffered, title, toList(labeltextsActioncommands),
-                thePropertySetName, setAction, horizontal);
-    }
+
 
     private static List<String[]> toList(Map<String, String> map) {
         List<String[]> list = new ArrayList<String[]>();
@@ -187,39 +155,6 @@
         return list;
     }
 
-    /**
-     * Constructs a new UMLRadioButtonPanel.
-     * 
-     * @param title
-     *            The title of the titledborder around the buttons.
-     * @param labeltextsActioncommands
-     *            A map of keys containing the texts for the buttons and values
-     *            containing the actioncommand that permits the setAction to
-     *            logically recognize the button.
-     * @param thePropertySetName
-     *            the name of the MEvent that is fired when the property that is
-     *            given changes value.
-     * @param setAction
-     *            the action that should be registered with the buttons and
-     *            that's executed when one of the buttons is pressed
-     * @param horizontal
-     *            when true the buttons should be laid out horizontally.
-     * @deprecated for 0.25.4 by tfmorris. Use List<String[]> form of
-     *             constructor. See
-     *             {@link org.argouml.uml.ui.foundation.core.UMLParameterDirectionKindRadioButtonPanel}
-     *             for an
-     *             example of a subclass which has been converted to the new
-     *             form of constructor.
-     */
-    @Deprecated
-    public UMLRadioButtonPanel(String title,
-			       Map<String, String> labeltextsActioncommands,
-			       String thePropertySetName,
-			       Action setAction,
-			       boolean horizontal) {
-        this(true, title, labeltextsActioncommands,
-	     thePropertySetName, setAction, horizontal);
-    }
 
     /**
      * Construct the buttons and place them in the panel as well as the button

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

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.