Home » Eclipse Projects » Technology Project and PMC » selections in the workbench
selections in the workbench [message #31371] |
Wed, 16 October 2002 03:59  |
Eclipse User |
|
|
|
I have written an editor and a countent outline page.
Both let the user select elements and I want the selection to
in sync. By adding directly a selection listener to the editor and
to the countent outline page, and than, upon notification, calling
setSelection on the selection provider, leads to an infinite loop,
and besides its not very elegant: I would like the two component
to post the selection, without knowing of each other.
Surely, I miss something about selections in the workbench which
are not well documented.
I would be thankful for any help,
Carlo.
|
|
|
Re: selections in the workbench [message #31416 is a reply to message #31371] |
Wed, 16 October 2002 04:04   |
Eclipse User |
|
|
|
I would like to add to my previous message.
I see each workbench site has a selection provider. What's its role?
Should I implement it and than set it on the site, or should I use it as
I find it on the site? I tried both ways, with no success.
I want to post the selection to the other viewers
of the workbench, avoiding loops or other concerns.
Bye,
Carlo.
"exquisitus" <marchiori@cad.it> wrote in message
news:aoj4nd$ih$1@rogue.oti.com...
> I have written an editor and a countent outline page.
> Both let the user select elements and I want the selection to
> in sync. By adding directly a selection listener to the editor and
> to the countent outline page, and than, upon notification, calling
> setSelection on the selection provider, leads to an infinite loop,
> and besides its not very elegant: I would like the two component
> to post the selection, without knowing of each other.
>
> Surely, I miss something about selections in the workbench which
> are not well documented.
>
> I would be thankful for any help,
> Carlo.
>
>
|
|
|
Re: selections in the workbench [message #31472 is a reply to message #31371] |
Wed, 16 October 2002 10:36  |
Eclipse User |
|
|
|
Originally posted by: john_arthorne.o_ti.com
The eclipse.tools newsgroup would be the appropriate place for this
question.
-
exquisitus wrote:
>I have written an editor and a countent outline page.
>Both let the user select elements and I want the selection to
>in sync. By adding directly a selection listener to the editor and
>to the countent outline page, and than, upon notification, calling
>setSelection on the selection provider, leads to an infinite loop,
>and besides its not very elegant: I would like the two component
>to post the selection, without knowing of each other.
>
>Surely, I miss something about selections in the workbench which
>are not well documented.
>
>I would be thankful for any help,
>Carlo.
>
>
|
|
|
Re: selections in the workbench [message #584740 is a reply to message #31371] |
Wed, 16 October 2002 04:04  |
Eclipse User |
|
|
|
I would like to add to my previous message.
I see each workbench site has a selection provider. What's its role?
Should I implement it and than set it on the site, or should I use it as
I find it on the site? I tried both ways, with no success.
I want to post the selection to the other viewers
of the workbench, avoiding loops or other concerns.
Bye,
Carlo.
"exquisitus" <marchiori@cad.it> wrote in message
news:aoj4nd$ih$1@rogue.oti.com...
> I have written an editor and a countent outline page.
> Both let the user select elements and I want the selection to
> in sync. By adding directly a selection listener to the editor and
> to the countent outline page, and than, upon notification, calling
> setSelection on the selection provider, leads to an infinite loop,
> and besides its not very elegant: I would like the two component
> to post the selection, without knowing of each other.
>
> Surely, I miss something about selections in the workbench which
> are not well documented.
>
> I would be thankful for any help,
> Carlo.
>
>
|
|
|
Re: selections in the workbench [message #584773 is a reply to message #31371] |
Wed, 16 October 2002 10:36  |
Eclipse User |
|
|
|
The eclipse.tools newsgroup would be the appropriate place for this
question.
-
exquisitus wrote:
>I have written an editor and a countent outline page.
>Both let the user select elements and I want the selection to
>in sync. By adding directly a selection listener to the editor and
>to the countent outline page, and than, upon notification, calling
>setSelection on the selection provider, leads to an infinite loop,
>and besides its not very elegant: I would like the two component
>to post the selection, without knowing of each other.
>
>Surely, I miss something about selections in the workbench which
>are not well documented.
>
>I would be thankful for any help,
>Carlo.
>
>
|
|
|
Goto Forum:
Current Time: Tue Mar 18 14:26:35 EDT 2025
Powered by FUDForum. Page generated in 0.02932 seconds
|