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 IElementReference


public interface IElementReference

the ICommandService will return a reference for all callbacks that are registered. This reference can be used to unregister the specific callback.

Similar in functionality to an IHandlerActivation. This interface should not be implemented or extended by clients.

Since:
3.3

Method Summary
  String getCommandId ()
          The command id that this callback was registered against.
  UIElement getElement ()
          The callback that was registered.
  Map getParameters ()
          Parameters that help scope this callback registration.
 

Method Detail

getCommandId

String getCommandId()
The command id that this callback was registered against.

Returns:
The command id. Will not be null.

getElement

UIElement getElement()
The callback that was registered.

Returns:
Adapts to provide appropriate user feedback. Will not be null.

getParameters

Map getParameters()
Parameters that help scope this callback registration. For example, it can include parameters from the ParameterizedCommand. Callers should not change the map that is returned.

Returns:
scoping parameters. Will not be null.

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