|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An IChangeRulerColumn
can display quick diff information.
Field Summary | |
---|---|
static String |
QUICK_DIFF_MODEL_ID
The ID under which the quick diff model is registered with a document's annotation model. |
Method Summary | |
---|---|
void |
setAddedColor(Color addedColor)
Sets the background color for added lines. |
void |
setBackground(Color backgroundColor)
Sets the background color for normal lines. |
void |
setChangedColor(Color changedColor)
Sets the background color for changed lines. |
void |
setDeletedColor(Color deletedColor)
Sets the color for the deleted lines indicator. |
void |
setHover(IAnnotationHover hover)
Sets the hover of this ruler column. |
Methods inherited from interface org.eclipse.jface.text.source.IVerticalRulerColumn |
---|
createControl, getControl, getWidth, redraw, setFont, setModel |
Methods inherited from interface org.eclipse.jface.text.source.IVerticalRulerInfoExtension |
---|
addVerticalRulerListener, getHover, getModel, removeVerticalRulerListener |
Field Detail |
public static final String QUICK_DIFF_MODEL_ID
Method Detail |
public void setHover(IAnnotationHover hover)
hover
- the hover that will produce hover information text for this ruler columnpublic void setBackground(Color backgroundColor)
backgroundColor
- the new color to be used as standard line backgroundpublic void setAddedColor(Color addedColor)
addedColor
- the new color to be used for the added lines backgroundpublic void setChangedColor(Color changedColor)
changedColor
- the new color to be used for the changed lines backgroundpublic void setDeletedColor(Color deletedColor)
deletedColor
- the new color to be used for the deleted lines indicator.
|
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.