|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ltk.core.refactoring.RefactoringSessionDescriptor
Descriptor object of a refactoring session.
Refactoring session descriptors encapsulate a series of refactoring descriptors. They are used to represent chunks of the global workspace refactoring history or refactoring scripts created by the user.
Refactoring session descriptors contain the following information:
RefactoringDescriptor
.
Refactoring session descriptors are potentially heavy weight objects which
should not be held on to. Use refactoring descriptor proxies
RefactoringDescriptorProxy
to present refactoring descriptors in the
user interface or otherwise manipulate refactoring histories. More details
about a particular refactoring session can be revealed in the comment, which
contains more text with refactoring-specific information.
All time stamps are measured as the milliseconds since January 1, 1970, 00:00:00 GMT.
Note: this class is not indented to be subclassed outside the refactoring framework.
RefactoringDescriptor
Field Summary | |
---|---|
static String |
VERSION_1_0
The version constant for v1.0 (value: 1.0) |
Constructor Summary | |
---|---|
RefactoringSessionDescriptor(RefactoringDescriptor[] descriptors,
String version,
String comment)
Creates a new refactoring session descriptor. |
Method Summary | |
---|---|
String |
getComment()
Returns the comment. |
RefactoringDescriptor[] |
getRefactorings()
Returns the refactoring descriptors. |
String |
getVersion()
Returns the version tag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String VERSION_1_0
Constructor Detail |
public RefactoringSessionDescriptor(RefactoringDescriptor[] descriptors, String version, String comment)
descriptors
- the refactoring descriptors in executed order, or the empty
arrayversion
- the non-empty version tag, one of the VERSION_xxx
constantscomment
- the comment of the refactoring session, or null
for no commentMethod Detail |
public final String getComment()
public final RefactoringDescriptor[] getRefactorings()
public final String getVersion()
|
Eclipse Platform Release 3.2 |
|||||||||||
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, 2006. All rights reserved.