Mercurial > projects > dwt-addons
diff 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 |
line wrap: on
line diff
--- a/dwtx/jface/internal/text/revisions/RevisionPainter.d Sun Aug 24 22:31:00 2008 +0200 +++ b/dwtx/jface/internal/text/revisions/RevisionPainter.d Sun Aug 24 22:34:04 2008 +0200 @@ -152,11 +152,11 @@ /** * The stored shaded colors. */ - private final Map fColors= new HashMap(); + private const Map fColors= new HashMap(); /** * The stored focus colors. */ - private final Map fFocusColors= new HashMap(); + private const Map fFocusColors= new HashMap(); /** * Sets the revision information, which is needed to compute the relative age of a revision. @@ -529,27 +529,27 @@ /* Listeners and helpers. */ /** The shared color provider. */ - private final ISharedTextColors fSharedColors; + private const ISharedTextColors fSharedColors; /** The color tool. */ - private final ColorTool fColorTool= new ColorTool(); + private const ColorTool fColorTool= new ColorTool(); /** The mouse handler. */ - private final MouseHandler fMouseHandler= new MouseHandler(); + private const MouseHandler fMouseHandler= new MouseHandler(); /** The hover. */ - private final RevisionHover fHover= new RevisionHover(); + private const RevisionHover fHover= new RevisionHover(); /** The annotation listener. */ - private final AnnotationListener fAnnotationListener= new AnnotationListener(); + private const AnnotationListener fAnnotationListener= new AnnotationListener(); /** The selection provider. */ - private final RevisionSelectionProvider fRevisionSelectionProvider= new RevisionSelectionProvider(this); + private const RevisionSelectionProvider fRevisionSelectionProvider= new RevisionSelectionProvider(this); /** * The list of revision listeners. * @since 3.3. */ - private final ListenerList fRevisionListeners= new ListenerList(ListenerList.IDENTITY); + private const ListenerList fRevisionListeners= new ListenerList(ListenerList.IDENTITY); /* The context - column and viewer we are connected to. */ /** The vertical ruler column that delegates painting to this painter. */ - private final IVerticalRulerColumn fColumn; + private const IVerticalRulerColumn fColumn; /** The parent ruler. */ private CompositeRuler fParentRuler; /** The column's control, typically a {@link Canvas}, possibly <code>null</code>. */