public final class JavaRefactoringActionsFactory extends Object
Usage:
InstanceContent ic = new InstanceContent(); ic.add(node); Lookup l = new AbstractLookup(ic); Action a = RefactoringActionsFactory.encapsulateFieldsAction().createContextAwareInstance(l); a.actionPerformed(RefactoringActionsFactory.DEFAULT_EVENT);For help on creating and registering actions See Refactoring FAQ
Modifier and Type | Method and Description |
---|---|
static ContextAwareAction |
changeParametersAction()
Factory method for ChangeParametersAction
|
static ContextAwareAction |
encapsulateFieldsAction()
Factory method for EncapsulateFieldsAction
|
static ContextAwareAction |
extractInterfaceAction()
Factory method for ExtractInterfaceAction
|
static ContextAwareAction |
extractSuperclassAction()
Factory method for ExtractSuperclassAction
|
static ContextAwareAction |
inlineAction()
Factory method for InlineAction
|
static ContextAwareAction |
innerToOuterAction()
Factory method for InnerToOuterAction
|
static ContextAwareAction |
introduceLocalExtensionAction() |
static ContextAwareAction |
introduceParameterAction()
Factory method for IntroduceParameterAction
|
static ContextAwareAction |
pullUpAction()
Factory method for PullUpAction
|
static ContextAwareAction |
pushDownAction()
Factory method for PushDownAction
|
static ContextAwareAction |
useSuperTypeAction()
Factory method for UseSuperTypeAction
|
public static ContextAwareAction inlineAction()
public static ContextAwareAction encapsulateFieldsAction()
public static ContextAwareAction changeParametersAction()
public static ContextAwareAction pullUpAction()
public static ContextAwareAction pushDownAction()
public static ContextAwareAction innerToOuterAction()
public static ContextAwareAction useSuperTypeAction()
public static ContextAwareAction extractSuperclassAction()
public static ContextAwareAction extractInterfaceAction()
public static ContextAwareAction introduceParameterAction()
public static ContextAwareAction introduceLocalExtensionAction()