Author: bobtarling Date: 2011-08-05 00:59:26-0700 New Revision: 19630 Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/UMLComboBox2.java trunk/src/argouml-app/src/org/argouml/uml/ui/UMLEditableComboBox.java trunk/src/argouml-app/src/org/argouml/uml/ui/UMLSearchableComboBox.java
Log: Delete or restrict access to deprecated constructors Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/UMLComboBox2.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/UMLComboBox2.java?view=diff&pathrev=19630&r1=19629&r2=19630 ============================================================================== --- trunk/src/argouml-app/src/org/argouml/uml/ui/UMLComboBox2.java (original) +++ trunk/src/argouml-app/src/org/argouml/uml/ui/UMLComboBox2.java 2011-08-05 00:59:26-0700 @@ -74,7 +74,7 @@ * @param model the ComboBoxModel */ @Deprecated - protected UMLComboBox2(UMLComboBoxModel2 model) { + UMLComboBox2(UMLComboBoxModel2 model) { super(model); setFont(LookAndFeelMgr.getInstance().getStandardFont()); addActionListener(this); @@ -101,16 +101,6 @@ addPopupMenuListener(model); } - /** - * Construct a UML Element ComboxBox which shows icons in front of each item - * - * @param arg0 the ComboBoxModel - * @param action the action - */ - public UMLComboBox2(UMLComboBoxModel2 arg0, Action action) { - this(arg0, action, true); - } - /* * @see java.awt.event.ActionListener#actionPerformed(ActionEvent) */ Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/UMLEditableComboBox.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/UMLEditableComboBox.java?view=diff&pathrev=19630&r1=19629&r2=19630 ============================================================================== --- trunk/src/argouml-app/src/org/argouml/uml/ui/UMLEditableComboBox.java (original) +++ trunk/src/argouml-app/src/org/argouml/uml/ui/UMLEditableComboBox.java 2011-08-05 00:59:26-0700 @@ -268,14 +268,6 @@ } /* - * @see org.argouml.uml.ui.UMLComboBox2#UMLComboBox2( UMLComboBoxModel2, - * Action) - */ - public UMLEditableComboBox(UMLComboBoxModel2 arg0, Action selectAction) { - this(arg0, selectAction, true); - } - - /* * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) * TODO: From ComboBox javadoc - "This method is public as an * implementation side effect. do not call or override." Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/UMLSearchableComboBox.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/UMLSearchableComboBox.java?view=diff&pathrev=19630&r1=19629&r2=19630 ============================================================================== --- trunk/src/argouml-app/src/org/argouml/uml/ui/UMLSearchableComboBox.java (original) +++ trunk/src/argouml-app/src/org/argouml/uml/ui/UMLSearchableComboBox.java 2011-08-05 00:59:26-0700 @@ -64,16 +64,6 @@ } /** - * Constructor for UMLSearchableComboBox. - * @param arg0 the model - * @param selectAction the action for selection - */ - public UMLSearchableComboBox(UMLComboBoxModel2 arg0, - Action selectAction) { - this(arg0, selectAction, true); - } - - /** * Searches amongst the modelelements (the elements in the listmodel) for an * item that conforms to the parameter item. If such an element is a * ModelElement, the name should start with the item (which is a String). ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2809628 To unsubscribe from this discussion, e-mail: [[email protected]].
