org.netbeans.jellytools.actions
Class DeleteAction
java.lang.Object
org.netbeans.jellytools.actions.Action
org.netbeans.jellytools.actions.ActionNoBlock
org.netbeans.jellytools.actions.DeleteAction
public class DeleteAction
- extends ActionNoBlock
Used to call "Delete" popup menu item, "Edit|Delete" main menu item,
"org.openide.actions.DeleteAction" or Delete shortcut.
- See Also:
Action,
ActionNoBlock
| Fields inherited from class org.netbeans.jellytools.actions.Action |
AFTER_ACTION_WAIT_TIME, API_MODE, keystrokes, layerInstancePath, MENU_MODE, menuPath, POPUP_MODE, popupPath, SELECTION_WAIT_TIME, SHORTCUT_MODE, systemActionClass, WAIT_AFTER_SHORTCUT_TIMEOUT |
|
Constructor Summary |
DeleteAction()
creates new DeleteAction instance |
|
Method Summary |
static void |
confirmDeletion()
Waits for confirmation dialog and approves deletion of object. |
| Methods inherited from class org.netbeans.jellytools.actions.Action |
getComparator, getDefaultMode, getKeyStrokes, getMenuPath, getPopupPath, getSystemActionClass, isEnabled, isEnabled, isEnabled, isEnabled, perform, perform, perform, perform, perform, performAPI, performAPI, performAPI, performAPI, performMenu, performMenu, performMenu, performMenu, performPopup, performPopup, performShortcut, performShortcut, performShortcut, performShortcut, setComparator, setDefaultMode, testNodes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteAction
public DeleteAction()
- creates new DeleteAction instance
confirmDeletion
public static void confirmDeletion()
- Waits for confirmation dialog and approves deletion of object. It handles
both Confirm Object Deletion dialog and Delete dialog with refactoring.