comparison dwtx/jface/text/contentassist/AdditionalInfoController.d @ 133:7d818bd32d63

Fix ctors to this with gvim regexp
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:29:22 +0200
parents c4fb132a086c
children 51e6e63f930e
comparison
equal deleted inserted replaced
132:77bd3bb3d7b8 133:7d818bd32d63
262 * Creates a new timer. 262 * Creates a new timer.
263 * 263 *
264 * @param display the display to use for display thread posting. 264 * @param display the display to use for display thread posting.
265 * @param delay the delay until to show additional info 265 * @param delay the delay until to show additional info
266 */ 266 */
267 public Timer(Display display, int delay) { 267 public this(Display display, int delay) {
268 fDisplay= display; 268 fDisplay= display;
269 fDelay= delay; 269 fDelay= delay;
270 long current= System.currentTimeMillis(); 270 long current= System.currentTimeMillis();
271 schedule(IDLE, current); 271 schedule(IDLE, current);
272 272
454 * Creates a new additional information controller. 454 * Creates a new additional information controller.
455 * 455 *
456 * @param creator the information control creator to be used by this controller 456 * @param creator the information control creator to be used by this controller
457 * @param delay time in milliseconds after which additional info should be displayed 457 * @param delay time in milliseconds after which additional info should be displayed
458 */ 458 */
459 AdditionalInfoController(IInformationControlCreator creator, int delay) { 459 this(IInformationControlCreator creator, int delay) {
460 super(creator); 460 super(creator);
461 fDelay= delay; 461 fDelay= delay;
462 setAnchor(ANCHOR_RIGHT); 462 setAnchor(ANCHOR_RIGHT);
463 setFallbackAnchors(new Anchor[] { ANCHOR_RIGHT, ANCHOR_LEFT, ANCHOR_BOTTOM }); 463 setFallbackAnchors(new Anchor[] { ANCHOR_RIGHT, ANCHOR_LEFT, ANCHOR_BOTTOM });
464 464