public class CopyAttributeRelationshipAction extends CopyAction implements MultipleObjectsAction
alwaysOn, applicationchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Modifier | Constructor and Description |
|---|---|
protected |
CopyAttributeRelationshipAction(Application application) |
| Modifier and Type | Method and Description |
|---|---|
Object |
copy(ProjectController mediator)
Detects selected objects and returns them
|
boolean |
enableForPath(ConfigurationNode object)
Returns
true if last object in the path contains a removable object. |
String |
getActionName(boolean multiple) |
JComponent |
getCurrentSelectedPanel() |
void |
setCurrentSelectedPanel(JComponent currentSelectedPanel) |
getAcceleratorKey, getActionName, getIconName, performAction, printactionPerformed, buildButton, buildCheckBoxMenu, buildMenu, createIcon, getApplication, getCurrentProject, getKey, getProjectController, isAlwaysOn, setAlwaysOn, setEnabled, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListenerequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedprotected CopyAttributeRelationshipAction(Application application)
public JComponent getCurrentSelectedPanel()
public void setCurrentSelectedPanel(JComponent currentSelectedPanel)
public String getActionName(boolean multiple)
getActionName in interface MultipleObjectsActionpublic boolean enableForPath(ConfigurationNode object)
CopyActiontrue if last object in the path contains a removable object.enableForPath in class CopyActionpublic Object copy(ProjectController mediator)
CopyActioncopy in class CopyActionCopyright © 2001–2015 Apache Cayenne. All rights reserved.