|
org.netbeans.modules.refactoring.api 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.refactoring.api.ui.RefactoringActionsFactory
public final class RefactoringActionsFactory
Factory class providing instances of refactoring actions.
Usage:
Lookup l = Lookups.singleton(node); Action a = RefactoringActionsFactory.renameAction().createContextAwareInstance(l); a.actionPerformed(RefactoringActionsFactory.DEFAULT_EVENT);For help on creating and registering actions See Refactoring FAQ
| Field Summary | |
|---|---|
static ActionEvent |
DEFAULT_EVENT
defualt event for actionPerformed |
| Method Summary | |
|---|---|
static ContextAwareAction |
copyAction()
Factory method for CopyAction |
static Action |
editorSubmenuAction()
Factory method for RSMEditorAction |
static ContextAwareAction |
moveAction()
Factory method for MoveAction |
static ContextAwareAction |
popupSubmenuAction()
Factory method for RSMDataObjectAction |
static ContextAwareAction |
renameAction()
Factory method for rename action |
static ContextAwareAction |
safeDeleteAction()
Factory method for SafeDeleteAction |
static ContextAwareAction |
whereUsedAction()
Factory method for WhereUsedAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ActionEvent DEFAULT_EVENT
| Method Detail |
|---|
public static ContextAwareAction renameAction()
public static ContextAwareAction moveAction()
public static ContextAwareAction safeDeleteAction()
public static ContextAwareAction copyAction()
public static ContextAwareAction whereUsedAction()
public static Action editorSubmenuAction()
public static ContextAwareAction popupSubmenuAction()
|
org.netbeans.modules.refactoring.api 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||