Eclipse Platform
Release 3.1

org.eclipse.ltk.core.refactoring.participants
Class CreateParticipant

java.lang.Object
  extended byorg.eclipse.core.runtime.PlatformObject
      extended byorg.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
          extended byorg.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
CreateParticipant()
           
 
Method Summary
 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, getName, getProcessor, getTextChange, initialize, initialize
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateParticipant

public CreateParticipant()
Method Detail

initialize

protected final void initialize(RefactoringArguments arguments)
Initializes the participant with the refactoring arguments

Specified by:
initialize in class RefactoringParticipant
Parameters:
arguments - the refactoring arguments

getArguments

public CreateArguments getArguments()
Returns the create arguments.

Returns:
the create arguments

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.