Esempio n. 1
0
 private ContentPanel getCpusPanel() {
   if (cpusPanel == null) {
     cpusPanel = new ContentPanel();
     cpusPanel.setSize("106px", "84px");
     cpusPanel.setHideCollapseTool(true);
     cpusPanel.setHeading("CPUs");
     cpusPanel.setLayout(new FitLayout());
     cpusPanel.add(getLayoutContainer(), new FitData(10));
   }
   return cpusPanel;
 }
Esempio n. 2
0
 private ContentPanel getCommandLinePanel() {
   if (commandLinePanel == null) {
     commandLinePanel = new ContentPanel();
     commandLinePanel.setHideCollapseTool(true);
     commandLinePanel.setSize("413px", "196px");
     commandLinePanel.setLayout(new FitLayout());
     commandLinePanel.setHeading("Commandline");
     commandLinePanel.setCollapsible(true);
     commandLinePanel.add(getTextAreaContainer(), new FitData(10));
   }
   return commandLinePanel;
 }
Esempio n. 3
0
 private ContentPanel getWalltimeContainer() {
   if (walltimeContainer == null) {
     walltimeContainer = new ContentPanel();
     walltimeContainer.setHeight("83px");
     walltimeContainer.setHideCollapseTool(true);
     walltimeContainer.setHeading("Walltime");
     walltimeContainer.setCollapsible(true);
     FitLayout fitLayout = new FitLayout();
     fitLayout.setExtraStyle("");
     walltimeContainer.setLayout(fitLayout);
     walltimeContainer.add(getWallTimeFormPanel(), new FitData(0));
   }
   return walltimeContainer;
 }
Esempio n. 4
0
 private ContentPanel getStageFileList() {
   if (stageFileList == null) {
     stageFileList = new ContentPanel();
     stageFileList.setBodyBorder(false);
     stageFileList.setBorders(true);
     stageFileList.setSize("177px", "195px");
     stageFileList.setHideCollapseTool(true);
     stageFileList.setLayout(new FitLayout());
     stageFileList.add(getListView(), new FitData(10));
     stageFileList.setHeading("Job directory");
     stageFileList.setCollapsible(true);
     stageFileList.addButton(getRemoveFileButton());
     stageFileList.addButton(getAddFileButton());
   }
   return stageFileList;
 }