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

Examples of org.apache.directory.ldapstudio.browser.ui.dialogs.ImageDialog.open()


        if ( value != null && value instanceof byte[] )
        {
            byte[] currentImageData = ( byte[] ) value;

            ImageDialog dialog = new ImageDialog( shell, currentImageData, SWT.IMAGE_JPEG );
            if ( dialog.open() == TextDialog.OK && dialog.getNewImageRawData() != null )
            {
                setValue( dialog.getNewImageRawData() );
                return true;
            }
        }
View Full Code Here


        if ( value != null && value instanceof byte[] )
        {
            byte[] currentImageData = ( byte[] ) value;

            ImageDialog dialog = new ImageDialog( shell, currentImageData, SWT.IMAGE_JPEG );
            if ( dialog.open() == TextDialog.OK && dialog.getNewImageRawData() != null )
            {
                setValue( dialog.getNewImageRawData() );
                return true;
            }
        }
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.