Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » CommandStacks in GEF
CommandStacks in GEF [message #150028] Tue, 07 September 2004 22:32 Go to next message
Eclipse UserFriend
Originally posted by: mward.harmonia.com

I am trying to figure out if there is an easy way to retrieve the GEF
commandstack, any good ideas?
Re: CommandStacks in GEF [message #150053 is a reply to message #150028] Wed, 08 September 2004 06:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eostroukhov.hotmail.com

It's in the EditDomain. In most cases you can get EditDomain from the
EditPartViewer. In most cases you can get EditPartViewer from your EditPart
(i.e. from EditPolicy - getHost().getViewer()).
GraphicalEditor also provides adapters for the CommandStack, GraphicalViewer
and ActionRegistry.

If this doesn't help please provide more information on what you're trying
to achieve - than it would be easier to advise.

Best regards,
Eugene

"Matthew Ward" <mward@harmonia.com> wrote in message
news:chlcn8$os9$1@eclipse.org...
> I am trying to figure out if there is an easy way to retrieve the GEF
> commandstack, any good ideas?
Re: CommandStacks in GEF [message #150245 is a reply to message #150053] Thu, 09 September 2004 00:55 Go to previous message
Eclipse UserFriend
Originally posted by: mward.harmonia.com

Eugene Ostroukhov wrote:
> It's in the EditDomain. In most cases you can get EditDomain from the
> EditPartViewer. In most cases you can get EditPartViewer from your EditPart
> (i.e. from EditPolicy - getHost().getViewer()).
> GraphicalEditor also provides adapters for the CommandStack, GraphicalViewer
> and ActionRegistry.
>
> If this doesn't help please provide more information on what you're trying
> to achieve - than it would be easier to advise.
>
> Best regards,
> Eugene
>
> "Matthew Ward" <mward@harmonia.com> wrote in message
> news:chlcn8$os9$1@eclipse.org...
>
>>I am trying to figure out if there is an easy way to retrieve the GEF
>>commandstack, any good ideas?
>
>
>
Hey, thanks a bunch. You were right on the money.
Previous Topic:GEF 3.0.1 Create Pallete Error
Next Topic:GEF Without eclipse
Goto Forum:
  


Current Time: Mon Jan 13 13:58:12 GMT 2025

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

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

Back to the top