Class CreateParticipant
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
-
- org.eclipse.ltk.core.refactoring.participants.CreateParticipant
-
- All Implemented Interfaces:
IAdaptable
public abstract class CreateParticipant extends RefactoringParticipant
A participant to participate in refactorings that create elements. A create participant can't assume that its associated processor is of a specific type. A create could be triggered as a side effect of another refactoring.Create participants are registered via the extension point
org.eclipse.ltk.core.refactoring.createParticipants
. Extensions to this extension point must therefore extend this abstract class.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description CreateParticipant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateArguments
getArguments()
Returns the create arguments.protected void
initialize(RefactoringArguments arguments)
Initializes the participant with the refactoring arguments-
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
checkConditions, createChange, createPreChange, getName, getProcessor, getTextChange, initialize, initialize
-
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
-
-
-
-
Method Detail
-
initialize
protected final void initialize(RefactoringArguments arguments)
Description copied from class:RefactoringParticipant
Initializes the participant with the refactoring arguments- Specified by:
initialize
in classRefactoringParticipant
- Parameters:
arguments
- the refactoring arguments
-
getArguments
public CreateArguments getArguments()
Returns the create arguments.- Returns:
- the create arguments
-
-