Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.TabFolder


        parent.setLayout(new GridLayout(2, false));
        parent.setLayoutData(new GridData(GridData.FILL_BOTH));

        Composite listComposite = new Composite(parent, SWT.NONE);

        final TabFolder tabFolder = new TabFolder(parent, SWT.NONE);
        tabFolder.setLayout(new GridLayout(1, false));
        tabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));
        createAttributesTab(tabFolder, "Test Label");


        listComposite.setLayout(new GridLayout(2, false));
View Full Code Here


    if ((!parentComposite.isDisposed() && (composite == null || composite
        .isDisposed()))) {
      composite = new Composite(parentComposite, SWT.NONE);
      composite.setLayout(new FillLayout());

      final TabFolder tabFolder = new TabFolder(composite, SWT.BOTTOM);
      tabFolder.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true,
          true, 1, 1));
      tabFolder.setLayout(new FillLayout());

      TabItem gTabItem = new TabItem(tabFolder, SWT.NONE);
      gTabItem.setText("ratings to goals");

      TabItem pTabItem = new TabItem(tabFolder, SWT.NONE);
View Full Code Here

      @Override
      public void widgetDefaultSelected(SelectionEvent e) {
      }
    });

    final TabFolder tabFolder = new TabFolder(composite, SWT.BOTTOM);
    tabFolder.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1,
        1));

    TabItem siTabItem = new TabItem(tabFolder, SWT.NONE);
    siTabItem.setText("Solution Instruments <-> Goals");

    TabItem spTabItem = new TabItem(tabFolder, SWT.NONE);
    spTabItem.setText("Solution Principles <-> Goals");

    TabItem sipTabItem = new TabItem(tabFolder, SWT.NONE);
    sipTabItem.setText("Solution Instruments <-> Solution Principles");

    tabFolder.setSelection(lastSelectedTagItemIndex);

    tabFolder.addSelectionListener(new SelectionListener() {

      @Override
      public void widgetSelected(SelectionEvent e) {
        lastSelectedTagItemIndex = tabFolder.getSelectionIndex();

      }

      @Override
      public void widgetDefaultSelected(SelectionEvent e) {
View Full Code Here

    public void createControl(Composite parent) {
        setTitle("IvyDE Managed Libraries");
        setDescription("Choose ivy file and its configurations.");

        tabs = new TabFolder(parent, SWT.BORDER);
        tabs.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));

        TabItem mainTab = new TabItem(tabs, SWT.NONE);
        mainTab.setText("Main");
        mainTab.setControl(createMainTab(tabs));
View Full Code Here

    super(parent, SWT.WRAP);
    GridLayout gridLayout = new GridLayout();
    gridLayout.numColumns = 1;
    setLayout(gridLayout);

    TabFolder tFolder = new TabFolder(this, SWT.WRAP);

    // TabItem failures = new TabItem(tFolder, SWT.NONE);
    // failures.setText("Failures");
    // Text failuresText = new Text(tFolder, SWT.BORDER | SWT.MULTI);
    // failuresText.setText("Failures Info");
    // failures.setControl(failuresText);
    //   
    // TabItem falsePositives = new TabItem (tFolder,SWT.NONE);
    // falsePositives.setText("False Positives");
    // Text fPositivesText = new Text (tFolder, SWT.BORDER | SWT.MULTI);
    // fPositivesText.setText("False Positives");
    // falsePositives.setControl(fPositivesText);
    //   
    // TabItem falseNegatives = new TabItem (tFolder,SWT.NONE);
    // falseNegatives.setText("False Negatives");
    // Text fNegativesText = new Text(tFolder, SWT.BORDER | SWT.MULTI);
    // fNegativesText.setText("False Negatives");
    // falseNegatives.setControl(fNegativesText);

    TabItem failuresTab = createTab(tFolder, "Failures", "Insert Failures here");
    TabItem fPositivesTab = createTab(tFolder, "FPositives", "Insert false positives here");
    TabItem fNegativesTab = createTab(tFolder, "FNegatives", "Insert false negatives here");

    GridData tFolderData = new GridData();
    tFolderData.horizontalAlignment = GridData.FILL;
    tFolderData.verticalAlignment = GridData.FILL;
    tFolderData.horizontalSpan = 1;
    tFolderData.grabExcessHorizontalSpace = true;
    tFolderData.grabExcessVerticalSpace = true;
    tFolder.setLayoutData(tFolderData);
  }
View Full Code Here

            super(parent, style);

            this.setLayoutData(new GridData(GridData.FILL_BOTH));
            this.setLayout(new GridLayout(1, true));

            tabFolder = new TabFolder(parent, SWT.NULL);
            tabFolder.setLayout(new GridLayout());
            tabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));
            tabFolder.addSelectionListener(new SelectionAdapter() {
                @Override
                public void widgetSelected(SelectionEvent e) {
View Full Code Here

    public void createControl(Composite parent) {
        Composite mainComposite = new Composite(parent, SWT.NONE);
        mainComposite.setLayout(new GridLayout(2, false));
        mainComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
       
        tabFolder = new TabFolder(mainComposite, SWT.NONE);
        GridData data = new GridData(GridData.FILL_BOTH);
        data.minimumHeight = 300;
        tabFolder.setLayoutData(data);

        variablesTableViewer = createTableViewer(tabFolder, 200, 300, null);
View Full Code Here

    @Override
    protected Control createDialogArea(Composite parent) {
        getShell().setText(Messages.getString("BSHEditor.title"));

        tabFolder = new TabFolder(parent, SWT.BORDER);
        tabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));
        tabFolder.addSelectionListener(new TabSelectionHandler());

        Composite constructorView = new Composite(tabFolder, SWT.NONE);
        constructorView.setLayout(new GridLayout());
View Full Code Here

        shell.setVisible(false);
      }
    });
    shell.setVisible(false);
    shell.setLayout(new FillLayout());
    TabFolder tabFolder = new TabFolder(shell, SWT.FILL);
    tabFolder.setLayout(new FillLayout());

    TabItem transportationTabItem = new TabItem(tabFolder, SWT.FILL);
    transportationTabItem.setText("传输管理");
    transmissionPane = new TransferPane(tabFolder, client);
    transportationTabItem.setControl(transmissionPane);
View Full Code Here

    @Override
    protected Control createDialogArea(Composite parent) {
        getShell().setText(Messages.getString("SQLActionHandlerConfig.title"));

        tabFolder = new TabFolder(parent, SWT.BORDER);
        tabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));

        Composite composite = new Composite(tabFolder, SWT.NONE);
        composite.setLayout(new GridLayout());
View Full Code Here

TOP

Related Classes of org.eclipse.swt.widgets.TabFolder

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.