Eclipse Platform
Release 3.1

org.eclipse.jface.action
Interface ExternalActionManager.IActiveChecker

Enclosing interface:
ExternalActionManager

public static interface ExternalActionManager.IActiveChecker

Defines a callback mechanism for developer who wish to further control the visibility of legacy action-based contribution items.

Since:
3.1

Method Summary
 boolean isActive(String commandId)
          Checks whether the command with the given identifier should be considered active.
 

Method Detail

isActive

public boolean isActive(String commandId)
Checks whether the command with the given identifier should be considered active. This can be used in systems using some kind of user interface filtering (e.g., activities in the Eclipse workbench).

Parameters:
commandId - The identifier for the command; must not be null
Returns:
true if the command is active; false otherwise.

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.