|
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.jface.text.revisions.Revision
Describes a revision of a document. A revision consists of one ore more ILineRange
s.
Clients may subclass.
Constructor Summary | |
---|---|
protected |
Revision()
Creates a new revision. |
Method Summary | |
---|---|
void |
addRange(ILineRange range)
Adds a line range to this revision. |
abstract RGB |
getColor()
Returns the color definition to be used for this revision. |
abstract Date |
getDate()
Returns the modification date of this revision. |
abstract Object |
getHoverInfo()
Returns the hover information that will be shown when the user hovers over the a change region of this revision. |
abstract String |
getId()
Returns the unique (within the document) id of this revision. |
List |
getRegions()
Returns the contained change regions. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected Revision()
Method Detail |
public final void addRange(ILineRange range)
range
- a line range that was changed with this revisionpublic final List getRegions()
Object
)public abstract Object getHoverInfo()
null
for no hoverpublic abstract RGB getColor()
public abstract String getId()
public abstract Date getDate()
public String toString()
|
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.