Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » The right Editor
The right Editor [message #31840] Mon, 10 November 2008 08: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:How to customise the Run Configuration so required Projects (and Classes in those) are resolved succ
Next Topic:The right Editor
Goto Forum:
  


Current Time: Fri Jul 04 16:52:10 EDT 2025

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

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

Back to the top