Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » The right Editor
The right Editor [message #584633] Mon, 10 November 2008 13:52
Eclipse UserFriend
Originally posted by: ii5840.fh-wedel.de

Hi again!

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.
Jan Bernitt
Previous Topic:The right Editor
Next Topic:Add/Remove buttons at a views toolbar
Goto Forum:
  


Current Time: Thu Aug 05 20:28:56 GMT 2021

Powered by FUDForum. Page generated in 0.02377 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top