Skip to main content



      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 05: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 11:05 Go to previous message
Eclipse UserFriend
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: Sun Aug 31 05:21:47 EDT 2025

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

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

Back to the top