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

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.commands
Interface IWorkbenchCommandSupport


Deprecated. Please use ICommandService and IHandlerService instead.

public interface IWorkbenchCommandSupport

An instance of this interface provides support for managing commands at the IWorkbench level.

This interface is not intended to be extended or implemented by clients.

Since:
3.0
See Also:
ICommandService, IHandlerService
Restriction:
This interface is not intended to be implemented by clients.

Method Summary
 void addHandlerSubmission ( HandlerSubmission handlerSubmission)
          Deprecated. Adds a single handler submissions for consideration by the workbench.
 void addHandlerSubmissions ( Collection handlerSubmissions)
          Deprecated. Adds a collection of handler submissions for consideration by the workbench.
  ICommandManager getCommandManager ()
          Deprecated. Returns the command manager for the workbench.
 void removeHandlerSubmission ( HandlerSubmission handlerSubmission)
          Deprecated. Removes a single handler submission from consideration by the workbench.
 void removeHandlerSubmissions ( Collection handlerSubmissions)
          Deprecated. Removes a single handler submission from consideration by the workbench.
 

Method Detail

addHandlerSubmission

void addHandlerSubmission(
HandlerSubmission handlerSubmission)
Deprecated. 
Adds a single handler submissions for consideration by the workbench. The submission indicates to the workbench a set of conditions under which the handler should become active. The workbench, however, ultimately decides which handler becomes active (in the event of conflicts or changes in state). This could cause the handlers for one or more commands to change.

Parameters:
handlerSubmission - The submission to be added; must not be null.

addHandlerSubmissions

void addHandlerSubmissions(
Collection handlerSubmissions)
Deprecated. 
Adds a collection of handler submissions for consideration by the workbench. The submission indicates to the workbench a set of conditions under which the handler should become active. The workbench, however, ultimately decides which handler becomes active (in the event of conflicts or changes in state). This could cause the handlers for one or more commands to change.

Parameters:
handlerSubmissions - The submissions to be added; must not be null, and must contain zero or more instances of HandlerSubmission.

getCommandManager

ICommandManager getCommandManager()
Deprecated. 
Returns the command manager for the workbench.

Returns:
the command manager for the workbench. Guaranteed not to be null.

removeHandlerSubmission

void removeHandlerSubmission(
HandlerSubmission handlerSubmission)
Deprecated. 
Removes a single handler submission from consideration by the workbench. The handler submission must be the same as the one added (not just equivalent). This could cause the handlers for one or more commands to change.

Parameters:
handlerSubmission - The submission to be removed; must not be null.

removeHandlerSubmissions

void removeHandlerSubmissions(
Collection handlerSubmissions)
Deprecated. 
Removes a single handler submission from consideration by the workbench. The handler submission must be the same as the one added (not just equivalent). This could cause the handlers for one or more commands to change.

Parameters:
handlerSubmissions - The submissions to be removed; must not be null, and must contain instances of HandlerSubmission only.

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