org.eclipse.xtext.xtext.ui.refactoring
Class EcoreRefactoringParticipant

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.xtext.ui.refactoring.EcoreRefactoringParticipant
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable

public class EcoreRefactoringParticipant
extends AbstractProcessorBasedRenameParticipant

Author:
Jan Koehnlein - Initial contribution and API, Holger Schill

Field Summary
static java.lang.String ECORE_REFACTORING_PARTICIPANT_SHOW_WARNING_OPTION
          Option-flag to disable warnings in this participant
 
Constructor Summary
EcoreRefactoringParticipant()
           
 
Method Summary
protected  java.util.List<? extends IRenameElementContext> createRenameElementContexts(java.lang.Object element)
           
protected  java.util.List<org.eclipse.emf.ecore.EObject> getRenamedElementsOrProxies(org.eclipse.emf.ecore.EObject originalTarget)
           
 
Methods inherited from class org.eclipse.xtext.ui.refactoring.impl.AbstractProcessorBasedRenameParticipant
checkConditions, createChange, disableFor, getElements, getGlobalServiceProvider, getName, getNewName, getRenameProcessor, getRenameProcessors, getRenameRefactoringProvider, getStatus, initialize, setNewName
 
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
 

Field Detail

ECORE_REFACTORING_PARTICIPANT_SHOW_WARNING_OPTION

public static final java.lang.String ECORE_REFACTORING_PARTICIPANT_SHOW_WARNING_OPTION
Option-flag to disable warnings in this participant

See Also:
Constant Field Values
Constructor Detail

EcoreRefactoringParticipant

public EcoreRefactoringParticipant()
Method Detail

createRenameElementContexts

protected java.util.List<? extends IRenameElementContext> createRenameElementContexts(java.lang.Object element)
Overrides:
createRenameElementContexts in class AbstractProcessorBasedRenameParticipant

getRenamedElementsOrProxies

protected java.util.List<org.eclipse.emf.ecore.EObject> getRenamedElementsOrProxies(org.eclipse.emf.ecore.EObject originalTarget)
Specified by:
getRenamedElementsOrProxies in class AbstractProcessorBasedRenameParticipant