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 #31840] Mon, 10 November 2008 13:52
Eclipse UserFriend
Originally posted by:

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: Thu Aug 05 12:29:04 GMT 2021

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

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

Back to the top