Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Class ExternalActionManager

  extended by 

public final class ExternalActionManager
extends Object

A manager for a callback facility which is capable of querying external interfaces for additional information about actions and action contribution items. This information typically includes things like accelerators and textual representations.

It is only necessary to use this mechanism if you will be using a mix of actions and commands, and wish the interactions to work properly.

For example, in the Eclipse workbench, this mechanism is used to allow the command architecture to override certain values in action contribution items.

This class is not intended to be called or extended by any external clients.


Nested Class Summary
static class ExternalActionManager.CommandCallback
          A simple implementation of the ICallback mechanism that simply takes a BindingManager and a CommandManager.
static interface ExternalActionManager.IActiveChecker
          Defines a callback mechanism for developer who wish to further control the visibility of legacy action-based contribution items.
static interface ExternalActionManager.IBindingManagerCallback
           A callback which communicates with the applications binding manager.
static interface ExternalActionManager.ICallback
          A callback mechanism for some external tool to communicate extra information to actions and action contribution items.
static interface ExternalActionManager.IExecuteApplicable
          An overridable mechanism to filter certain IActions from the execution bridge.
static interface ExternalActionManager.IExecuteCallback
           A callback for executing execution events.
Method Summary
  ExternalActionManager.ICallback getCallback ()
          An accessor for the current call back.
static  ExternalActionManager getInstance ()
          Retrieves the current singleton instance of this class.
 void setCallback ( ExternalActionManager.ICallback callbackToUse)
          A mutator for the current call back
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static 
ExternalActionManager getInstance()
Retrieves the current singleton instance of this class.

The singleton instance; this value is never null.


ExternalActionManager.ICallback getCallback()
An accessor for the current call back.

The current callback mechanism being used. This is the callback that should be queried for extra information about actions and action contribution items. This value may be null if there is no extra information.


public void setCallback(
ExternalActionManager.ICallback callbackToUse)
A mutator for the current call back

callbackToUse - The new callback mechanism to use; this value may be null if the default is acceptable (i.e., no extra information will provided to actions).

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire