public class CopyAttributeAction 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| Constructor and Description |
|---|
CopyAttributeAction(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
attribute. |
static String |
getActionName() |
String |
getActionName(boolean multiple) |
getAcceleratorKey, 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, setEnabledactionPerformedpublic CopyAttributeAction(Application application)
public static String getActionName()
public String getActionName(boolean multiple)
getActionName in interface MultipleObjectsActionpublic boolean enableForPath(ConfigurationNode object)
true if last object in the path contains a removable
attribute.enableForPath in class CopyActionpublic Object copy(ProjectController mediator)
CopyActioncopy in class CopyActionCopyright © 2001–2015 Apache Cayenne. All rights reserved.