Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.CTabItem


    }
  }

  private void createEnvironment() {

    environmentTabItem = new CTabItem(tabFolder, SWT.BORDER);

    environmentTabItem.setText("Environment");

    final Group group_2 = new Group(tabFolder, SWT.NONE);
    final GridLayout gridLayout_1 = new GridLayout();
View Full Code Here


  }

  private void createIncludes() {

    final CTabItem includesTabItem = new CTabItem(tabFolder, SWT.BORDER);

    includesTabItem.setText("Includes");

    final Group group_3 = new Group(tabFolder, SWT.NONE);
    final GridLayout gridLayout_2 = new GridLayout();
    gridLayout_2.numColumns = 5;
    group_3.setLayout(gridLayout_2);
    includesTabItem.setControl(group_3);       

    if(type == Editor.JOB || type == Editor.COMMANDS || type == Editor.JOB_COMMANDS) {
      butIsLifeFile = new Button(group_3, SWT.CHECK);
      butIsLifeFile.addSelectionListener(new SelectionAdapter() {
        public void widgetSelected(final SelectionEvent e) {
View Full Code Here

  }

  public void createJobCommandParameter() {

    //parameterJobCmdTabItem = new CTabItem(tabFolder,  SWT.BORDER | SWT.CLOSE);
    parameterJobCmdTabItem = new CTabItem(tabFolder,  SWT.BORDER);

    parameterJobCmdTabItem.setText("Parameter");

    group = new Group(tabFolder, SWT.NONE);
    final GridLayout gridLayout = new GridLayout();
View Full Code Here


  public SchedulerForm newScheduler() {
    SchedulerForm scheduler = new SchedulerForm(this, folder, SWT.NONE);
    scheduler.openBlank();
    CTabItem tab = newItem(scheduler, NEW_SCHEDULER_TITLE);
    tab.setImage(new Image(tab.getDisplay(), getClass().getResourceAsStream(
        "/sos/scheduler/editor/editor-small.png")));
    return scheduler;
  }
View Full Code Here

  }

  public SchedulerForm newScheduler(int type) {
    SchedulerForm scheduler = new SchedulerForm(this, folder, SWT.NONE, type);
    scheduler.openBlank(type);
    CTabItem tab = newItem(scheduler, NEW_SCHEDULER_TITLE);
    tab.setImage(new Image(tab.getDisplay(), getClass().getResourceAsStream(
        "/sos/scheduler/editor/editor-small.png")));
    return scheduler;
  }
View Full Code Here

    return scheduler;
  }
  public JobChainConfigurationForm newDetails() {
    JobChainConfigurationForm detailForm = new JobChainConfigurationForm(this, folder, SWT.NONE);
    detailForm.openBlank();
    CTabItem tab = newItem(detailForm, NEW_DETAIL_TITLE);
    tab.setImage(new Image(tab.getDisplay(), getClass().getResourceAsStream(
        "/sos/scheduler/editor/editor-small.png")));
    return detailForm;
  }
View Full Code Here

  public JobChainConfigurationForm openDetails() {
    JobChainConfigurationForm detailForm = new JobChainConfigurationForm(this, folder, SWT.NONE);

    if(detailForm.open(filelist)) {
      CTabItem tab = newItem(detailForm, detailForm.getFilename());
      tab.setImage(new Image(tab.getDisplay(), getClass().getResourceAsStream(
          "/sos/scheduler/editor/editor-small.png")));
      return detailForm;
    } else
      return null;
  }
View Full Code Here

  public JobChainConfigurationForm openDetails(String filename) {
    JobChainConfigurationForm detailForm = new JobChainConfigurationForm(this, folder, SWT.NONE);

    if(detailForm.open(filename, filelist)) {
      CTabItem tab = newItem(detailForm, detailForm.getFilename());
      tab.setImage(new Image(tab.getDisplay(), getClass().getResourceAsStream(
          "/sos/scheduler/editor/editor-small.png")));
      return detailForm;
    } else
      return null;
  }
View Full Code Here

 
  public ActionsForm openActions(String filename) {
    ActionsForm actionsForm = new ActionsForm(this, folder, SWT.NONE);

    if(actionsForm.open(filename, filelist)) {
      CTabItem tab = newItem(actionsForm, actionsForm.getFilename());
      tab.setImage(new Image(tab.getDisplay(), getClass().getResourceAsStream(
          "/sos/scheduler/editor/editor-small.png")));
      return actionsForm;
    } else
      return null;
  }
View Full Code Here

 
  public SchedulerForm openScheduler() {
    SchedulerForm scheduler = new SchedulerForm(this, folder, SWT.NONE);
    if (scheduler.open(filelist)) {
      CTabItem tab = newItem(scheduler, scheduler.getFilename());
      tab.setImage(ResourceManager.getImageFromResource("/sos/scheduler/editor/editor-small.png"));
      return scheduler;
    } else
      return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swt.custom.CTabItem

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.