|
Re: ActionRegistry [message #192560 is a reply to message #192076] |
Fri, 19 August 2005 17:05 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
There's only one ActionBarContributor per editor type. The
ActionBarContributor's action registry usually holds retarget actions
(although you can have a reason to add non-retargettable actions). See
LogicActionBarContributor#buildActions(). These retarget actions then
target the active editor instance's actions that have the same ID.
"Vineet Sinha" <vineet@csail.mit.edu> wrote in message
news:ddmerf$i5e$1@news.eclipse.org...
> [[ Reposting - I think I messed up my previous posting attempt.
> Apologies for any inconvenience. I will appreciate any help - Thanks! ]]
>
> My code seems to have two seperate ActionRegistry's. The first created by:
> > org.eclipse.gef.ui.actions.ActionBarContributor
> and the second by:
> > org.eclipse.gef.ui.parts.GraphicalEditor
>
> Should they be different? If so, what is the difference in their roles?
> - I am not sure which one to use.
>
>
> Vineet
|
|
|
Powered by
FUDForum. Page generated in 0.02730 seconds