Class ParticipantExtensionPoint
- java.lang.Object
-
- org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint
-
public class ParticipantExtensionPoint extends Object
AParticipantExtensionPoint
is used to manage contributions of participants.This class is not intended to be subclassed by clients.
- Since:
- 3.4
- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description ParticipantExtensionPoint(String pluginId, String participantId, Class<?> clazz)
Creates aParticipantExtensionPoint
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefactoringParticipant[]
getParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, RefactoringArguments arguments, IParticipantDescriptorFilter filter, String[] affectedNatures, SharableParticipants shared)
Returns all participants for a given element.
-
-
-
Constructor Detail
-
ParticipantExtensionPoint
public ParticipantExtensionPoint(String pluginId, String participantId, Class<?> clazz)
Creates aParticipantExtensionPoint
.- Parameters:
pluginId
- the ID of the plug-in defining the extension pointparticipantId
- the name of the extension pointclazz
- the type of the class that contributors must provide
-
-
Method Detail
-
getParticipants
public RefactoringParticipant[] getParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, RefactoringArguments arguments, IParticipantDescriptorFilter filter, String[] affectedNatures, SharableParticipants shared)
Returns all participants for a given element.- Parameters:
status
- a refactoring status to report status if problems occurred while loading the participantsprocessor
- the processor that will own the participantselement
- the element to be copied or a corresponding descriptorarguments
- the arguments for the participantsfilter
- a participant filter to exclude certain participants, ornull
if no filtering is desiredaffectedNatures
- an array of project natures affected by the refactoringshared
- a list of shared participants- Returns:
- an array of participants
-
-