Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to link multipage editor to source code file?
How to link multipage editor to source code file? [message #258539] Fri, 13 June 2008 17:01
Eclipse UserFriend
Originally posted by: tchurch+eclipse.nullring.com

I am trying to develop a simple multipage editor that has 2 pages. The
first page is an eclipse form with a couple input fields, and the second
page is the source xml file. I am able to create both pages, but I am
missing a fundamental concept - how do I link the form page to the source
xml file? In other words, how can I have the input on the form page
automatically update the related field in the xml file when it is edited?

Does anyone have a simple example of how this works?

I have searched through the newsgroup and read through the help, but this
has not been clear to me. I have tried to trace through the code for the
Plugin Manifest Editor but have been unable to follow it.

My assumption is that I need some sort of listener on the input field,
probably a ModifyListener, which will open the xml file, parse it for the
correct field, update the field, and then refresh the source page. Is
this the correct approach?
Previous Topic:Can't get Ganymede going right? data explorer
Next Topic:Apache Derby with Eclipse
Goto Forum:
  


Current Time: Wed Jul 17 23:29:22 GMT 2024

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

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

Back to the top