Package sos.scheduler.editor.conf.forms

Examples of sos.scheduler.editor.conf.forms.SchedulerForm.updateTree()


                config.removeChildren("job_chains");
                config.removeChildren("locks");
                Utils.removeChildrensWithName(config, "process_classes");
                config.removeChildren("schedules");
                config.removeChildren("commands");
                form.updateTree("main");
                form.update();
              }
            }
          }
          container.getCurrentEditor().save();
View Full Code Here


                  }                 
                }

                if(changeFiles.size() > 0 || newFFiles.size() > 0 || delFFiles.size() > 0) {
                  SchedulerForm form =(SchedulerForm)container.getCurrentEditor();
                  form.updateTree("main");
                  //form.updateCommands();
                  form.update();
                  dom.readFileLastModified();
                }
View Full Code Here

                dom.read(dom.getFilename());
               

                if (container.getCurrentEditor() instanceof SchedulerForm) {             
                  SchedulerForm form =(SchedulerForm)container.getCurrentEditor();
                  form.updateTree("main");
                  form.update();
                } else if (container.getCurrentEditor() instanceof DocumentationForm) {
                  DocumentationForm form =(DocumentationForm)container.getCurrentEditor();
                  form.updateTree("main");
                  form.update();
View Full Code Here

                  SchedulerForm form =(SchedulerForm)container.getCurrentEditor();
                  form.updateTree("main");
                  form.update();
                } else if (container.getCurrentEditor() instanceof DocumentationForm) {
                  DocumentationForm form =(DocumentationForm)container.getCurrentEditor();
                  form.updateTree("main");
                  form.update();
                } else if (container.getCurrentEditor() instanceof ActionsForm) {
                  ActionsForm form =(ActionsForm)container.getCurrentEditor();
                  form.updateTree("main");
                  form.update();
View Full Code Here

                  DocumentationForm form =(DocumentationForm)container.getCurrentEditor();
                  form.updateTree("main");
                  form.update();
                } else if (container.getCurrentEditor() instanceof ActionsForm) {
                  ActionsForm form =(ActionsForm)container.getCurrentEditor();
                  form.updateTree("main");
                  form.update();
                }
                //dom.setFileLastModified(f.lastModified());

                //System.out.println("neu= " + f.lastModified());
View Full Code Here

        currdom.setFilename(new java.io.File(newFilename).getCanonicalPath());

        sos.scheduler.editor.app.IContainer con = MainWindow.getContainer();
        SchedulerForm sf = (SchedulerForm)(con.getCurrentEditor());
        sf.updateTree("jobs");
        String name = currdom.getRoot().getName();
        name = name.substring(0, 1).toUpperCase() + name.substring(1);
        sf.updateTreeItem(name + ": " + attrName);

View Full Code Here

                TreeItem jItem = jobsItem[j];
                //if(jItem.getText().equals("Job: "+ name)){
                if(jItem.getText().endsWith("Job: "+ name)){
                  tree.setSelection(new TreeItem [] {jItem});
                  f.updateTreeItem(jItem.getText());
                  f.updateTree("jobs");
                  break;
                }
              }
            }
          }
View Full Code Here

              if(monitor.getText().equals(monitorname)){
                //if(jItem.getText().endsWith("Job: "+ name)){
                tree.setSelection(new TreeItem [] {monitor});
                f.updateTreeItem(monitorname);
                f.updateTree("monitor");
                break;
              }
            }
          } else {
            for(int i = 0; i < tree.getItemCount(); i++) {           
View Full Code Here

                      if(monitor.getText().equals(monitorname)){
                        //if(jItem.getText().endsWith("Job: "+ name)){
                        tree.setSelection(new TreeItem [] {monitor});
                        f.updateTreeItem(monitorname);
                        f.updateTree("monitor");
                        break;
                      }
                    }
                  }
                }
View Full Code Here

                TreeItem jItem = jobsItem[j];
                //if(jItem.getText().equals("Job Chain: "+ name)){
                if(jItem.getText().endsWith("Job Chain: "+ name)){
                  tree.setSelection(new TreeItem [] {jItem});
                  f.updateTreeItem(jItem.getText());
                  f.updateTree("");
                  break;
                }
              }
            }
          }
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.