public class EditRelationAction extends AbstractRelationAction
relationschangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
EditRelationAction()
Constructs a new
EditRelationAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
static Set<RelationMember> |
getMembersForCurrentSelection(Relation r)
Returns the set of currently selected relation members for the given relation.
|
static void |
launchEditor(Relation toEdit)
Launches relation editor for the given relation.
|
protected void |
updateEnabledState() |
getRelations, setPrimitivesaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic EditRelationAction()
EditRelationAction.public static Set<RelationMember> getMembersForCurrentSelection(Relation r)
r - The relation to inspectpublic static void launchEditor(Relation toEdit)
toEdit - The relation to editpublic void actionPerformed(ActionEvent e)
protected void updateEnabledState()
updateEnabledState in class AbstractRelationAction