|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ltk.core.refactoring.participants.ReorgExecutionLog
Objects of this class can be used as a log to trace the execution of refactorings like copy and paste
This class is not intended to be subclassed by clients.
Constructor Summary | |
---|---|
ReorgExecutionLog()
Creates new reorg execution log |
Method Summary | |
---|---|
String |
getNewName(Object element)
Returns the new name of the element. |
Object[] |
getProcessedElements()
Returns all processed elements |
Object[] |
getRenamedElements()
Returns all elements which got renamed during the reorg refactoring |
boolean |
isCanceled()
Returns true if the reorg refactoring got
canceled; otherwise false |
void |
markAsCanceled()
Logs that the reorg refactoring got canceled by the user. |
void |
markAsProcessed(Object element)
Logs that the given element got processed by the refactoring |
void |
setNewName(Object element,
String newName)
Logs that the element got renamed to newName
by the reorg refactoring. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReorgExecutionLog()
Method Detail |
public void markAsCanceled()
public boolean isCanceled()
true
if the reorg refactoring got
canceled; otherwise false
public void markAsProcessed(Object element)
element
- the element that got processedpublic Object[] getProcessedElements()
public void setNewName(Object element, String newName)
newName
by the reorg refactoring.
element
- the element which got renamednewName
- the new name of the elementpublic Object[] getRenamedElements()
public String getNewName(Object element)
null
if the element didn't get renamed.
element
- the element for which the new name is
requested
null
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.