Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » synchronize Outline/Overview with MultiPageEditor
synchronize Outline/Overview with MultiPageEditor [message #500188] Wed, 25 November 2009 09:59 Go to next message
Andreas  is currently offline Andreas Friend
Messages: 19
Registered: October 2009
Junior Member
sorry if it`s the wrong place to ask this.

i created several editors using gmf and combined them through a MPE.
1. Only the "main" editor content gets dispalyed in the overview mode of the outline view.
2. instead of 1. the property page shows the right content. but the title area of the property page also shows the name and the icon of the last chosen element from the "main" editor.

i can`t use a shared editing domain.

i tried getAdapter() but it didn`t work.

is there a similar example i didn`t find yet?

thanks in advance
Re: synchronize Outline/Overview with MultiPageEditor [message #500836 is a reply to message #500188] Sun, 29 November 2009 12:46 Go to previous message
Alex Shatalin is currently offline Alex ShatalinFriend
Messages: 141
Registered: July 2009
Senior Member
Hello Andreas,

> 1. Only the "main" editor content gets dispalyed in the overview mode
> of the outline view. 2. instead of 1. the property page shows the
You have to override getAdapter() method of the generated ???DiagramEditor
to return custom instance of IContentOutlinePage from there.

> right content. but the title area of the property page also shows the
> name and the icon of the last chosen element from the "main" editor.
Check ???SheetLabelProvider used to display these elements.

-----------------
Alex Shatalin
Previous Topic:i need help setting a node's child editpart as contents for the RootEditPart
Next Topic:Caching Edit Parts possible?
Goto Forum:
  


Current Time: Mon May 17 23:34:07 GMT 2021

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

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

Back to the top