public class DuplicateRelationAction extends AbstractRelationAction
relations
Constructor and Description |
---|
DuplicateRelationAction()
Constructs a new
DuplicateRelationAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
static void |
duplicateRelationAndLaunchEditor(Relation original)
Duplicates the given relation and launches the relation editor for the created copy.
|
protected void |
updateEnabledState() |
getRelations, setPrimitives
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public DuplicateRelationAction()
DuplicateRelationAction
.public static void duplicateRelationAndLaunchEditor(Relation original)
original
- The relation to duplicatepublic void actionPerformed(java.awt.event.ActionEvent e)
protected void updateEnabledState()
updateEnabledState
in class AbstractRelationAction