Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » outline view howto
outline view howto [message #148065] Thu, 23 October 2003 04:13 Go to next message
Eclipse UserFriend
can someone point me to the steps I should take in order to show the ouline
view in my editor, or perhaps an article showing this
regards
Re: outline view howto [message #148121 is a reply to message #148065] Thu, 23 October 2003 06:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

debianman wrote:

>can someone point me to the steps I should take in order to show the ouline
>view in my editor, or perhaps an article showing this
>regards
>
>
>
Create your own outline page (as an example see JavaOutlinePage) and
ensure that you have getAdapter(Class) in your editor which looks like:

public Object getAdapter(Class required) {

if (IContentOutlinePage.class.equals(required)) {
if (fOutlinePage == null)
fOutlinePage= createOutlinePage();
return fOutlinePage;
}
...
}

Dani
Re: outline view howto [message #148367 is a reply to message #148121] Thu, 23 October 2003 08:44 Go to previous message
Eclipse UserFriend
thanks !
"Daniel Megert" <daniel.megert@gmx.net> schrieb im Newsbeitrag
news:bn8c3h$2pb$1@eclipse.org...
> debianman wrote:
>
> >can someone point me to the steps I should take in order to show the
ouline
> >view in my editor, or perhaps an article showing this
> >regards
> >
> >
> >
> Create your own outline page (as an example see JavaOutlinePage) and
> ensure that you have getAdapter(Class) in your editor which looks like:
>
> public Object getAdapter(Class required) {
>
> if (IContentOutlinePage.class.equals(required)) {
> if (fOutlinePage == null)
> fOutlinePage= createOutlinePage();
> return fOutlinePage;
> }
> ...
> }
>
> Dani
>
Previous Topic:Launching Eclipse from Eclipse
Next Topic:browse is finding nothing
Goto Forum:
  


Current Time: Fri Apr 25 21:44:26 EDT 2025

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

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

Back to the top