Skip to main content



      Home
Home » Eclipse Projects » GEF » setGlobalActionHandler() vs. getEditorSite().getService(IHandlerService.class) which should I use?
setGlobalActionHandler() vs. getEditorSite().getService(IHandlerService.class) which should I use? [message #234835] Wed, 30 May 2007 16:49
Eclipse UserFriend
Originally posted by: mlevison.gmail.com

When adding actions via an ActionBarContributor should you add the
actions to a ‘global handler’:
• pageSite.getActionBars().setGlobalActionHandler() as per the
logic editor sample **or** editor handler
• getEditorSite().getService(IHandlerService.class).
activateHandler() as per the shapes example?

(with apologies - asking my questions in a batch got little attention
except for Jens - so I will ask then one at a time.)

Thanks in advance for any help
Mark Levison
------------------------------------------------------------ ----------
Blog: http://www.notesfromatooluser.com/
Most Popular posts:
Aperture vs. Lightroom - best comparisons
http://www.notesfromatooluser.com/2007/02/aperture_vs_lig.ht ml
Scrum in a Nutshell or 5 minutes to learn Scrum
http://www.notesfromatooluser.com/2006/11/scrum_in_a_nuts.ht ml
Getting Things Done!!! Can't Keep Track of all the tasks you have to do?
Need a better Tool to Implement GTD?
http://www.notesfromatooluser.com/2006/12/getting_things_.ht ml
Previous Topic:What is RetargetAction?
Next Topic:how do you contribute to a menu that already exists – perhaps file?
Goto Forum:
  


Current Time: Sun Jul 13 10:14:43 EDT 2025

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

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

Back to the top