Package org.eclipse.jface.text.source
Interface IChangeRulerColumn
- All Superinterfaces:
- IVerticalRulerColumn,- IVerticalRulerInfoExtension
- All Known Implementing Classes:
- ChangeRulerColumn,- LineNumberChangeRulerColumn
An 
IChangeRulerColumn can display quick diff information.- Since:
- 3.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe ID under which the quick diff model is registered with a document's annotation model.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetAddedColor(Color addedColor) Sets the background color for added lines.voidsetBackground(Color backgroundColor) Sets the background color for normal lines.voidsetChangedColor(Color changedColor) Sets the background color for changed lines.voidsetDeletedColor(Color deletedColor) Sets the color for the deleted lines indicator.voidsetHover(IAnnotationHover hover) Sets the hover of this ruler column.Methods inherited from interface org.eclipse.jface.text.source.IVerticalRulerColumncreateControl, getControl, getWidth, redraw, setFont, setModelMethods inherited from interface org.eclipse.jface.text.source.IVerticalRulerInfoExtensionaddVerticalRulerListener, getHover, getModel, removeVerticalRulerListener
- 
Field Details- 
QUICK_DIFF_MODEL_IDThe ID under which the quick diff model is registered with a document's annotation model.- See Also:
 
 
- 
- 
Method Details- 
setHoverSets the hover of this ruler column.- Parameters:
- hover- the hover that will produce hover information text for this ruler column
 
- 
setBackgroundSets the background color for normal lines. The color has to be disposed of by the caller when the receiver is no longer used.- Parameters:
- backgroundColor- the new color to be used as standard line background
 
- 
setAddedColorSets the background color for added lines. The color has to be disposed of by the caller when the receiver is no longer used.- Parameters:
- addedColor- the new color to be used for the added lines background
 
- 
setChangedColorSets the background color for changed lines. The color has to be disposed of by the caller when the receiver is no longer used.- Parameters:
- changedColor- the new color to be used for the changed lines background
 
- 
setDeletedColorSets the color for the deleted lines indicator. The color has to be disposed of by the caller when the receiver is no longer used.- Parameters:
- deletedColor- the new color to be used for the deleted lines indicator.
 
 
-