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




Class AbstractGlobalActionHandler

  extended by
All Implemented Interfaces:
Direct Known Subclasses:
DiagramGlobalActionHandler, DiagramIDEGlobalActionHandler, OpenFileGlobalActionHandler, ResourceGlobalActionHandler, RevertGlobalActionHandler

public abstract class AbstractGlobalActionHandler
extends java.lang.Object
implements IGlobalActionHandler

The abstract parent of all concrete global action handlers. A concrete handler needs to override the getCommand() and canHandle() methods. This class implements the IGlobalActionHandler interface. It provides access to the IGlobalActionContext to its decendents.

Constructor Summary
AbstractGlobalActionHandler ()
          Creates an AbstractGlobalActionHandler.
Method Summary
 java.lang.String getLabel ( IGlobalActionContext cntxt)
          Gets the label for this global action, given the context.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface IGlobalActionHandler
canHandle, getCommand

Constructor Detail


public AbstractGlobalActionHandler()
Creates an AbstractGlobalActionHandler.

Method Detail


public java.lang.String getLabel(
IGlobalActionContext cntxt)
Description copied from interface: IGlobalActionHandler
Gets the label for this global action, given the context. Returns null if the default global action label should be used.

Specified by:
getLabel in interface IGlobalActionHandler
cntxt - the global action context
the global action label, or null if the default label should be used.


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.

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