Actions and Editors [message #187984] |
Mon, 18 July 2005 15:07 |
Eclipse User |
|
|
|
Originally posted by: cleversons.gmail.com
Hi,
I want to provide some filters on my editor but I'm a little bit lost on
how to proceed. These filters will show/hide some figures of my editor. I
was firstly considering to do this using tools and put them on the GEF
pallete. But I was advised not to do so and use simple actions. Here lies
my doubt. Filters are applied by a single click on the filter button.
What's the best approach? And how to add actions on my editor? Do I have
to use an ActionBarContributor? By the way, what's the purpose of an
ActionBarContributor? Can't I just create an EditorAction contribution in
the plugin.xml? And to finalize, where the action is supposed to be
placed? I would like to have it on the same place as a ViewAction, but I'm
not managing to do so. My action is appearing in the application tool bar
and not on the editor tool bar.
Once more thank you very much.
Best Regards
Cleverson Schmidt
|
|
|
Powered by
FUDForum. Page generated in 0.02542 seconds