|The right Editor [message #31840]
||Mon, 10 November 2008 13:52
Originally posted by: ii5840.fh-wedel.de|
I am going to create a plugin having a own Editor. A typically Input of
these Editor is a XML file which contains some configurations data and a
list of further files required. At least 2 more files defined this way
so the file opened by a double-click leads to 2 (or more) files needed too.
I guess I automatically got a FileEditorInput when the user
double-clicked the "main" XML file. Whats the right way to open the
contents of this file and the ones defined in it ? Which Editor should I
extend ? Until now I use a EditorPart, but maybe a MultiEditorPart is a
better choose ?
As a hint: The files defined in the main XML always depends on the main
file. So save the main would cause save of the dependend. Same with
open. Splitting the my data into multiple files is just because a
modular system the data represent.
Thanks for your help.
Powered by FUDForum
. Page generated in 0.01784 seconds