public class DuplicateRelationAction 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 |
|---|
DuplicateRelationAction()
Constructs a new
DuplicateRelationAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
static void |
duplicateRelationAndLaunchEditor(Relation original)
Duplicates the given relation and launches the relation editor for the created copy.
|
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 DuplicateRelationAction()
DuplicateRelationAction.public static void duplicateRelationAndLaunchEditor(Relation original)
original - The relation to duplicatepublic void actionPerformed(ActionEvent e)
protected void updateEnabledState()
updateEnabledState in class AbstractRelationAction