Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Content outline trigger?
Content outline trigger? [message #234668] Mon, 28 May 2007 15:12 Go to next message
Dominic Hanlan is currently offline Dominic HanlanFriend
Messages: 98
Registered: July 2009
How do I attach a content outline to my graphical viewer. I looked at
the examples and can't see what it is that triggers the showing of the
content outline view. What causes the getAdapter to be called with
IContentOutline as the adapter? Is it just the model content containing
elements that implement IPropertySource?


Re: Content outline trigger? [message #234697 is a reply to message #234668] Mon, 28 May 2007 20:33 Go to previous message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member

Take a look at the LogicEditor class there is an inner class OutlinePage -
this is the one that creates content outline for the editor. The call to
#getAdapter() on your editor for creation of outline view is triggered by
ContentOutline#doCreatePage() method.
Hope this helps.

Previous Topic:How to open a Dialog over the Toolbar
Next Topic:Which is better for a image editor- SWT/GEF/SWING
Goto Forum:

Current Time: Mon Aug 15 17:09:07 GMT 2022

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

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

Back to the top