Package sos.scheduler.editor.conf.forms

Examples of sos.scheduler.editor.conf.forms.JobChainConfigurationForm


      currdom = (SchedulerDom)form.getDom();
    } else if(MainWindow.getContainer().getCurrentEditor() instanceof DocumentationForm) {
      DocumentationForm form =(DocumentationForm)MainWindow.getContainer().getCurrentEditor();     
      currdom = (DocumentationDom)form.getDom();
    } else if(MainWindow.getContainer().getCurrentEditor() instanceof JobChainConfigurationForm) {
      JobChainConfigurationForm form =(JobChainConfigurationForm)MainWindow.getContainer().getCurrentEditor();
      currdom = (DetailDom)form.getDom();
    }else if(MainWindow.getContainer().getCurrentEditor() instanceof ActionsForm) {
      ActionsForm form =(ActionsForm)MainWindow.getContainer().getCurrentEditor();
      currdom = (ActionsDom)form.getDom();
    } else {
      MainWindow.message("Could not save FTP File. <unspecified type>  ", SWT.ICON_WARNING);
    }
    return currdom;
  }
View Full Code Here


        currdom = (SchedulerDom)form.getDom();
      } else if(MainWindow.getContainer().getCurrentEditor() instanceof DocumentationForm) {
        DocumentationForm form =(DocumentationForm)MainWindow.getContainer().getCurrentEditor();     
        currdom = (DocumentationDom)form.getDom();
      } else if(MainWindow.getContainer().getCurrentEditor() instanceof JobChainConfigurationForm) {
        JobChainConfigurationForm form =(JobChainConfigurationForm)MainWindow.getContainer().getCurrentEditor();
        currdom = (DetailDom)form.getDom();
      }

      //if(currdom.getFilename() != null && !new File(currdom.getFilename()).delete())
      //  System.out.println(currdom.getFilename() + " could not delete");
View Full Code Here

    tab.setImage(new Image(tab.getDisplay(), getClass().getResourceAsStream(
        "/sos/scheduler/editor/editor-small.png")));
    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

    return detailForm;
  }


  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

    } else
      return null;
  }

  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

TOP

Related Classes of sos.scheduler.editor.conf.forms.JobChainConfigurationForm

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.