Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Providing a SelectionProvider from within a FormPage that is part of a FormEditor
Providing a SelectionProvider from within a FormPage that is part of a FormEditor [message #448730] Sun, 30 April 2006 17:59 Go to next message
Eclipse UserFriend
Hi,

I'm wondering if it is possible to supply a SelectionProvider from
within and special to a FormPage in a Form Editor. I guessed it might be
possible by just setting it (getSite().setSelectionProvider) on
activation ... but this won't work.

Are there any tricks to do this or am I stuck?

Regards

Peter
Re: Providing a SelectionProvider from within a FormPage that is part of a FormEditor [message #448734 is a reply to message #448730] Mon, 01 May 2006 04:42 Go to previous message
Eclipse UserFriend
OK: getSite().setSelectionProvider is working from a FormPage - my fault.
Since the SelectionProvider is set after creation of the actions these
will get hooked only after deactivation and reactivation of the editor.


Peter Kliem wrote:
> Hi,
>
> I'm wondering if it is possible to supply a SelectionProvider from
> within and special to a FormPage in a Form Editor. I guessed it might be
> possible by just setting it (getSite().setSelectionProvider) on
> activation ... but this won't work.
>
> Are there any tricks to do this or am I stuck?
>
> Regards
>
> Peter
Previous Topic:I'm lost with this error!!!
Next Topic:is it possible to only open one editor at a time
Goto Forum:
  


Current Time: Sun Aug 31 05:55:24 EDT 2025

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

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

Back to the top