public class SelectRelationAction extends AbstractRelationAction
Modifier and Type | Field and Description |
---|---|
private boolean |
add |
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 |
---|
SelectRelationAction(boolean add)
Constructs a new
SelectRelationAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
getRelations, setPrimitives, updateEnabledState
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
private final boolean add
public SelectRelationAction(boolean add)
SelectRelationAction
.add
- if true
, the relation will be added to current selection. If false
, the relation will replace the current selection.public void actionPerformed(ActionEvent e)