Examples of TabFolder


Examples of org.eclipse.swt.widgets.TabFolder

            super
                .setMessage( Messages.getString( "ConnectionPropertyPage.Connection" ) + Utils.shorten( connection.getName(), 30 ) ); //$NON-NLS-1$

            pages = ConnectionParameterPageManager.getConnectionParameterPages();

            tabFolder = new TabFolder( parent, SWT.TOP );

            tabs = new TabItem[pages.length];
            for ( int i = 0; i < pages.length; i++ )
            {
                Composite composite = new Composite( tabFolder, SWT.NONE );
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    Widgets.onTabFolder( null );
  }

  @Test
  public void testTabFolderCompositeDoesNotCache() {
    TabFolder widget = mock( TabFolder.class );

    WidgetDecorator<TabFolderDecorator> decorator1 = Widgets.onTabFolder( widget );
    WidgetDecorator<TabFolderDecorator> decorator2 = Widgets.onTabFolder( widget );

    assertNotSame( decorator1, decorator2 );
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    Composite composite = new Composite(parent, SWT.NONE);
    composite.setLayout(new GridLayout());
    composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));

    folder = new TabFolder(composite, SWT.NONE);
    folder.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
    folder.addSelectionListener(new SelectionAdapter() {
      @Override
      public void widgetSelected(SelectionEvent e) {
        updateUI(false);
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    {
        viewPage = new RepositoriesView(this);

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

        TabFolder folder = new TabFolder(control, SWT.TOP);

        TabItem view = new TabItem(folder, SWT.NONE);
        view.setText("Repositories");
        view.setControl(viewPage.createContents(folder));

        control.setLayout(new GridLayout(1, true));
        folder.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));

        return control;
    }
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    @Override
    protected Control createContents(final Composite parent) {
        final Composite composite = new Composite(parent, SWT.NONE);
        composite.setLayout(new FillLayout(SWT.HORIZONTAL));
        final TabFolder tabFolder = new TabFolder(composite, SWT.NONE);

        // /////////////////////////////////////
        final TabItem optionsTab = new TabItem(tabFolder, SWT.NONE);
        optionsTab.setText("Options");
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    @Override
    protected Control createContents(final Composite parent) {
        final Composite composite = new Composite(parent, SWT.NONE);
        composite.setLayout(new FillLayout(SWT.HORIZONTAL));
        final TabFolder tabFolder = new TabFolder(composite, SWT.NONE);

        // /////////////////////////////////////
        final TabItem sourceTab = new TabItem(tabFolder, SWT.NONE);
        sourceTab.setText("Source");
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

        // toolbars and menu
        createActionBars();

        // children
        final TabFolder tabFolder = createTabs(parent);
        addNodesTab(tabFolder);
        addProcessesTab(tabFolder);
        addFunctionsTab(tabFolder);
    }
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

        startStopAction.setToolTipText(START_LABEL);
        getViewSite().getActionBars().getToolBarManager().add(startStopAction);
    }

    private TabFolder createTabs(final Composite parent) {
        final TabFolder tabFolder = new TabFolder(parent, SWT.BORDER);
        tabFolder.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
        return tabFolder;
    }
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

        this.project = project;
        this.retrieveSetup = retrieveSetup;
    }

    protected Control createDialogArea(Composite parent) {
        TabFolder tabs = new TabFolder(parent, SWT.BORDER);

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

Examples of org.eclipse.swt.widgets.TabFolder

    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
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.