Package com.volantis.mcs.eclipse.ab.editors.dom.validation

Examples of com.volantis.mcs.eclipse.ab.editors.dom.validation.ValidationListener


        // Create a ValidationListener and add it to the XMLValidator
        // associated with the ODOMEditorContext so that we are notified
        // when validation occurs allowing us to refresh and if necessary
        // redecorate images that indicate or should not now indecate errors.
        validationListener = new ValidationListener() {
            public void validated() {
                refresh();
            }
        };
        context.addValidationsListener(validationListener);
View Full Code Here


        // notified whenever any of the contexts root elements are updated
        context.addChangeListener(rootElementListener);

        // Also want to update the tree whenever validation occurs as a
        // node may require decorating
        ValidationListener validationListener = new ValidationListener() {
            public void validated() {
                if (!treeViewer.getControl().isDisposed()) {
                    treeViewer.getControl().getDisplay().asyncExec(new Runnable() {
                        public void run() {
                            // ensure that the widget still exists when this
View Full Code Here

        // Create a ValidationListener and add it to the XMLValidator
        // associated with the ODOMEditorContext so that we are notified
        // when validation occurs allowing us to refresh and if necessary
        // redecorate images that indicate or should not now indicate errors.
        final ValidationListener validationListener = new ValidationListener() {
            public void validated() {
                if (!treeViewer.getControl().isDisposed()) {
                    treeViewer.getControl().getDisplay().asyncExec(new Runnable() {
                        public void run() {
                            // ensure that the widget still exists when this
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.ab.editors.dom.validation.ValidationListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.