|
|
|
|
|
Re: Customizing Outline View [message #1053038 is a reply to message #1053014] |
Thu, 02 May 2013 07:31 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Have a look at
org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider.ViewerRefresh.refresh(IViewerNotification).
That's probably what's being used. Or they've got some other
technique to call the viewer's update method.
On 02/05/2013 1:26 AM, Phil H wrote:
> Hi Ed,
>
> thanks for the hint with incubator spy.
>
> I forgot to mention that I used this article
> (http://www.eclipse.org/articles/article.php?file=Article-Integrating-EMF-GMF-Editors/index.html)
> to integrate EMF and GMF. As mentioned in the article it's possible to
> hide the diagram elements by using a ViewerFilter[] in the
> getContentOutlinePage() method, which works perfectly for me.
>
> Unfortunately I haven't resolved the expanding nodes problem yet. With
> the Treeviewer expandAll method, I'm able to expand all nodes on start
> up, but when an element is added to the diagram, the outline view
> collapse automatically. But I have no clue which method is reponsible
> for refreshing the outline view
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03286 seconds