Package org.apache.directory.ldapstudio.browser.common.dialogs

Examples of org.apache.directory.ldapstudio.browser.common.dialogs.TextDialog


    public boolean openDialog( Shell shell )
    {
        Object value = getValue();
        if ( value != null && value instanceof String )
        {
            TextDialog dialog = new TextDialog( shell, ( String ) value );
            if ( dialog.open() == TextDialog.OK && !"".equals( dialog.getText() ) )
            {
                setValue( dialog.getText() );
                return true;
            }
        }
        return false;
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.common.dialogs.TextDialog

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.