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
Member
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?

Regards

/Dominic
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
Hi,

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.

Cheers,
Alex
Previous Topic:How to open a Dialog over the Toolbar
Next Topic:How to get IFile object from the file other then workspace
Goto Forum:
  


Current Time: Thu Apr 25 02:26:56 GMT 2024

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

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

Back to the top