Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » org.eclipse.ui.commands defaultHandler isA?
org.eclipse.ui.commands defaultHandler isA? [message #328597] Tue, 27 May 2008 21:20 Go to next message
Eclipse UserFriend
The doc for the extension point org.eclipse.ui.commands, has:

defaultHandler -

The default handler for this command (see the org.eclipse.ui.bindings
extension point). If no other handler is active, this handler will be
active. This handler will conflict with other handler definitions that
specify no activeWhen conditions. If you are creating an
IExecutableExtension, you can use the defaultHandler element instead.

But what kind of value does it want? A class name? ID for some other
markup? Something else altogether?

Thanks,
John.
Re: org.eclipse.ui.commands defaultHandler isA? [message #328922 is a reply to message #328597] Fri, 06 June 2008 14:07 Go to previous message
Eclipse UserFriend
That should be an org.eclipse.core.commands.IHandler or preferably a
subclass of org.eclipse.core.commands.AbstractHandler

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Previous Topic:Enabling Handlers based on Perspective
Next Topic:Need help to get ContextMenu for Shell Trim
Goto Forum:
  


Current Time: Thu May 08 14:16:34 EDT 2025

Powered by FUDForum. Page generated in 0.26513 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top