public class EditRelationAction extends AbstractRelationAction
relations
changeSupport, enabled
ACCELERATOR_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, setPrimitives
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public 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