public class RemoveAttributeRelationshipAction extends RemoveAction 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 |
|---|
RemoveAttributeRelationshipAction(Application application) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enableForPath(ConfigurationNode object)
Returns
true if last object in the path contains a removable object. |
String |
getActionName(boolean multiple) |
JComponent |
getCurrentSelectedPanel() |
void |
performAction(ActionEvent e,
boolean allowAsking)
Performs delete action
|
void |
setCurrentSelectedPanel(JComponent currentSelectedPanel) |
getAcceleratorKey, getActionName, getConfirmDeleteDialog, getIconName, performAction, removeDataMap, removeDataMapFromDataNode, removeDataNode, removeDbEntity, removeEmbeddable, removeObjEntity, removeProcedure, removeQueryactionPerformed, 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 RemoveAttributeRelationshipAction(Application application)
public JComponent getCurrentSelectedPanel()
public void setCurrentSelectedPanel(JComponent currentSelectedPanel)
public String getActionName(boolean multiple)
getActionName in interface MultipleObjectsActionpublic boolean enableForPath(ConfigurationNode object)
RemoveActiontrue if last object in the path contains a removable object.enableForPath in class RemoveActionpublic void performAction(ActionEvent e, boolean allowAsking)
RemoveActionperformAction in class RemoveActionallowAsking - If false, no question will be asked no matter what settings areCopyright © 2001–2015 Apache Cayenne. All rights reserved.