org.eclipse.wst.jsdt.ui.refactoring
Interface IRefactoringProcessorIds


public interface IRefactoringProcessorIds

Interface to define the processor IDs provided by the JDT refactoring.

This interface declares static final fields only; it is not intended to be implemented.

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 COPY_PROCESSOR
          Processor ID of the copy processor (value "org.eclipse.wst.jsdt.ui.CopyProcessor").
static java.lang.String DELETE_PROCESSOR
          Processor ID of the delete resource processor (value "org.eclipse.wst.jsdt.ui.DeleteProcessor").
static java.lang.String MOVE_PROCESSOR
          Processor ID of the move resource processor (value "org.eclipse.wst.jsdt.ui.MoveProcessor").
static java.lang.String MOVE_STATIC_MEMBERS_PROCESSOR
          Processor ID of the move static member processor (value "org.eclipse.wst.jsdt.ui.MoveStaticMemberProcessor").
static java.lang.String RENAME_COMPILATION_UNIT_PROCESSOR
          Processor ID of the rename compilation unit processor (value "org.eclipse.wst.jsdt.ui.renameCompilationUnitProcessor").
static java.lang.String RENAME_FIELD_PROCESSOR
          Processor ID of the rename field processor (value "org.eclipse.wst.jsdt.ui.renameFieldProcessor").
static java.lang.String RENAME_JAVA_PROJECT_PROCESSOR
          Processor ID of the rename JavaScript project processor (value "org.eclipse.wst.jsdt.ui.renameJavaProjectProcessor").
static java.lang.String RENAME_METHOD_PROCESSOR
          Processor ID of the rename method processor (value "org.eclipse.wst.jsdt.ui.renameMethodProcessor").
static java.lang.String RENAME_PACKAGE_FRAGMENT_PROCESSOR
          Processor ID of the rename package fragment processor (value "org.eclipse.wst.jsdt.ui.renamePackageProcessor").
static java.lang.String RENAME_RESOURCE_PROCESSOR
          Processor ID of the rename resource processor (value "org.eclipse.wst.jsdt.ui.renameResourceProcessor").
static java.lang.String RENAME_SOURCE_FOLDER_PROCESSOR
          Processor ID of the rename source folder (value "org.eclipse.wst.jsdt.ui.renameSourceFolderProcessor").
static java.lang.String RENAME_TYPE_PROCESSOR
          Processor ID of the rename type processor (value "org.eclipse.wst.jsdt.ui.renameTypeProcessor").
 

Field Detail

RENAME_JAVA_PROJECT_PROCESSOR

static final java.lang.String RENAME_JAVA_PROJECT_PROCESSOR
Processor ID of the rename JavaScript project processor (value "org.eclipse.wst.jsdt.ui.renameJavaProjectProcessor"). The rename JavaScript project processor loads the following participants:

See Also:
Constant Field Values

RENAME_SOURCE_FOLDER_PROCESSOR

static final java.lang.String RENAME_SOURCE_FOLDER_PROCESSOR
Processor ID of the rename source folder (value "org.eclipse.wst.jsdt.ui.renameSourceFolderProcessor"). The rename package fragment root processor loads the following participants:

See Also:
Constant Field Values

RENAME_PACKAGE_FRAGMENT_PROCESSOR

static final java.lang.String RENAME_PACKAGE_FRAGMENT_PROCESSOR
Processor ID of the rename package fragment processor (value "org.eclipse.wst.jsdt.ui.renamePackageProcessor"). The rename package fragment processor loads the following participants:

Since 3.3:

The refactoring processor moves and renames JavaScript elements and resources. Rename package fragment participants can retrieve the new location of JavaScript elements and resources through the interfaces IJavaScriptElementMapper and org.eclipse.ltk.core.refactoring.IResourceMapper, which can be retrieved from the processor using the getAdapter() method.

See Also:
Constant Field Values

RENAME_COMPILATION_UNIT_PROCESSOR

static final java.lang.String RENAME_COMPILATION_UNIT_PROCESSOR
Processor ID of the rename compilation unit processor (value "org.eclipse.wst.jsdt.ui.renameCompilationUnitProcessor"). The rename compilation unit processor loads the following participants:

See Also:
Constant Field Values

RENAME_TYPE_PROCESSOR

static final java.lang.String RENAME_TYPE_PROCESSOR
Processor ID of the rename type processor (value "org.eclipse.wst.jsdt.ui.renameTypeProcessor"). The rename type processor loads the following participants:

Since 3.2:

Participants that declare

 <param name="handlesSimilarDeclarations" value="false"/> 
in their extension contribution will not be loaded if the user selects the "update similar declarations" feature.

Rename type participants can retrieve information about similar declarations by casting the RenameArguments to RenameTypeArguments. The new signatures of similar declarations (and of other JavaScript elements or resources) are available through the interfaces IJavaScriptElementMapper and org.eclipse.ltk.core.refactoring.IResourceMapper, which can be retrieved from the processor using the getAdapter() method.

See Also:
Constant Field Values

RENAME_METHOD_PROCESSOR

static final java.lang.String RENAME_METHOD_PROCESSOR
Processor ID of the rename method processor (value "org.eclipse.wst.jsdt.ui.renameMethodProcessor"). The rename method processor loads the following participants:

See Also:
Constant Field Values

RENAME_FIELD_PROCESSOR

static final java.lang.String RENAME_FIELD_PROCESSOR
Processor ID of the rename field processor (value "org.eclipse.wst.jsdt.ui.renameFieldProcessor"). The rename filed processor loads the following participants:

See Also:
Constant Field Values

RENAME_RESOURCE_PROCESSOR

static final java.lang.String RENAME_RESOURCE_PROCESSOR
Processor ID of the rename resource processor (value "org.eclipse.wst.jsdt.ui.renameResourceProcessor"). The rename resource processor loads the following participants:

See Also:
Constant Field Values

MOVE_PROCESSOR

static final java.lang.String MOVE_PROCESSOR
Processor ID of the move resource processor (value "org.eclipse.wst.jsdt.ui.MoveProcessor"). The move processor loads the following participants, depending on the type of element that gets moved:

See Also:
Constant Field Values

MOVE_STATIC_MEMBERS_PROCESSOR

static final java.lang.String MOVE_STATIC_MEMBERS_PROCESSOR
Processor ID of the move static member processor (value "org.eclipse.wst.jsdt.ui.MoveStaticMemberProcessor"). The move static members processor loads participants registered for the static JavaScript element that gets moved. No support is available to participate in non static member moves.

See Also:
Constant Field Values

DELETE_PROCESSOR

static final java.lang.String DELETE_PROCESSOR
Processor ID of the delete resource processor (value "org.eclipse.wst.jsdt.ui.DeleteProcessor"). The delete processor loads the following participants, depending on the type of element that gets deleted:

See Also:
Constant Field Values

COPY_PROCESSOR

static final java.lang.String COPY_PROCESSOR
Processor ID of the copy processor (value "org.eclipse.wst.jsdt.ui.CopyProcessor"). The copy processor is used when copying elements via drag and drop or when pasting elements from the clipboard. The copy processor loads the following participants, depending on the type of the element that gets copied:

Use the method org.eclipse.core.resources.mapping.ResourceMapping#accept(org.eclipse.core.resources.mapping.ResourceMappingContext context, org.eclipse.core.resources.IResourceVisitor visitor, org.eclipse.core.runtime.IProgressMonitor monitor) to enumerate the resources which form the JavaScript element. org.eclipse.core.resources.mapping.ResourceMappingContext.LOCAL_CONTEXT should be use as the org.eclipse.core.resources.mapping.ResourceMappingContext passed to the accept method.

See Also:
org.eclipse.core.resources.mapping.ResourceMapping, Constant Field Values