[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] How to sync 2 FormPages?

hello

I am trying to create a FormEditor which operates similar to the Eclipse plugin FormEditor - ie one page provides a GUI access to a config file, whilst another page shows the raw config file contents (XML).

I have the FormEditor and pages created (using the XMLEditor template provided with Eclipse) but I can't see how to update the editor's input object when an event happens on one of the pages.

I can get a reference directly to the XMLEditor and then call setInput (and pass in a new IEditorInput instance) but this seems to have no affect.

Anyone any ideas?

Thanks
Gareth