|Problem with XMLMultiPageEditorPart editor [message #666392]
||Wed, 20 April 2011 05:50
| Bhuvan Mehta
Registered: July 2009
I am using XMLMultiPageEditorPart to open the xml content in read-only mode. The editor input which is passed on to XMLMultiPageEditorPart editor is instance of IStorageEditorInput which makes sure that editor should support this as a valid input type, and display its content for viewing (but not allow modification). Within the editor.
The source tab in the editor behave correctly and is read-only but the design tab in the editor which shows xml content in hierarchy in tree is modifiable and makes editor dirty on any change. Though the changes are not persisted and are reverted once user gets the cursor out of modifiable row. But as editor is read-only so no edit operations shell be allowed on editor.
Is there any way additional thing i need to do for making design page read-only or it's an issue with XMLMultiPageEditorPart editor.
Thanks and Regards,
Powered by FUDForum
. Page generated in 0.02737 seconds