comparison dwtx/jface/action/ExternalActionManager.d @ 37:e10d9c2648be

fix static interface and static this
author Frank Benoit <benoit@tionex.de>
date Sun, 06 Apr 2008 13:21:48 +0200
parents e0f0aaf75edd
children 644f1334b451
comparison
equal deleted inserted replaced
36:b9ec89a5809c 37:e10d9c2648be
359 * Defines a callback mechanism for developer who wish to further control 359 * Defines a callback mechanism for developer who wish to further control
360 * the visibility of legacy action-based contribution items. 360 * the visibility of legacy action-based contribution items.
361 * 361 *
362 * @since 3.1 362 * @since 3.1
363 */ 363 */
364 public static interface IActiveChecker { 364 public interface IActiveChecker {
365 /** 365 /**
366 * Checks whether the command with the given identifier should be 366 * Checks whether the command with the given identifier should be
367 * considered active. This can be used in systems using some kind of 367 * considered active. This can be used in systems using some kind of
368 * user interface filtering (e.g., activities in the Eclipse workbench). 368 * user interface filtering (e.g., activities in the Eclipse workbench).
369 * 369 *
387 * Clients may implement this interface, but must not extend. 387 * Clients may implement this interface, but must not extend.
388 * </p> 388 * </p>
389 * 389 *
390 * @since 3.2 390 * @since 3.2
391 */ 391 */
392 public static interface IBindingManagerCallback : ICallback { 392 public interface IBindingManagerCallback : ICallback {
393 393
394 /** 394 /**
395 * <p> 395 * <p>
396 * Returns the active bindings for a particular command identifier. 396 * Returns the active bindings for a particular command identifier.
397 * </p> 397 * </p>
411 * A callback mechanism for some external tool to communicate extra 411 * A callback mechanism for some external tool to communicate extra
412 * information to actions and action contribution items. 412 * information to actions and action contribution items.
413 * 413 *
414 * @since 3.0 414 * @since 3.0
415 */ 415 */
416 public static interface ICallback { 416 public interface ICallback {
417 417
418 /** 418 /**
419 * <p> 419 * <p>
420 * Adds a listener to the object referenced by <code>identifier</code>. 420 * Adds a listener to the object referenced by <code>identifier</code>.
421 * This listener will be notified if a property of the item is to be 421 * This listener will be notified if a property of the item is to be