|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
org.argouml.uml.ui.UMLComboBoxModel2
org.argouml.uml.ui.foundation.core.UMLGeneralizationPowertypeComboBoxModel
public class UMLGeneralizationPowertypeComboBoxModel
TODO: For UML 2.x, powertypes are accessed indirectly through the GeneralizationSets that contain a Generalization.
| Field Summary |
|---|
| Fields inherited from class org.argouml.uml.ui.UMLComboBoxModel2 |
|---|
buildingModel, CLEARED |
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
UMLGeneralizationPowertypeComboBoxModel()
Constructor for UMLGeneralizationPowertypeComboBoxModel. |
|
| Method Summary | |
|---|---|
protected void |
buildMinimalModelList()
Build the minimal number of items in the model for the edit box to be populated. |
protected void |
buildModelList()
Builds the list of elements and sets the selectedIndex to the currently selected item if there is one. |
protected java.lang.Object |
getSelectedModelElement()
Gets the modelelement that is selected in the UML model. |
protected boolean |
isLazy()
|
protected boolean |
isValidElement(java.lang.Object element)
Returns true if the given element is valid. |
| Methods inherited from class javax.swing.AbstractListModel |
|---|
addListDataListener, getListDataListeners, 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 |
|---|
public UMLGeneralizationPowertypeComboBoxModel()
| Method Detail |
|---|
protected java.lang.Object getSelectedModelElement()
UMLComboBoxModel2
getSelectedModelElement in class UMLComboBoxModel2protected void buildModelList()
UMLComboBoxModel2
buildModelList in class UMLComboBoxModel2protected void buildMinimalModelList()
UMLComboBoxModel2If this lazy list building is used, do call setModelInvalid() here!
buildMinimalModelList in class UMLComboBoxModel2protected boolean isLazy()
isLazy in class UMLComboBoxModel2protected boolean isValidElement(java.lang.Object element)
UMLComboBoxModel2It is valid if it may be added to the list of elements.
isValidElement in class UMLComboBoxModel2element - the given element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |