Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Views synchronization
Views synchronization [message #228920] Tue, 05 May 2009 15:45 Go to next message
José is currently offline JoséFriend
Messages: 18
Registered: July 2009
Junior Member
Hi all,

I'm trying to synchronize the diagram editor, a common navigator and the
tabbed property view. But I don't get good result, now, I have
synchronized only the common navigator with the diagram editor. I need
help to make the next syncs:
DIAGRAM EDITOR ---> COMMON NAVIGATOR; When I select a figure in the
editor, its must be selected in the navigator.
COMMON NAVIGATOR ----> PROPERTY SECTION; When I select a EObject in the
navigator, the property section that corresponds to this EObject must be
shown.

Any suggestions to do that??? All would be really appreciated.

Thanks in advance
Re: Views synchronization [message #228984 is a reply to message #228920] Wed, 06 May 2009 13:35 Go to previous message
Frank Gerhardt is currently offline Frank GerhardtFriend
Messages: 81
Registered: July 2009
Member
Jose Carlos schrieb:
> Hi all,
>
> I'm trying to synchronize the diagram editor, a common navigator and the
> tabbed property view. But I don't get good result, now, I have
> synchronized only the common navigator with the diagram editor. I need
> help to make the next syncs:
> DIAGRAM EDITOR ---> COMMON NAVIGATOR; When I select a figure in the
> editor, its must be selected in the navigator.

Make the editor a selection provider and make the CN a listener using
the selection service.

Frank.

--
Dr. Frank Gerhardt

Gerhardt Informatics Kft.
http://www.GerhardtInformatics.com
--
SENS-Expert http://www.SoftwareExperts.de
Previous Topic:Putting context menu entries on top
Next Topic:Problem getUndoHistory (triggeredOperation) [eclipse 3.3 vs 3.4] from PropertyView
Goto Forum:
  


Current Time: Tue Nov 21 08:24:40 GMT 2017

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

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