|how to open an empty editor at startup [message #654011]
||Sat, 12 February 2011 17:26
| Carlo Salinari
Registered: October 2010
I've made a simple rcp app with a view and a non-textual editor.
I would like the app to show an empty editor at startup, something with
a name like "Unnamed_1.ext".
I think I have to implement a sort of "New File" command that creates a
dummy file handler with the extension for which the editor is
registered, and then ask the Workbench to load it.
But how do I do that?
Where and when do I place the call to such a command?
Powered by FUDForum
. Page generated in 0.10605 seconds