[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-dev] Re: outline view
|
I think below link is useful for you as most of the outlines are tree based.
http://www.eclipse.org/articles/index.html
Chose the topic
How to use the JFace Tree Viewer
Thejaswi R
-----Original Message-----
From: platform-dev-admin@xxxxxxxxxxx [mailto:platform-dev-admin@xxxxxxxxxxx]
On Behalf Of platform-dev-request@xxxxxxxxxxx
Sent: Wednesday, September 08, 2004 9:30 PM
To: platform-dev@xxxxxxxxxxx
Subject: platform-dev digest, Vol 1 #239 - 2 msgs
Send platform-dev mailing list submissions to
platform-dev@xxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://dev.eclipse.org/mailman/listinfo/platform-dev
or, via email, send a message with subject or body 'help' to
platform-dev-request@xxxxxxxxxxx
You can reach the person managing the list at
platform-dev-admin@xxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of platform-dev digest..."
Today's Topics:
1. outline view (Torsten Curdt)
2. Re: outline view (Daniel Megert)
--__--__--
Message: 1
Date: Wed, 08 Sep 2004 10:13:39 +0200
From: Torsten Curdt <tcurdt@xxxxxxxxxxxxxx>
To: platform-dev@xxxxxxxxxxx
Subject: [platform-dev] outline view
Reply-To: platform-dev@xxxxxxxxxxx
Hi,
I'd like to implement something like the outline view
for ant files but for XML files of a different type.
(if you open an ant build.xml file the outline view
shows a tree with information like build targets etc)
AFAIU providing this structured overview data to the
view is done by the editor. But I cannot yet see how
this is done.
If someone could tell the class name (and the
repository) where e.g. this build.xml outline
view is being constructed - that would be great.
It probably would answer all my questions.
But of course any other links are welcome, too
Hope this was the appropriate place to ask such
a question. If not - please tell me where I should
ask instead.
cheers
--
Torsten
--__--__--
Message: 2
Subject: Re: [platform-dev] outline view
To: platform-dev@xxxxxxxxxxx
From: Daniel Megert <daniel_megert@xxxxxxxxxx>
Date: Wed, 8 Sep 2004 12:36:34 +0200
Reply-To: platform-dev@xxxxxxxxxxx
The Outline view can get its input where appropriate e.g. from a document
or an existing model. In order to be populated your editor needs to
implement the following:
/*
* @see AbstractTextEditor#getAdapter(Class)
*/
public Object getAdapter(Class required) {
if (IContentOutlinePage.class.equals(required)) {
if (fOutlinePage == null)
fOutlinePage= createOutlinePage();
return fOutlinePage;
}
... // more stuff can go here
}
Note: The correct place to ask is eclipse.platform newsgroup.
HTH
Dani
Torsten Curdt
<tcurdt@managesof
t.com> To
Sent by: platform-dev@xxxxxxxxxxx
platform-dev-admi cc
n@xxxxxxxxxxx
Subject
[platform-dev] outline view
08.09.2004 10:13
Please respond to
platform-dev@ecli
pse.org
Hi,
I'd like to implement something like the outline view
for ant files but for XML files of a different type.
(if you open an ant build.xml file the outline view
shows a tree with information like build targets etc)
AFAIU providing this structured overview data to the
view is done by the editor. But I cannot yet see how
this is done.
If someone could tell the class name (and the
repository) where e.g. this build.xml outline
view is being constructed - that would be great.
It probably would answer all my questions.
But of course any other links are welcome, too
Hope this was the appropriate place to ask such
a question. If not - please tell me where I should
ask instead.
cheers
--
Torsten
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-dev
--__--__--
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-dev
End of platform-dev Digest