Examples of ISelectionStatusValidator


Examples of org.eclipse.ui.dialogs.ISelectionStatusValidator

    /**
     * Creates a special validator that considers that items may be gotten from what's filtered (not only actually selected).
     */
    private ISelectionStatusValidator createValidator() {
        return new ISelectionStatusValidator() {

            public IStatus validate(Object[] selection) {
                if (selection != null && selection.length == 1) {
                    return new Status(IStatus.OK, PydevPlugin.getPluginID(), getEntry(selection[0].toString()));
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.