Editor and View [message #152852] |
Tue, 05 October 2004 18:58 |
Eclipse User |
|
|
|
Originally posted by: dakanalis.ced.tuc.gr
Hello!!!
I want to ask if there is any way to communicate an EditorPart ( GEF Editor)
with a ViewPart (a view in the eclipse worckbench). I have create my own
editor and view as extension in the same plugin and I wonder if GEF has any
class or interface in order to reserve the communication between the editor
and the view. i.e If I have selected a component in the canvas I want to
see it's name in a Text field in the View.
Any idea!!!
Thanks!!!
|
|
|
Re: Editor and View [message #152897 is a reply to message #152852] |
Tue, 05 October 2004 20:55 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
This issue is not something GEF tries to solve. Look at PageBookView in the
platform and its subclasses. Also, look at the SelectionService and
consider having a page which observes selection and displays the appropriate
controls.
BTW, the PropertiesView already exists in Eclipse and can probably be used
for what you are describing. You can use the default table-based
appearance, or completely replace the table with your own custom page. See
PropertiesView for help.
"TTT" <dakanalis@ced.tuc.gr> wrote in message
news:cjuqj8$eca$1@eclipse.org...
> Hello!!!
>
> I want to ask if there is any way to communicate an EditorPart ( GEF
Editor)
> with a ViewPart (a view in the eclipse worckbench). I have create my own
> editor and view as extension in the same plugin and I wonder if GEF has
any
> class or interface in order to reserve the communication between the
editor
> and the view. i.e If I have selected a component in the canvas I want to
> see it's name in a Text field in the View.
>
> Any idea!!!
>
> Thanks!!!
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02859 seconds