Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Checking validity of content of an Editor?
Checking validity of content of an Editor? [message #604769] Mon, 22 February 2010 15:35
fwn  is currently offline fwn Friend
Messages: 10
Registered: January 2010
Junior Member

in my Application I use an org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditor Part to edit XML Files. With help of the wst valitation framework this Editor validates the displayed XML File against an XSD File and displays found errors using the standard error markers.
I now would like to throw a warning if the user attempts to save an invalid xml file or may be prevent saving entirely, is there any way to check if the current content of an editor is valid/has any error markers?
Previous Topic:Headless PDE build: incorrect compile*.xml script
Next Topic:Disable save for launchConfiguration.launch?
Goto Forum:

Current Time: Mon Apr 23 07:50:32 GMT 2018

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

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