public interface IChangeRulerColumn extends IVerticalRulerColumn, IVerticalRulerInfoExtension
IChangeRulerColumn
can display quick diff information.Modifier and Type | Field and Description |
---|---|
static String |
QUICK_DIFF_MODEL_ID
The ID under which the quick diff model is registered with a document's annotation model.
|
Modifier and Type | Method and Description |
---|---|
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.
|
createControl, getControl, getWidth, redraw, setFont, setModel
addVerticalRulerListener, getHover, getModel, removeVerticalRulerListener
static final String QUICK_DIFF_MODEL_ID
void setHover(IAnnotationHover hover)
hover
- the hover that will produce hover information text for this ruler columnvoid setBackground(Color backgroundColor)
backgroundColor
- the new color to be used as standard line backgroundvoid setAddedColor(Color addedColor)
addedColor
- the new color to be used for the added lines backgroundvoid setChangedColor(Color changedColor)
changedColor
- the new color to be used for the changed lines backgroundvoid setDeletedColor(Color deletedColor)
deletedColor
- the new color to be used for the deleted lines indicator.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.