Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Editor and View
Editor and View [message #152852] Tue, 05 October 2004 18:58 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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!!!
>
>
Previous Topic:Some questions about using EMF in GEF and the draw2d control figures
Next Topic:Layout information?
Goto Forum:
  


Current Time: Wed Jan 15 20:34:02 GMT 2025

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

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

Back to the top