Creating a NonExistingFileEditorInput with content? [message #334532] |
Mon, 16 February 2009 08:58  |
Eclipse User |
|
|
|
Originally posted by: vs.iist.unu.edu
Dear all,
I'm looking for a way to open a default text editor and set some content
programatically. Specifically, I'd like to avoid having to create a
temporary file with the initial content anywhere. The content of the
editor is very often just inspected by the use, or parts of it are
cut'n'pasted into other applications, but not saved. Occasionally, I'd
like to save the (possibly edited) content, and I'd like to have a Save
As... dialog pop up on closing this editor's window.
I've been peeking into the "Untitled Textfile Wizard", but couldn't find
a way to set the content of the NonExistingFileEditorInput. I appreciate
any suggestions.
Volker
--
United Nations University -
|
|
|
|
Powered by
FUDForum. Page generated in 0.03349 seconds