Mercurial > projects > dwt-addons
diff dwtx/jface/text/AbstractInformationControlManager.d @ 146:75302ef3f92f
final
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 22:34:04 +0200 |
parents | 93a6ec48fd28 |
children | 000f9136b8f7 |
line wrap: on
line diff
--- a/dwtx/jface/text/AbstractInformationControlManager.d Sun Aug 24 22:31:00 2008 +0200 +++ b/dwtx/jface/text/AbstractInformationControlManager.d Sun Aug 24 22:34:04 2008 +0200 @@ -292,7 +292,7 @@ * Constitutes entities to enumerate anchors for the layout of the information control. */ public static final class Anchor { - private final int fFlag; + private const int fFlag; private this(int flag) { fFlag= flag; } @@ -320,21 +320,21 @@ } /** Internal anchor list. */ - private final static Anchor[] ANCHORS= { new Anchor(DWT.TOP), new Anchor(DWT.BOTTOM), new Anchor(DWT.LEFT), new Anchor(DWT.RIGHT) }; + private const static Anchor[] ANCHORS= { new Anchor(DWT.TOP), new Anchor(DWT.BOTTOM), new Anchor(DWT.LEFT), new Anchor(DWT.RIGHT) }; /** Anchor representing the top of the information area */ - public final static Anchor ANCHOR_TOP= ANCHORS[0]; + public const static Anchor ANCHOR_TOP= ANCHORS[0]; /** Anchor representing the bottom of the information area */ - public final static Anchor ANCHOR_BOTTOM= ANCHORS[1]; + public const static Anchor ANCHOR_BOTTOM= ANCHORS[1]; /** Anchor representing the left side of the information area */ - public final static Anchor ANCHOR_LEFT= ANCHORS[2]; + public const static Anchor ANCHOR_LEFT= ANCHORS[2]; /** Anchor representing the right side of the information area */ - public final static Anchor ANCHOR_RIGHT= ANCHORS[3]; + public const static Anchor ANCHOR_RIGHT= ANCHORS[3]; /** * Anchor representing the middle of the subject control * @since 2.1 */ - public final static Anchor ANCHOR_GLOBAL= new Anchor(DWT.CENTER); + public const static Anchor ANCHOR_GLOBAL= new Anchor(DWT.CENTER); /** * Dialog store constant for the location's x-coordinate.