Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » org.eclipse.ui.commands defaultHandler isA?
org.eclipse.ui.commands defaultHandler isA? [message #328597] Wed, 28 May 2008 01:20 Go to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
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 18:07 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Tue Jul 16 16:08:15 GMT 2024

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

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

Back to the top