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() |
getRelations, setPrimitives
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public 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()
updateEnabledState
in class AbstractRelationAction