Package com.volantis.mcs.eclipse.controls

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


                DevicesMessages.getImage(RESOURCE_PREFIX + "override.icon");
        restoreImage =
                DevicesMessages.getImage(RESOURCE_PREFIX + "restore.icon");

        // Create the ImageDropDownItems.
        ImageDropDownItem overrideDDI =
                new ImageDropDownItem(overrideImage,
                        OVERRIDE_MENU_TEXT, OVERRIDE_TOOLTIP_FORMAT);
        ImageDropDownItem fallbackDDI =
                new ImageDropDownItem(fallbackImage,
                        FALLBACK_MENU_TEXT, FALLBACK_TOOLTIP_FORMAT);
        ImageDropDownItem restoreDDI =
                new ImageDropDownItem(restoreImage,
                        RESTORE_MENU_TEXT, RESTORE_TOOLTIP_FORMAT);

        selectorOrigins = new PolicyOriginSelection[3];

        selectorOrigins[0] =
View Full Code Here


        }
        if (componentTextImage == null || componentTextImage.isDisposed()) {
            componentTextImage = ControlsMessages.getImage(RESOURCE_PREFIX + "component.icon");
        }
        //Menu item text and tooltip text are the same for each item.
        textItem = new ImageDropDownItem(literalTextImage, LITERAL_TEXT, LITERAL_TEXT);
        componentItem = new ImageDropDownItem(componentTextImage, COMPONENT_TEXT, COMPONENT_TEXT);

        ImageDropDownItem[] items = new ImageDropDownItem[]{
            textItem, componentItem
        };
        imageDropDown = new ImageDropDown(this, SWT.NONE, items);
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.controls.ImageDropDownItem

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.