Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to contribute an action to the GEF view's toolbar
How to contribute an action to the GEF view's toolbar [message #189683] Thu, 28 July 2005 12:15 Go to next message
Eclipse UserFriend
Originally posted by: alexey.m.softage.com.ua

I want to contribute an action to the GEF view toolbar. There's
"org.eclipse.ui.viewActions" extension point that allows me to contribute
actions. But I'd need to register GEF Command instead. How can I do this?

Thank you very much.

--

Regards,
Alexey Maslov
Re: How to contribute an action to the GEF view's toolbar [message #189707 is a reply to message #189683] Thu, 28 July 2005 13:56 Go to previous messageGo to next message
Andreas Holtz is currently offline Andreas HoltzFriend
Messages: 53
Registered: July 2009
Member
Alexey Maslov schrieb am 28.07.2005 14:15:
> I want to contribute an action to the GEF view toolbar. There's
> "org.eclipse.ui.viewActions" extension point that allows me to contribute
> actions. But I'd need to register GEF Command instead. How can I do this?
>
> Thank you very much.
>

create an action for your command.
inspect the logic example, i think. There an action is created for the context menu.
Re: How to contribute an action to the GEF view's toolbar [message #189791 is a reply to message #189683] Fri, 29 July 2005 15:03 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

Look at LogicEditor#createActions() and LogicActionBarContributor (which is
registered in the plugin.xml).

"Alexey Maslov" <alexey.m@softage.com.ua> wrote in message
news:dcai9k$nel$1@news.eclipse.org...
> I want to contribute an action to the GEF view toolbar. There's
> "org.eclipse.ui.viewActions" extension point that allows me to contribute
> actions. But I'd need to register GEF Command instead. How can I do this?
>
> Thank you very much.
>
> --
>
> Regards,
> Alexey Maslov
>
>
Previous Topic:feedbackFigure snap to parent during drag
Next Topic:SWITCH SELECTION PROVIDER PROBLEM
Goto Forum:
  


Current Time: Tue Dec 03 08:25:10 GMT 2024

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

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

Back to the top