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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

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

  




 

 

Runtime

org.eclipse.gmf.runtime.common.ui.services.action.global
Interface IGlobalActionContext

All Known Implementing Classes:
GlobalActionContext

public interface IGlobalActionContext

Interface that is passed to the IGlobalActionHandler. This interface can be extended for handling/providing more view context information.


Method Summary
 java.lang.String getActionId ()
          Returns the GlobalActionId
  IWorkbenchPart getActivePart ()
          Returns the active IWorkbenchPart
 java.lang.String getLabel ()
          Return the label for the action
  ISelection getSelection ()
          Return the selection which contains items of type defined in the IGlobalActionHandlerContext
 

Method Detail

getActionId

java.lang.String getActionId()
Returns the GlobalActionId

Returns:
Returns an String

getActivePart


IWorkbenchPart getActivePart()
Returns the active IWorkbenchPart

Returns:
Returns the active IWorkbenchPart

getLabel

java.lang.String getLabel()
Return the label for the action

Returns:
String

getSelection


ISelection getSelection()
Return the selection which contains items of type defined in the IGlobalActionHandlerContext

Returns:
ISelection

Runtime

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