Package org.eclipse.ui.internal

Examples of org.eclipse.ui.internal.RadioMenu


            dockCascade = new MenuItem(menu, SWT.CASCADE, index++);
            {
              dockCascade.setText(WorkbenchMessages.TrimCommon_DockOn);
             
              sidesMenu = new Menu(dockCascade);
              radioButtons = new RadioMenu(sidesMenu, radioVal);
             
            radioButtons.addMenuItem(WorkbenchMessages.TrimCommon_Top, new Integer(SWT.TOP));
            radioButtons.addMenuItem(WorkbenchMessages.TrimCommon_Bottom, new Integer(SWT.BOTTOM));
            radioButtons.addMenuItem(WorkbenchMessages.TrimCommon_Left, new Integer(SWT.LEFT));
            radioButtons.addMenuItem(WorkbenchMessages.TrimCommon_Right, new Integer(SWT.RIGHT));
View Full Code Here


        MenuItem orientationItem = new MenuItem(menu, SWT.CASCADE, index);
        {
            orientationItem.setText(WorkbenchMessages.FastViewBar_view_orientation);

            Menu orientationSwtMenu = new Menu(orientationItem);
            RadioMenu orientationMenu = new RadioMenu(orientationSwtMenu,
                    currentOrientation);
            orientationMenu
                    .addMenuItem(
                            WorkbenchMessages.FastViewBar_horizontal, new Integer(SWT.HORIZONTAL));
            orientationMenu
                    .addMenuItem(
                            WorkbenchMessages.FastViewBar_vertical, new Integer(SWT.VERTICAL));

            orientationItem.setMenu(orientationSwtMenu);
        }
View Full Code Here

            dockCascade = new MenuItem(menu, SWT.CASCADE, index++);
            {
              dockCascade.setText(WorkbenchMessages.TrimCommon_DockOn);
             
              sidesMenu = new Menu(dockCascade);
              radioButtons = new RadioMenu(sidesMenu, radioVal);
             
            radioButtons.addMenuItem(WorkbenchMessages.TrimCommon_Top, new Integer(SWT.TOP));
            radioButtons.addMenuItem(WorkbenchMessages.TrimCommon_Bottom, new Integer(SWT.BOTTOM));
            radioButtons.addMenuItem(WorkbenchMessages.TrimCommon_Left, new Integer(SWT.LEFT));
            radioButtons.addMenuItem(WorkbenchMessages.TrimCommon_Right, new Integer(SWT.RIGHT));
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.RadioMenu

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.