Mercurial > projects > dwt-addons
comparison 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 |
comparison
equal
deleted
inserted
replaced
145:02cd5f1224d3 | 146:75302ef3f92f |
---|---|
290 | 290 |
291 /** | 291 /** |
292 * Constitutes entities to enumerate anchors for the layout of the information control. | 292 * Constitutes entities to enumerate anchors for the layout of the information control. |
293 */ | 293 */ |
294 public static final class Anchor { | 294 public static final class Anchor { |
295 private final int fFlag; | 295 private const int fFlag; |
296 private this(int flag) { | 296 private this(int flag) { |
297 fFlag= flag; | 297 fFlag= flag; |
298 } | 298 } |
299 /** | 299 /** |
300 * Returns the DWT direction flag. One of {@link DWT#BOTTOM}, {@link DWT#TOP}, | 300 * Returns the DWT direction flag. One of {@link DWT#BOTTOM}, {@link DWT#TOP}, |
318 } | 318 } |
319 } | 319 } |
320 } | 320 } |
321 | 321 |
322 /** Internal anchor list. */ | 322 /** Internal anchor list. */ |
323 private final static Anchor[] ANCHORS= { new Anchor(DWT.TOP), new Anchor(DWT.BOTTOM), new Anchor(DWT.LEFT), new Anchor(DWT.RIGHT) }; | 323 private const static Anchor[] ANCHORS= { new Anchor(DWT.TOP), new Anchor(DWT.BOTTOM), new Anchor(DWT.LEFT), new Anchor(DWT.RIGHT) }; |
324 | 324 |
325 /** Anchor representing the top of the information area */ | 325 /** Anchor representing the top of the information area */ |
326 public final static Anchor ANCHOR_TOP= ANCHORS[0]; | 326 public const static Anchor ANCHOR_TOP= ANCHORS[0]; |
327 /** Anchor representing the bottom of the information area */ | 327 /** Anchor representing the bottom of the information area */ |
328 public final static Anchor ANCHOR_BOTTOM= ANCHORS[1]; | 328 public const static Anchor ANCHOR_BOTTOM= ANCHORS[1]; |
329 /** Anchor representing the left side of the information area */ | 329 /** Anchor representing the left side of the information area */ |
330 public final static Anchor ANCHOR_LEFT= ANCHORS[2]; | 330 public const static Anchor ANCHOR_LEFT= ANCHORS[2]; |
331 /** Anchor representing the right side of the information area */ | 331 /** Anchor representing the right side of the information area */ |
332 public final static Anchor ANCHOR_RIGHT= ANCHORS[3]; | 332 public const static Anchor ANCHOR_RIGHT= ANCHORS[3]; |
333 /** | 333 /** |
334 * Anchor representing the middle of the subject control | 334 * Anchor representing the middle of the subject control |
335 * @since 2.1 | 335 * @since 2.1 |
336 */ | 336 */ |
337 public final static Anchor ANCHOR_GLOBAL= new Anchor(DWT.CENTER); | 337 public const static Anchor ANCHOR_GLOBAL= new Anchor(DWT.CENTER); |
338 | 338 |
339 /** | 339 /** |
340 * Dialog store constant for the location's x-coordinate. | 340 * Dialog store constant for the location's x-coordinate. |
341 * @since 3.0 | 341 * @since 3.0 |
342 */ | 342 */ |