Keeping in sync : StructuredTextEditor and GrapicalEditor in MultipageEditorPart [message #212898] |
Thu, 24 April 2008 10:20  |
Eclipse User |
|
|
|
Originally posted by: vidyasagar_anand.yahoo.com
I started with writing a Graphical editor embedded alongside with a
StructuredTextEditor and I need help understanding the basics of the
StructuredTextEditor. I followed this article to get started
http://www.eclipse.org/webtools/wst/components/sse/tutorials /multipage-editor-tutorial.html.
In the MultipageEditor part I have created the pages to instantiate the
Graphical and StructuredTextEditor. (I intend to use the Source Editor for
editing XML documents but because of the restriction on the
XMLMultipageEditorPart am staying away)
I want the users to be able to keep both my pages in sync.
1. How do I get access to the "model" held by the StructuredTextEditor at
the time of switching from the Source to Graphical View?
2. What kind of Listeners would I need to attach (api on the
StructuredTextEditor). An example would help a lot!!
Regards.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06126 seconds