Examples of TabItem


Examples of org.eclipse.swt.widgets.TabItem

        gd.grabExcessHorizontalSpace = true;
        gd.grabExcessVerticalSpace = true;
        gd.verticalAlignment = GridData.FILL;
        gd.horizontalAlignment = GridData.FILL;
        tabFolder.setLayoutData(gd);
        TabItem textEditorTab = new TabItem(tabFolder, SWT.NONE);
        textEditorTab.setText("Textual Editor");

        textEditorTab.setControl(createTextualEditor(tabFolder));
        return composite;
    }
View Full Code Here

Examples of org.eclipse.swt.widgets.TabItem

        gd.grabExcessHorizontalSpace = true;
        gd.grabExcessVerticalSpace = true;
        gd.verticalAlignment = GridData.FILL;
        gd.horizontalAlignment = GridData.FILL;
        tabFolder.setLayoutData(gd);
        TabItem textEditorTab = new TabItem(tabFolder, SWT.NONE);
        textEditorTab.setText("Textual Editor");

        textEditorTab.setControl(createTextualEditor(tabFolder));
        return tabFolder;
    }
View Full Code Here

Examples of org.eclipse.swt.widgets.TabItem

      .setHelp(parent, IWorkbenchHelpContextIds.KEYS_PREFERENCE_PAGE);
   
    tabFolder = new TabFolder(parent, SWT.NULL);

    // View tab
    final TabItem viewTab = new TabItem(tabFolder, SWT.NULL);
    viewTab.setText(Util.translateString(RESOURCE_BUNDLE, "viewTab.Text")); //$NON-NLS-1$
    viewTab.setControl(createViewTab(tabFolder));

    // Modify tab
    final TabItem modifyTab = new TabItem(tabFolder, SWT.NULL);
    modifyTab.setText(Util.translateString(RESOURCE_BUNDLE,
        "modifyTab.Text")); //$NON-NLS-1$
    modifyTab.setControl(createModifyTab(tabFolder));

    // Do some fancy stuff.
    applyDialogFont(tabFolder);
    final IPreferenceStore store = getPreferenceStore();
    final int selectedTab = store
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.