|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJavaScriptRefactorings
Interface for refactoring ids offered by the JDT tooling.
This interface provides refactoring ids for refactorings offered by the JDT
tooling. Refactoring instances corresponding to such an id may be
instantiated by the refactoring framework using
org.eclipse.ltk.core.refactoring.RefactoringCore#getRefactoringContribution(String)
. The resulting
refactoring instance may be executed on the workspace with a
org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
.
Clients may obtain customizable refactoring descriptors for a certain
refactoring by calling
org.eclipse.ltk.core.refactoring.RefactoringCore#getRefactoringContribution(String)
with the
appropriate refactoring id and then calling
org.eclipse.ltk.core.refactoring.RefactoringContribution#createDescriptor()
to obtain a customizable
refactoring descriptor. The concrete subtype of refactoring descriptors is
dependent from the id
argument.
Note: this interface is not intended to be implemented by clients.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Field Summary | |
---|---|
static java.lang.String |
CHANGE_METHOD_SIGNATURE
Refactoring id of the 'Change Method Signature' refactoring (value: org.eclipse.wst.jsdt.ui.change.method.signature ). |
static java.lang.String |
CONVERT_ANONYMOUS
Refactoring id of the 'Convert Anonymous To Nested' refactoring (value: org.eclipse.wst.jsdt.ui.convert.anonymous ). |
static java.lang.String |
CONVERT_LOCAL_VARIABLE
Refactoring id of the 'Convert Local Variable to Field' refactoring (value: org.eclipse.wst.jsdt.ui.promote.temp ). |
static java.lang.String |
CONVERT_MEMBER_TYPE
Refactoring id of the 'Convert Member Type to Top Level' refactoring (value: org.eclipse.wst.jsdt.ui.move.inner ). |
static java.lang.String |
COPY
Refactoring id of the 'Copy' refactoring (value: org.eclipse.wst.jsdt.ui.copy ). |
static java.lang.String |
DELETE
Refactoring id of the 'Delete' refactoring (value: org.eclipse.wst.jsdt.ui.delete ). |
static java.lang.String |
ENCAPSULATE_FIELD
Refactoring id of the 'Encapsulate Field' refactoring (value: org.eclipse.wst.jsdt.ui.self.encapsulate ). |
static java.lang.String |
EXTRACT_CONSTANT
Refactoring id of the 'Extract Constant' refactoring (value: org.eclipse.wst.jsdt.ui.extract.constant ). |
static java.lang.String |
EXTRACT_INTERFACE
Refactoring id of the 'Extract Interface' refactoring (value: org.eclipse.wst.jsdt.ui.extract.interface ). |
static java.lang.String |
EXTRACT_LOCAL_VARIABLE
Refactoring id of the 'Extract Local Variable' refactoring (value: org.eclipse.wst.jsdt.ui.extract.temp ). |
static java.lang.String |
EXTRACT_METHOD
Refactoring id of the 'Extract Method' refactoring (value: org.eclipse.wst.jsdt.ui.extract.method ). |
static java.lang.String |
EXTRACT_SUPERCLASS
Refactoring id of the 'Extract Superclass' refactoring (value: org.eclipse.wst.jsdt.ui.extract.superclass ). |
static java.lang.String |
GENERALIZE_TYPE
Refactoring id of the 'Generalize Declared Type' refactoring (value: org.eclipse.wst.jsdt.ui.change.type ). |
static java.lang.String |
INFER_TYPE_ARGUMENTS
Refactoring id of the 'Infer Type Arguments' refactoring (value: org.eclipse.wst.jsdt.ui.infer.typearguments ). |
static java.lang.String |
INLINE_CONSTANT
Refactoring id of the 'Inline Constant' refactoring (value: org.eclipse.wst.jsdt.ui.inline.constant ). |
static java.lang.String |
INLINE_LOCAL_VARIABLE
Refactoring id of the 'Inline Local Variable' refactoring (value: org.eclipse.wst.jsdt.ui.inline.temp ). |
static java.lang.String |
INLINE_METHOD
Refactoring id of the 'Inline Method' refactoring (value: org.eclipse.wst.jsdt.ui.inline.method ). |
static java.lang.String |
INTRODUCE_FACTORY
Refactoring id of the 'Introduce Factory' refactoring (value: org.eclipse.wst.jsdt.ui.introduce.factory ). |
static java.lang.String |
INTRODUCE_INDIRECTION
Refactoring id of the 'Introduce Indirection' refactoring (value: org.eclipse.wst.jsdt.ui.introduce.indirection ). |
static java.lang.String |
INTRODUCE_PARAMETER
Refactoring id of the 'Introduce Parameter' refactoring (value: org.eclipse.wst.jsdt.ui.introduce.parameter ). |
static java.lang.String |
MOVE
Refactoring id of the 'Move' refactoring (value: org.eclipse.wst.jsdt.ui.move ). |
static java.lang.String |
MOVE_METHOD
Refactoring id of the 'Move Method' refactoring (value: org.eclipse.wst.jsdt.ui.move.method ). |
static java.lang.String |
MOVE_STATIC_MEMBERS
Refactoring id of the 'Move Static Members' refactoring (value: org.eclipse.wst.jsdt.ui.move.static ). |
static java.lang.String |
PULL_UP
Refactoring id of the 'Pull Up' refactoring (value: org.eclipse.wst.jsdt.ui.pull.up ). |
static java.lang.String |
PUSH_DOWN
Refactoring id of the 'Push Down' refactoring (value: org.eclipse.wst.jsdt.ui.push.down ). |
static java.lang.String |
RENAME_ENUM_CONSTANT
Refactoring id of the 'Rename Enum Constant' refactoring (value: org.eclipse.wst.jsdt.ui.rename.enum.constant ). |
static java.lang.String |
RENAME_FIELD
Refactoring id of the 'Rename Field' refactoring (value: org.eclipse.wst.jsdt.ui.rename.field ). |
static java.lang.String |
RENAME_JAVA_PROJECT
Refactoring id of the 'Rename Java Project' refactoring (value: org.eclipse.wst.jsdt.ui.rename.java.project ). |
static java.lang.String |
RENAME_JAVASCRIPT_UNIT
Refactoring id of the 'Rename Compilation Unit' refactoring (value: org.eclipse.wst.jsdt.ui.rename.compilationunit ). |
static java.lang.String |
RENAME_LOCAL_VARIABLE
Refactoring id of the 'Rename Local Variable' refactoring (value: org.eclipse.wst.jsdt.ui.rename.local.variable ). |
static java.lang.String |
RENAME_METHOD
Refactoring id of the 'Rename Method' refactoring (value: org.eclipse.wst.jsdt.ui.rename.method ). |
static java.lang.String |
RENAME_PACKAGE
Refactoring id of the 'Rename Package' refactoring (value: org.eclipse.wst.jsdt.ui.rename.package ). |
static java.lang.String |
RENAME_RESOURCE
Refactoring id of the 'Rename Resource' refactoring (value: org.eclipse.wst.jsdt.ui.rename.resource ). |
static java.lang.String |
RENAME_SOURCE_FOLDER
Refactoring id of the 'Rename Source Folder' refactoring (value: org.eclipse.wst.jsdt.ui.rename.source.folder ). |
static java.lang.String |
RENAME_TYPE
Refactoring id of the 'Rename Type' refactoring (value: org.eclipse.wst.jsdt.ui.rename.type ). |
static java.lang.String |
RENAME_TYPE_PARAMETER
Refactoring id of the 'Rename Type Parameter' refactoring (value: org.eclipse.wst.jsdt.ui.rename.type.parameter ). |
static java.lang.String |
USE_SUPER_TYPE
Refactoring id of the 'Use Supertype Where Possible' refactoring (value: org.eclipse.wst.jsdt.ui.use.supertype ). |
Field Detail |
---|
static final java.lang.String CHANGE_METHOD_SIGNATURE
org.eclipse.wst.jsdt.ui.change.method.signature
).
Clients may safely cast the obtained refactoring descriptor to
ChangeMethodSignatureDescriptor
.
static final java.lang.String CONVERT_ANONYMOUS
org.eclipse.wst.jsdt.ui.convert.anonymous
).
Clients may safely cast the obtained refactoring descriptor to
ConvertAnonymousDescriptor
.
static final java.lang.String CONVERT_LOCAL_VARIABLE
org.eclipse.wst.jsdt.ui.promote.temp
).
Clients may safely cast the obtained refactoring descriptor to
ConvertLocalVariableDescriptor
.
static final java.lang.String CONVERT_MEMBER_TYPE
org.eclipse.wst.jsdt.ui.move.inner
).
Clients may safely cast the obtained refactoring descriptor to
ConvertMemberTypeDescriptor
.
static final java.lang.String COPY
org.eclipse.wst.jsdt.ui.copy
).
Clients may safely cast the obtained refactoring descriptor to
CopyDescriptor
.
static final java.lang.String DELETE
org.eclipse.wst.jsdt.ui.delete
).
Clients may safely cast the obtained refactoring descriptor to
DeleteDescriptor
.
static final java.lang.String ENCAPSULATE_FIELD
org.eclipse.wst.jsdt.ui.self.encapsulate
).
Clients may safely cast the obtained refactoring descriptor to
EncapsulateFieldDescriptor
.
static final java.lang.String EXTRACT_CONSTANT
org.eclipse.wst.jsdt.ui.extract.constant
).
Clients may safely cast the obtained refactoring descriptor to
ExtractConstantDescriptor
.
static final java.lang.String EXTRACT_INTERFACE
org.eclipse.wst.jsdt.ui.extract.interface
).
Clients may safely cast the obtained refactoring descriptor to
ExtractInterfaceDescriptor
.
static final java.lang.String EXTRACT_LOCAL_VARIABLE
org.eclipse.wst.jsdt.ui.extract.temp
).
Clients may safely cast the obtained refactoring descriptor to
ExtractLocalDescriptor
.
static final java.lang.String EXTRACT_METHOD
org.eclipse.wst.jsdt.ui.extract.method
).
Clients may safely cast the obtained refactoring descriptor to
ExtractMethodDescriptor
.
static final java.lang.String EXTRACT_SUPERCLASS
org.eclipse.wst.jsdt.ui.extract.superclass
).
Clients may safely cast the obtained refactoring descriptor to
ExtractSuperclassDescriptor
.
static final java.lang.String GENERALIZE_TYPE
org.eclipse.wst.jsdt.ui.change.type
).
Clients may safely cast the obtained refactoring descriptor to
GeneralizeTypeDescriptor
.
static final java.lang.String INFER_TYPE_ARGUMENTS
org.eclipse.wst.jsdt.ui.infer.typearguments
).
Clients may safely cast the obtained refactoring descriptor to
InferTypeArgumentsDescriptor
.
static final java.lang.String INLINE_CONSTANT
org.eclipse.wst.jsdt.ui.inline.constant
).
Clients may safely cast the obtained refactoring descriptor to
InlineConstantDescriptor
.
static final java.lang.String INLINE_LOCAL_VARIABLE
org.eclipse.wst.jsdt.ui.inline.temp
).
Clients may safely cast the obtained refactoring descriptor to
InlineLocalVariableDescriptor
.
static final java.lang.String INLINE_METHOD
org.eclipse.wst.jsdt.ui.inline.method
).
Clients may safely cast the obtained refactoring descriptor to
InlineMethodDescriptor
.
static final java.lang.String INTRODUCE_FACTORY
org.eclipse.wst.jsdt.ui.introduce.factory
).
Clients may safely cast the obtained refactoring descriptor to
Iorg.eclipse.wst.jsdt.core.refactoring.descriptors.ntroduceFactoryDescriptor
.
static final java.lang.String INTRODUCE_INDIRECTION
org.eclipse.wst.jsdt.ui.introduce.indirection
).
Clients may safely cast the obtained refactoring descriptor to
IntroduceIndirectionDescriptor
.
static final java.lang.String INTRODUCE_PARAMETER
org.eclipse.wst.jsdt.ui.introduce.parameter
).
Clients may safely cast the obtained refactoring descriptor to
IntroduceParameterDescriptor
.
static final java.lang.String MOVE
org.eclipse.wst.jsdt.ui.move
).
Clients may safely cast the obtained refactoring descriptor to
MoveDescriptor
.
static final java.lang.String MOVE_METHOD
org.eclipse.wst.jsdt.ui.move.method
).
Clients may safely cast the obtained refactoring descriptor to
MoveMethodDescriptor
.
static final java.lang.String MOVE_STATIC_MEMBERS
org.eclipse.wst.jsdt.ui.move.static
).
Clients may safely cast the obtained refactoring descriptor to
MoveStaticMembersDescriptor
.
static final java.lang.String PULL_UP
org.eclipse.wst.jsdt.ui.pull.up
).
Clients may safely cast the obtained refactoring descriptor to
PullUpDescriptor
.
static final java.lang.String PUSH_DOWN
org.eclipse.wst.jsdt.ui.push.down
).
Clients may safely cast the obtained refactoring descriptor to
PushDownDescriptor
.
static final java.lang.String RENAME_JAVASCRIPT_UNIT
org.eclipse.wst.jsdt.ui.rename.compilationunit
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_ENUM_CONSTANT
org.eclipse.wst.jsdt.ui.rename.enum.constant
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_FIELD
org.eclipse.wst.jsdt.ui.rename.field
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_JAVA_PROJECT
org.eclipse.wst.jsdt.ui.rename.java.project
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_LOCAL_VARIABLE
org.eclipse.wst.jsdt.ui.rename.local.variable
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_METHOD
org.eclipse.wst.jsdt.ui.rename.method
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_PACKAGE
org.eclipse.wst.jsdt.ui.rename.package
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_RESOURCE
org.eclipse.wst.jsdt.ui.rename.resource
).
Clients may safely cast the obtained refactoring descriptor to
RenameResourceDescriptor
.
static final java.lang.String RENAME_SOURCE_FOLDER
org.eclipse.wst.jsdt.ui.rename.source.folder
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_TYPE
org.eclipse.wst.jsdt.ui.rename.type
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String RENAME_TYPE_PARAMETER
org.eclipse.wst.jsdt.ui.rename.type.parameter
).
Clients may safely cast the obtained refactoring descriptor to
RenameJavaScriptElementDescriptor
.
static final java.lang.String USE_SUPER_TYPE
org.eclipse.wst.jsdt.ui.use.supertype
).
Clients may safely cast the obtained refactoring descriptor to
UseSupertypeDescriptor
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |