Package sos.scheduler.editor.conf.forms

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


          children[i].dispose();
        }

        TreeItem item = tree.getSelection()[0];
        _dom.setInit(true);
        DetailForm df = null;
        try {
          if(jobChainname == null) {
           
            df = new DetailForm(c, SWT.NONE, Editor.DETAILS, _dom, _gui, false, null);
            df.setLayout(new org.eclipse.swt.layout.FillLayout());
           
          } else {               
            Composite composite = new Composite(c.getShell(), SWT.NONE);           
            composite.setLayout(new org.eclipse.swt.layout.FillLayout());
            df = new DetailForm(composite, SWT.NONE, jobChainname, item.getData() != null && !(item.getData() instanceof sos.scheduler.editor.app.TreeData)? item.getData().toString(): null, null, Editor.DETAILS, _dom, _gui, false, null);           
            df.setLayout(new org.eclipse.swt.layout.FillLayout());
          }
          df.setTree(tree);
          df.setJobChainConfigurationListener(this);

          df.open();

          if(df.hasErrors()) {
            df.dispose();

            _gui.close();
            return false;
          }

        } catch (Exception e) { 

          try {
            new sos.scheduler.editor.app.ErrorLog("error in " + sos.util.SOSClassUtil.getMethodName(), e);
          } catch(Exception ee) {
            //tu nichts
          }

          MainWindow.message(e.getMessage(), SWT.ICON_ERROR)
          df.dispose();

          _gui.close();
          return false;
        }
View Full Code Here

TOP

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

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.