Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] Java Outline View on a non-file input

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



Back to the top