CommandStacks in GEF [message #150028] |
Tue, 07 September 2004 22:32 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02761 seconds