org.argouml.uml.ui.foundation.core
Class UMLParameterTypeComboBoxModel

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--org.argouml.uml.ui.UMLComboBoxModel2
              |
              +--org.argouml.uml.ui.foundation.core.UMLStructuralFeatureTypeComboBoxModel
                    |
                    +--org.argouml.uml.ui.foundation.core.UMLParameterTypeComboBoxModel
All Implemented Interfaces:
javax.swing.ComboBoxModel, java.util.EventListener, javax.swing.ListModel, ru.novosoft.uml.MElementListener, java.io.Serializable

public class UMLParameterTypeComboBoxModel
extends UMLStructuralFeatureTypeComboBoxModel

Since:
Nov 2, 2002
See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
UMLParameterTypeComboBoxModel()
          Constructor for UMLParameterTypeComboBoxModel.
 
Method Summary
protected  java.lang.Object getSelectedModelElement()
          Gets the modelelement that is selected in the NSUML model.
 
Methods inherited from class org.argouml.uml.ui.foundation.core.UMLStructuralFeatureTypeComboBoxModel
buildModelList, isValidElement
 
Methods inherited from class org.argouml.uml.ui.UMLComboBoxModel2
addAll, addElement, contains, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getChangedElement, getElementAt, getIndexOf, getSelectedItem, getSize, getTarget, isValidEvent, listRoleItemSet, propertySet, recovered, removeAll, removeAllElements, removed, removeElement, roleAdded, roleRemoved, setElements, setSelectedItem, setTarget, targetChanged, targetReasserted
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

UMLParameterTypeComboBoxModel

public UMLParameterTypeComboBoxModel()
Constructor for UMLParameterTypeComboBoxModel.
Parameters:
container -  
Method Detail

getSelectedModelElement

protected java.lang.Object getSelectedModelElement()
Description copied from class: UMLComboBoxModel2
Gets the modelelement that is selected in the NSUML model. For example, say that this ComboBoxmodel contains all namespaces (as in UMLNamespaceComboBoxmodel) , this method should return the namespace that owns the target then.
Overrides:
getSelectedModelElement in class UMLStructuralFeatureTypeComboBoxModel
See Also:
UMLComboBoxModel2.getSelectedModelElement()


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook