Examples of CTabFolder


Examples of org.eclipse.swt.custom.CTabFolder

   * @param tltmPaste the tltm paste
   */
  private void buildTabFolder(final ToolItem tltmSave,
      final ToolItem tltmCut, final ToolItem tltmCopy,
      final ToolItem tltmPaste) {
    tabs = new CTabFolder(this, SWT.BORDER);
    tabs.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
    tabs.setSimple(false);
    tabs.setBounds(140, 38, 508, 340);
    tabs.setSelectionBackground(Display.getCurrent().getSystemColor(SWT.COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT));
    new Label(this, SWT.NONE);
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

                handleKeySelected(keyName);
            }
        });
        GridDataFactory.swtDefaults().align(SWT.BEGINNING, SWT.CENTER).hint(300, SWT.DEFAULT).applyTo(combo);

        CTabFolder tabFolder = new CTabFolder(this, SWT.NONE);
        GridDataFactory.swtDefaults().align(SWT.FILL, SWT.FILL).grab(true, true).span(2, 1).applyTo(tabFolder);

        CTabItem pathsItem = new CTabItem(tabFolder, SWT.NONE);
        pathsItem.setText("Paths");
        tabFolder.setSelection(pathsItem);
        pathsTableViewer = new TableViewer(tabFolder, SWT.NONE);
        pathsTableViewer.getTable().setLinesVisible(true);
        pathsTableViewer.setContentProvider(new ArrayContentProvider());
        // pathLabelProvider = new PathLabelProvider();
        // pathsTableViewer.setLabelProvider(pathLabelProvider);
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

        // Right top: object viewer
        SashForm rightSashForm = getWidgetFactory().createSashForm(mainSashForm, SWT.VERTICAL);
        dataItemViewer = createDataItemViewer(rightSashForm);

        // Right bottom 1: attribute viewer
        CTabFolder tabFolder = new CTabFolder(rightSashForm, SWT.BORDER | SWT.BOTTOM | SWT.FLAT);
        CTabItem attributeTab = new CTabItem(tabFolder, SWT.NONE);
        attributeTab.setText("Attribute");
        attributeViewer = new AttributeViewer(tabFolder, SWT.NONE);
        attributeTab.setControl(attributeViewer);
        tabFolder.setSelection(attributeTab);

        CTabItem dictionaryTab = new CTabItem(tabFolder, SWT.NONE);
        dictionaryTab.setText("Dictionary");
        dictionaryViewer = new DictionaryViewer(tabFolder, SWT.NONE);
        dictionaryViewer.setDatasetBrowser(datasetBrowser);
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

    /**
     * {@inheritDoc}
     */
    public void createPartControl( Composite parent )
    {
        tabFolder = new CTabFolder( parent, SWT.BOTTOM );

        ocdTab = new CTabItem( tabFolder, SWT.NONE );
        ocdTab.setText( "Object Classes" );
        ocdTab.setImage( BrowserUIPlugin.getDefault().getImage( BrowserUIConstants.IMG_OCD ) );
        ocdPage = new ObjectClassDescriptionPage( this );
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

        "icon/cbe-icon.png").createImage());

    Composite compositeRoot = new Composite(parent, SWT.BORDER);
    compositeRoot.setLayout(new FillLayout());

    tabFolder = new CTabFolder(compositeRoot, SWT.NONE);
    tabFolder.setSimple(false);

    tabFolder.addSelectionListener(new SelectionAdapter()
    {
      public void widgetSelected(SelectionEvent event)
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

        "icon/cbe-icon.png").createImage());

    Composite compositeRoot = new Composite(parent, SWT.BORDER);
    compositeRoot.setLayout(new FillLayout());

    tabFolder = new CTabFolder(compositeRoot, SWT.NONE);
    tabFolder.setSimple(false);

    tabFolder.addSelectionListener(new SelectionAdapter()
    {
      public void widgetSelected(SelectionEvent event)
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

        "icon/cbe-icon.png").createImage());

    Composite compositeRoot = new Composite(parent, SWT.BORDER);
    compositeRoot.setLayout(new FillLayout());

    tabFolder = new CTabFolder(compositeRoot, SWT.NONE);
    tabFolder.setSimple(false);

    tabFolder.addSelectionListener(new SelectionAdapter()
    {
      public void widgetSelected(SelectionEvent event)
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

    /**
     * {@inheritDoc}
     */
    public void createPartControl( Composite parent )
    {
        tabFolder = new CTabFolder( parent, SWT.BOTTOM );

        ocdTab = new CTabItem( tabFolder, SWT.NONE );
        ocdTab.setText( "Object Classes" );
        ocdTab.setImage( BrowserUIPlugin.getDefault().getImage( BrowserUIConstants.IMG_OCD ) );
        ocdPage = new ObjectClassDescriptionPage( this );
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

      }

    };
    chartsSection.addExpansionListener(listener);
    createSection.addExpansionListener(listener);
    CTabFolder flt = new CTabFolder(chartsSection, SWT.BOTTOM);
    chartsSection.setClient(flt);
    createAnalisysParts(flt);
    overview.setLayout(new GridLayout(1, true));
    return overview;
  }
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

  }

  @Override
  public void createPartControl(Composite parent) {
   
    folder = new CTabFolder(parent, SWT.BOTTOM);
    for (int i = 0; i < panels.length; i++) {
      Composite cmp = new Composite(folder, SWT.NONE);
      cmp.setLayout(new FillLayout());
     
      CTabItem item = new CTabItem(folder, SWT.NONE);
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.