[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-ui-dev] Java Outline View on a non-file input
|
Please ask questions which are not related to the development of JDT UI in
the newsgroups (eclipse.tools.jdt).
Dani
Peter Pipenbacher
<p.pipenbacher@we
b.de> To
Sent by: jdt-ui-dev@xxxxxxxxxxx
jdt-ui-dev-bounce cc
s@xxxxxxxxxxx
Subject
[jdt-ui-dev] Java Outline View on a
16.01.2007 14:18 non-file input
Please respond to
"Eclipse JDT UI
developers list."
<jdt-ui-dev@eclip
se.org>
Hi,
I am opening a (read-only) Java editor on an non-file input source (which
actually is a file that I get from a remote system).
I have implemented my own IStorage and IStorageEditorInput to get the file
content from the remote file system (see
http://wiki.eclipse.org/index.php/FAQ_How_do_I_open_an_editor_on_something_that_is_not_a_file%3F
)
That all works fine and the editor shows the Java file with syntax
highlighting. But the outline view remains empty. I have been debugging and
researching a bit and the Outline View seems to require the editor input to
implement IFileEditorInput.
Does this mean that the Outline View is only available for files?
Is there a way to make the Outline View available for non IFile objects?
Or do I have to download the remote file to the local system and than use
an IFileEditorInput? But this solution sounds a bit odd to me since I do
not understand why an Outline View can only work on physical files and not
on any kind of content.
Thanks for your help,
Peter
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-ui-dev