How to write an editor that shows the content of a folder in eclipse?
Posted
by tangens
on Stack Overflow
See other posts from Stack Overflow
or by tangens
Published on 2010-04-09T19:21:02Z
Indexed on
2010/04/09
19:23 UTC
Read the original article
Hit count: 223
eclipse-pde
|editor
Motivation
I have written an eclipse plugin that shows me a list of all files and folders with unreviewed content. When selecting a folder, I want an editor to open showing all files and subfolders that this folder contains. It has to work for versioned items, too. So I have to create the content of the editor within my plugin (no backing IResource
).
What I currently have
Right now I'm opening a RemoteFileEditorInput
for a versioned file (subclipse) or I'm using IWorkbenchPage.openEditor()
for a FileEditorInput
.
Question
What's an easy way to visualize dynamic content (directory listing) inside of an text editor?
© Stack Overflow or respective owner