Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ActionBarContributor of an Editor in a MultiPage-Editor
ActionBarContributor of an Editor in a MultiPage-Editor [message #464581] Sat, 10 March 2007 10:07 Go to next message
Eclipse UserFriend
Originally posted by: unidad.gmx.net

Hi!

I created a simple editor with an ActionBarContributor that
contributes some toolbar items.

I've registered the editor in the plugin.xml and everything
runs fine.

Now I've integrated the simple editor as one page in a multipageditor.
Now the ActionBarContributor of the simple editor is not initialized
anymore. I assume that's because the simple editor is not created
anymore by the plugin.xml-entry, because it's not the main-editor.

Do I have to move the code from my ActionBarContributor to the
simple-editor-class or can I "hook" the simple-editor somewhere in so
that the ActionBarContributor will be called again?

Greetings, Hermann
Re: ActionBarContributor of an Editor in a MultiPage-Editor [message #465229 is a reply to message #464581] Mon, 26 March 2007 15:05 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You need to create a MultiPageEditorActionBarContributor subclass for
your MPEP. Then you'll have to delegate somehow to your normal editor
action bar contributor.

Later,
PW


Previous Topic:How to remove shortcut Ctrl-X for exit for RCP
Next Topic:Programmatically adding Actions to ActionSets
Goto Forum:
  


Current Time: Fri Sep 13 02:04:09 GMT 2024

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

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

Back to the top