Examples of UnavailablePreview


Examples of com.volantis.mcs.eclipse.controls.UnavailablePreview

        stackComposite.setLayoutData(gd4);
        stack = new StackLayout();
        stackComposite.setLayout(stack);

        // Create the initial unavailable preview.
        unavailablePreview = new UnavailablePreview(stackComposite, SWT.NONE);

        // Note: It is unclear why the StackLayout must access the Preview's
        // group here rather than just the preview. There may be a bug with
        // SWT groups/composites/stacklayouts. Within the Preview class,
        // delegating setVisible(boolean) to the Preview's group results
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.UnavailablePreview

    public ImageAssetPreviewer(Composite container,
                             int style,
                             ImageData image) {

        if (image == null) {
            preview = new UnavailablePreview(container, style);
        } else {
            // Create the SWT Image from the passed image data and create
            // a preview for it. When the preview control is destroyed, the
            // Image is is displaying will be destroyed with it.
            final Image swtImage = new Image(null, image);
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.