Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ActionRegistry
ActionRegistry [message #192076] Sun, 14 August 2005 03:47 Go to next message
Vineet Sinha is currently offline Vineet SinhaFriend
Messages: 31
Registered: July 2009
Member
[[ 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
Re: ActionRegistry [message #192560 is a reply to message #192076] Fri, 19 August 2005 17:05 Go to previous message
Eclipse UserFriend
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
Previous Topic:Preventing figure overlap
Next Topic:One ToggleGridAction for several GraphicalViewers
Goto Forum:
  


Current Time: Sun Jan 19 21:10:50 GMT 2025

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

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

Back to the top