public final class RefactoringActionsFactory extends Object
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
Modifier and Type | Field and Description |
---|---|
static ActionEvent |
DEFAULT_EVENT
defualt event for actionPerformed
|
Modifier and Type | Method and Description |
---|---|
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
|
public static final ActionEvent DEFAULT_EVENT
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()