Examples of CTabFolder


Examples of org.eclipse.swt.custom.CTabFolder

    /**
         * @param parent
         */
    private void createLogTables(Composite parent) {
  CTabFolder tabFolder = new CTabFolder(parent, SWT.BORDER);

  GridData gridData = new GridData(GridData.FILL_BOTH);
  gridData.grabExcessVerticalSpace = true;
  tabFolder.setLayoutData(gridData);

  LogLevel[] levels = LogLevel.values();

  for (LogLevel level : levels) {
      CTabItem item = new CTabItem(tabFolder, SWT.V_SCROLL | SWT.H_SCROLL);
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

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

        typeTabFolder = new CTabFolder(parent, SWT.BOTTOM | SWT.BORDER);
        typeTabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));

        Composite composite1 = new Composite(typeTabFolder, SWT.NONE);
        composite1.setLayout(new GridLayout());
        CTabItem tabItem1 = new CTabItem(typeTabFolder, SWT.NONE);
        tabItem1.setText(Messages.getString("tab.constructor.relation"));
        tabItem1.setControl(composite1);
       
        {
            SwimlaneElement swimlaneElement = swimlaneElements.get(0);
            Composite composite = new Composite(composite1, SWT.NONE);
            composite.setLayout(new GridLayout());
            swimlaneElement.createGUI(composite);
            swimlaneElement.addElementListener(this);
            for (SwimlaneElement childElement : swimlaneElement.getChildren()) {
                childElement.createGUI(swimlaneElement.getClientArea());
            }
        }
       
        Composite composite2 = new Composite(typeTabFolder, SWT.NONE);
        composite2.setLayout(new GridLayout());
        CTabItem tabItem2 = new CTabItem(typeTabFolder, SWT.NONE);
        tabItem2.setText(Messages.getString("tab.constructor.orgfunction"));
        tabItem2.setControl(composite2);

        orgFunctionsTabFolder = new CTabFolder(composite2, SWT.TOP | SWT.BORDER);
        orgFunctionsTabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));

        for (int i=1; i<swimlaneElements.size(); i++) {
            SwimlaneElement swimlaneElement = swimlaneElements.get(i);
            Composite composite = new Composite(orgFunctionsTabFolder, SWT.NONE);
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

  public AccountView(final Composite parent, final AccountPresenter presenter) {
    super(parent, presenter);
    this.presenter = presenter;
    this.setLayout(new FillLayout());

    this.container = new CTabFolder(this, SWT.NONE);
    this.container.setSimple(false);
  }
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

      parent.setLayout(layout2);
      Composite owner = new Composite(parent, SWT.NONE);
      pageBook = new PageBook(parent, SWT.NONE);
      final Browser lm = new Browser(pageBook, SWT.NONE);
      lm.setText("<h3>No open tabs</h3> <p>To show Blobs from Blob Storage, please:<br>1) Choose connection configuration between 'manipulate with local server' or 'manipulate with development server';<br>2) click either 'add view'.");
      viewHolder = new CTabFolder(pageBook, SWT.NONE | SWT.CLOSE
          | SWT.BORDER);
      pageBook.showPage(lm);
      owner.setLayoutData(GridDataFactory.fillDefaults()
          .grab(true, false).create());
      pageBook.setLayoutData(GridDataFactory.fillDefaults()
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

      parent.setLayout(layout2);
      Composite owner = new Composite(parent, SWT.NONE);
      pageBook = new PageBook(parent, SWT.NONE);
      final Browser lm = new Browser(pageBook, SWT.NONE);
      lm.setText("<h3>No open tabs</h3> <p>To show Data Store entities, please:<br>1) enter the kind into the text field;<br>2) Choose connection configuration between 'manipulate with local server' or 'manipulate with development server';<br>3) click either 'add view', or press 'enter'.</p><i>Hint:</i> push Ctrl-Space in the text field to display the known kinds.");
      viewHolder = new CTabFolder(pageBook, SWT.NONE | SWT.CLOSE
          | SWT.BORDER);
      pageBook.showPage(lm);
      owner.setLayoutData(GridDataFactory.fillDefaults()
          .grab(true, false).create());
      pageBook.setLayoutData(GridDataFactory.fillDefaults()
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

        this.editorManager.addSharedEditorListener(sharedEditorListener);
        this.mucManager.addMUCManagerListener(mucManagerListener);

        this.setLayout(new FillLayout());

        this.chatRooms = new CTabFolder(this, SWT.BOTTOM);
        this.setContentControl(this.chatRooms);

        this.chatRooms.setSimple(true);
        this.chatRooms.setBorderVisible(true);
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

     *
     *  @param parent The parent of the top-level container.
     *  @return The tab folder as the container of the two tabs.
     */
    private CTabFolder _createContainer(Composite parent) {
        final CTabFolder newContainer = new CTabFolder(parent, SWT.BOTTOM
                | SWT.FLAT);
        newContainer.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                int newPageIndex = newContainer.indexOf((CTabItem) e.item);
                if (newPageIndex == 1) {
                    _update();
                }
            }
        });
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

    this.container = loggerContainer;
    this.container.setLayout(new FillLayout());
    this.container.setLayoutData(loggerLayoutData);

    tabFolder = new CTabFolder(this.container, SWT.BORDER);
    tabFolder.setSimple(false);
    tabFolder.setMinimizeVisible(true);
    tabFolder.setTabHeight(20);
    tabFolder.setSelectionBackground(
        mainWindow.getShell().getDisplay().getSystemColor(SWT.COLOR_TITLE_BACKGROUND_GRADIENT));
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

    this.container = this.mainWindow.getWorkspace();
    this.workspaceLayoutData = new GridData(SWT.FILL, SWT.FILL, true, true, 3, 1);
    this.workspaceLayoutData.minimumHeight = 300;
    this.workspaceLayoutData.minimumWidth = 500;
   
    this.tabFolder = new CTabFolder(this.container, SWT.BORDER);
    this.tabFolder.setSimple(false);
    this.tabFolder.setTabHeight(20);
    this.tabFolder.setSelectionBackground(
        this.mainWindow.getShell().getDisplay().getSystemColor(SWT.COLOR_TITLE_BACKGROUND_GRADIENT));
   
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder

  @Override
  protected Control createContents(Composite parent) {
    setStatus("");
    this.parent = parent;
   
    CTabFolder container = new CTabFolder(parent, SWT.NONE);
    container.setSimple(false);
    container.setLayout(new FormLayout());
    this.container = container;

    return container;
  }
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.