org.eclipse.xtext.xtend2.ui.refactoring
Class Xtend2RenameParticipant

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
          extended by org.eclipse.ltk.core.refactoring.participants.RenameParticipant
              extended by org.eclipse.xtext.ui.refactoring.impl.AbstractProcessorBasedRenameParticipant
                  extended by org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.jdt.JDTRenamePartcipant
                      extended by org.eclipse.xtext.xtend2.ui.refactoring.Xtend2RenameParticipant
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable

public class Xtend2RenameParticipant
extends JDTRenamePartcipant

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
Xtend2RenameParticipant()
           
 
Method Summary
protected  boolean initialize(java.lang.Object element)
          Initializes the participant with the element to be refactored.
 
Methods inherited from class org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.jdt.JDTRenamePartcipant
createRenameDeclarationContext, createRenameElementContexts, createRenameReferenceContext, getExpectedJvmType, getRenamedElementsOrProxies, getRenameRefactoringProvider
 
Methods inherited from class org.eclipse.xtext.ui.refactoring.impl.AbstractProcessorBasedRenameParticipant
checkConditions, createChange, getGlobalServiceProvider, getName, getNewName, getRenameProcessors, getStatus
 
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.RenameParticipant
getArguments, initialize
 
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
createPreChange, getProcessor, getTextChange, 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

Xtend2RenameParticipant

public Xtend2RenameParticipant()
Method Detail

initialize

protected boolean initialize(java.lang.Object element)
Description copied from class: org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
Initializes the participant with the element to be refactored. If this method returns false then the framework will consider the participant as not being initialized and the participant will be dropped by the framework.

Overrides:
initialize in class AbstractProcessorBasedRenameParticipant
Parameters:
element - the element to be refactored
Returns:
true if the participant could be initialized; otherwise false is returned.