Mercurial > projects > dwt-addons
comparison dwtx/jface/internal/text/revisions/RevisionPainter.d @ 146:75302ef3f92f
final
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 22:34:04 +0200 |
parents | 893c017bcdc5 |
children | 000f9136b8f7 |
comparison
equal
deleted
inserted
replaced
145:02cd5f1224d3 | 146:75302ef3f92f |
---|---|
150 */ | 150 */ |
151 private List fRevisions; | 151 private List fRevisions; |
152 /** | 152 /** |
153 * The stored shaded colors. | 153 * The stored shaded colors. |
154 */ | 154 */ |
155 private final Map fColors= new HashMap(); | 155 private const Map fColors= new HashMap(); |
156 /** | 156 /** |
157 * The stored focus colors. | 157 * The stored focus colors. |
158 */ | 158 */ |
159 private final Map fFocusColors= new HashMap(); | 159 private const Map fFocusColors= new HashMap(); |
160 | 160 |
161 /** | 161 /** |
162 * Sets the revision information, which is needed to compute the relative age of a revision. | 162 * Sets the revision information, which is needed to compute the relative age of a revision. |
163 * | 163 * |
164 * @param info the new revision info, <code>null</code> for none. | 164 * @param info the new revision info, <code>null</code> for none. |
527 } | 527 } |
528 | 528 |
529 /* Listeners and helpers. */ | 529 /* Listeners and helpers. */ |
530 | 530 |
531 /** The shared color provider. */ | 531 /** The shared color provider. */ |
532 private final ISharedTextColors fSharedColors; | 532 private const ISharedTextColors fSharedColors; |
533 /** The color tool. */ | 533 /** The color tool. */ |
534 private final ColorTool fColorTool= new ColorTool(); | 534 private const ColorTool fColorTool= new ColorTool(); |
535 /** The mouse handler. */ | 535 /** The mouse handler. */ |
536 private final MouseHandler fMouseHandler= new MouseHandler(); | 536 private const MouseHandler fMouseHandler= new MouseHandler(); |
537 /** The hover. */ | 537 /** The hover. */ |
538 private final RevisionHover fHover= new RevisionHover(); | 538 private const RevisionHover fHover= new RevisionHover(); |
539 /** The annotation listener. */ | 539 /** The annotation listener. */ |
540 private final AnnotationListener fAnnotationListener= new AnnotationListener(); | 540 private const AnnotationListener fAnnotationListener= new AnnotationListener(); |
541 /** The selection provider. */ | 541 /** The selection provider. */ |
542 private final RevisionSelectionProvider fRevisionSelectionProvider= new RevisionSelectionProvider(this); | 542 private const RevisionSelectionProvider fRevisionSelectionProvider= new RevisionSelectionProvider(this); |
543 /** | 543 /** |
544 * The list of revision listeners. | 544 * The list of revision listeners. |
545 * @since 3.3. | 545 * @since 3.3. |
546 */ | 546 */ |
547 private final ListenerList fRevisionListeners= new ListenerList(ListenerList.IDENTITY); | 547 private const ListenerList fRevisionListeners= new ListenerList(ListenerList.IDENTITY); |
548 | 548 |
549 /* The context - column and viewer we are connected to. */ | 549 /* The context - column and viewer we are connected to. */ |
550 | 550 |
551 /** The vertical ruler column that delegates painting to this painter. */ | 551 /** The vertical ruler column that delegates painting to this painter. */ |
552 private final IVerticalRulerColumn fColumn; | 552 private const IVerticalRulerColumn fColumn; |
553 /** The parent ruler. */ | 553 /** The parent ruler. */ |
554 private CompositeRuler fParentRuler; | 554 private CompositeRuler fParentRuler; |
555 /** The column's control, typically a {@link Canvas}, possibly <code>null</code>. */ | 555 /** The column's control, typically a {@link Canvas}, possibly <code>null</code>. */ |
556 private Control fControl; | 556 private Control fControl; |
557 /** The text viewer that the column is attached to. */ | 557 /** The text viewer that the column is attached to. */ |