public class EditRelationAction extends AbstractRelationAction
relations| Constructor and Description |
|---|
EditRelationAction()
Constructs a new
EditRelationAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
static java.util.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()
Override in subclasses to update the enabled state of the action when something changes.
|
canDownload, canModify, getRelations, setHelpId, setPrimitivesaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic EditRelationAction()
EditRelationAction.public static java.util.Set<RelationMember> getMembersForCurrentSelection(Relation r)
r - The relation to inspectpublic static void launchEditor(Relation toEdit)
toEdit - The relation to editpublic void actionPerformed(java.awt.event.ActionEvent e)
protected void updateEnabledState()
AbstractRelationActionupdateEnabledState in class AbstractRelationAction