Examples of TabFolder


Examples of org.eclipse.swt.widgets.TabFolder

        GridData gd1 = new GridData( GridData.FILL_BOTH );
        gd1.widthHint = convertHorizontalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH );
        gd1.heightHint = convertVerticalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH );
        composite.setLayoutData( gd1 );

        tabFolder = new TabFolder( composite, SWT.TOP );
        GridLayout mainLayout = new GridLayout();
        mainLayout.marginWidth = 0;
        mainLayout.marginHeight = 0;
        tabFolder.setLayout( mainLayout );
        tabFolder.setLayoutData( new GridData( GridData.FILL_BOTH ) );
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

       
        composite.setLayout(gridLayout);
        final ScrolledComposite scroll = new ScrolledComposite(composite, SWT.V_SCROLL | SWT.BORDER);
        scroll.setLayout(new FillLayout());
       
        final TabFolder tabFolder = new TabFolder(scroll, SWT.NONE);
        tabFolder.addControlListener(new ControlAdapter(){
          public void controlResized( ControlEvent e ) {
            tabFolder.setSize(parent.getSize().x, parent.getSize().y);
          }
        });
       
        scroll.setContent(tabFolder);
        parent.addControlListener(new ControlAdapter(){
          public void controlResized( ControlEvent e ) {
            tabFolder.setSize(parent.getSize().x, parent.getSize().y);
          }
        });
        scroll.setAlwaysShowScrollBars(true);
        scroll.setExpandVertical(true);
        scroll.setExpandHorizontal(true);
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

            }
        }
       
        Composite composite = (Composite) super.createDialogArea(parent);
        composite.setLayout(new FillLayout());
        final TabFolder tabFolder = new TabFolder(composite, SWT.NONE);
        createHeadersTab(tabFolder);
        createBodyTab(tabFolder);
       
        if (from != null) {
            fromText.setText(from);
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

            public void widgetSelected(SelectionEvent event) {
                globalButtonPressed();
            }
        });

        tabFolder = new TabFolder(composite, SWT.NONE);
        gd = new GridData();
        gd.horizontalSpan = 3;
        gd.grabExcessHorizontalSpace = true;
        gd.grabExcessVerticalSpace = true;
        gd.verticalAlignment = GridData.FILL;
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

            public void widgetSelected(SelectionEvent event) {
                globalButtonPressed();
            }
        });

        tabFolder = new TabFolder(composite, SWT.NONE);
        gd = new GridData();
        gd.horizontalSpan = 3;
        gd.grabExcessHorizontalSpace = true;
        gd.grabExcessVerticalSpace = true;
        gd.verticalAlignment = GridData.FILL;
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

            public void widgetSelected(SelectionEvent event) {
                globalButtonPressed();
            }
        });

        tabFolder = new TabFolder(parent, SWT.NONE);
        gd = new GridData();
        gd.horizontalSpan = 3;
        gd.grabExcessHorizontalSpace = true;
        gd.grabExcessVerticalSpace = true;
        gd.verticalAlignment = GridData.FILL;
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

        dialectCombo.setItems(DIALECTS);
        dialectCombo.select(0);
        gd = new GridData();
        dialectCombo.setLayoutData(gd);
       
        tabFolder = new TabFolder(parent, SWT.NONE);
        gd = new GridData();
        gd.horizontalSpan = 4;
        gd.grabExcessHorizontalSpace = true;
        gd.grabExcessVerticalSpace = true;
        gd.verticalAlignment = GridData.FILL;
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    /**
     * The <code>MultiPageEditor</code> implementation of this <code>IWorkbenchPart</code>
     * method creates a <code>TabFolder</code> control.
     */
    public void createPartControl(Composite parent) {
        tabFolder = new TabFolder(parent, SWT.NONE);
        tabFolder.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                sync();
            }
        });
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

  protected final Control createContents(final Composite parent) {
   
    PlatformUI.getWorkbench().getHelpSystem()
      .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));
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    }
   
   
    private void createNotificationsTabFolder()
    {
        _notificationTabFolder = new TabFolder(_form.getBody(), SWT.NONE);
        FormData layoutData = new FormData();
        layoutData.left = new FormAttachment(0);
        layoutData.top = new FormAttachment(0);
        layoutData.right = new FormAttachment(100);
        layoutData.bottom = new FormAttachment(100);
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.