|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.runtime.PlatformObject org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor org.eclipse.xpand.ui.refactoring.renamedefine.RenameDefineProcessor
public class RenameDefineProcessor
RenameDefineProcessor creates the refactoring changes for rename refactorings.
Constructor Summary | |
---|---|
RenameDefineProcessor(XpandEditor editor,
org.eclipse.jface.text.ITextSelection selection)
Creates a new RenameDefineProcessor . |
Method Summary | |
---|---|
org.eclipse.ltk.core.refactoring.RefactoringStatus |
checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm,
org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)
|
org.eclipse.ltk.core.refactoring.RefactoringStatus |
checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm)
|
org.eclipse.ltk.core.refactoring.Change |
createChange(org.eclipse.core.runtime.IProgressMonitor pm)
|
java.lang.Object[] |
getElements()
|
java.lang.String |
getIdentifier()
|
java.lang.String |
getProcessorName()
|
boolean |
isApplicable()
|
static boolean |
isLineDelimiterChar(char ch)
Returns true if the given character is a line delimiter
character. |
org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant[] |
loadParticipants(org.eclipse.ltk.core.refactoring.RefactoringStatus status,
org.eclipse.ltk.core.refactoring.participants.SharableParticipants sharedParticipants)
|
void |
setNewName(java.lang.String newName)
|
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor |
---|
getRefactoring, postCreateChange |
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 |
---|
public RenameDefineProcessor(XpandEditor editor, org.eclipse.jface.text.ITextSelection selection)
RenameDefineProcessor
.
selection
- editor
- Method Detail |
---|
public org.eclipse.ltk.core.refactoring.RefactoringStatus checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm, org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context) throws org.eclipse.core.runtime.CoreException, org.eclipse.core.runtime.OperationCanceledException
checkFinalConditions
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
public org.eclipse.ltk.core.refactoring.RefactoringStatus checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException, org.eclipse.core.runtime.OperationCanceledException
checkInitialConditions
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
public org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException, org.eclipse.core.runtime.OperationCanceledException
createChange
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
public static boolean isLineDelimiterChar(char ch)
true
if the given character is a line delimiter
character.
ch
- the given character
true
if this the character is a line
delimiter character, false
otherwisepublic java.lang.Object[] getElements()
getElements
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
public java.lang.String getIdentifier()
getIdentifier
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
public java.lang.String getProcessorName()
getProcessorName
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
public boolean isApplicable() throws org.eclipse.core.runtime.CoreException
isApplicable
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
org.eclipse.core.runtime.CoreException
public org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant[] loadParticipants(org.eclipse.ltk.core.refactoring.RefactoringStatus status, org.eclipse.ltk.core.refactoring.participants.SharableParticipants sharedParticipants) throws org.eclipse.core.runtime.CoreException
loadParticipants
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
org.eclipse.core.runtime.CoreException
public void setNewName(java.lang.String newName)
|
Copyright 2007 committers of openArchitectureWare and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |