org.argouml.uml.ui.behavior.collaborations
Class UMLClassifierRoleAvailableFeaturesListModel
java.lang.Object
javax.swing.AbstractListModel
javax.swing.DefaultListModel
org.argouml.uml.ui.UMLModelElementListModel2
org.argouml.uml.ui.behavior.collaborations.UMLClassifierRoleAvailableFeaturesListModel
- All Implemented Interfaces:
- EventListener, ListModel, ru.novosoft.uml.MElementListener, Serializable, TargetListener
- public class UMLClassifierRoleAvailableFeaturesListModel
- extends UMLModelElementListModel2
- Since:
- Oct 4, 2002
- See Also:
- Serialized Form
Method Summary |
protected void |
buildModelList()
Builds the list of elements. |
protected boolean |
isValidElement(Object element)
Returns true if the given element is valid, i.e. |
void |
roleAdded(ru.novosoft.uml.MElementEvent e)
TODO: Why this function that the other models do not need? |
void |
roleRemoved(ru.novosoft.uml.MElementEvent e)
TODO: Why this function that the other models do not need? |
void |
setTarget(Object target)
TODO: Why this function that the other models do not need? |
Methods inherited from class org.argouml.uml.ui.UMLModelElementListModel2 |
addAll, addElement, buildPopup, contains, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getChangedElement, getTarget, isValidEvent, listRoleItemSet, propertySet, recovered, removed, setAllElements, setBuildingModel, setEventName, setListTarget, targetAdded, targetRemoved, targetSet |
Methods inherited from class javax.swing.DefaultListModel |
add, capacity, clear, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize |
UMLClassifierRoleAvailableFeaturesListModel
public UMLClassifierRoleAvailableFeaturesListModel()
- Constructor for UMLClassifierRoleAvailableFeaturesListModel.
buildModelList
protected void buildModelList()
- Description copied from class:
UMLModelElementListModel2
- Builds the list of elements. Called from targetChanged every time the
target of the proppanel is changed.
- Specified by:
buildModelList
in class UMLModelElementListModel2
- See Also:
UMLModelElementListModel2.buildModelList()
roleAdded
public void roleAdded(ru.novosoft.uml.MElementEvent e)
- TODO: Why this function that the other models do not need?
- Specified by:
roleAdded
in interface ru.novosoft.uml.MElementListener
- Overrides:
roleAdded
in class UMLModelElementListModel2
- See Also:
MElementListener.roleAdded(ru.novosoft.uml.MElementEvent)
setTarget
public void setTarget(Object target)
- TODO: Why this function that the other models do not need?
- Overrides:
setTarget
in class UMLModelElementListModel2
- Parameters:
target
- the new target- See Also:
UMLModelElementListModel2.setTarget(java.lang.Object)
isValidElement
protected boolean isValidElement(Object element)
- Description copied from class:
UMLModelElementListModel2
- Returns true if the given element is valid, i.e. it may be added to the
list of elements.
- Specified by:
isValidElement
in class UMLModelElementListModel2
- Parameters:
element
- the element to be tested
- Returns:
- true if valid
- See Also:
UMLModelElementListModel2.isValidElement(Object)
roleRemoved
public void roleRemoved(ru.novosoft.uml.MElementEvent e)
- TODO: Why this function that the other models do not need?
- Specified by:
roleRemoved
in interface ru.novosoft.uml.MElementListener
- Overrides:
roleRemoved
in class UMLModelElementListModel2
- See Also:
MElementListener.roleRemoved(ru.novosoft.uml.MElementEvent)