Package de.scoopgmbh.copper.monitoring.client.form

Examples of de.scoopgmbh.copper.monitoring.client.form.FormCreator


    this.mainPane = mainPane;
    this.settingsModelSingleton = settingsModelSingleton;
    this.issueReporter = issueReporter;
   
    ArrayList<FormCreator> maingroup = new ArrayList<FormCreator>();
    maingroup.add(new FormCreator(messageProvider.getText(MessageKey.dashboard_title)) {
      @Override
      public Form<?> createForm() {
        return createDashboardForm();
      }
    });

    maingroup.add(new FormGroup(messageProvider.getText(MessageKey.workflowGroup_title),createWorkflowGroup()));
   
    maingroup.add(new FormCreator(messageProvider.getText(MessageKey.adapterMonitoring_title)) {
      @Override
      public Form<?> createForm() {
        return createAdapterMonitoringForm();
      }
    });
   
    maingroup.add(new FormCreator(messageProvider.getText(MessageKey.workflowRepository_title)) {
      @Override
      public Form<?> createForm() {
        return createWorkflowRepositoryForm();
      }
    });
    maingroup.add(new FormCreator(messageProvider.getText(MessageKey.message_title)) {
      @Override
      public Form<?> createForm() {
        return createMessageForm();
      }
    });
    maingroup.add(new FormGroup(messageProvider.getText(MessageKey.logsGroup_title),createLogGroup()));
   
    maingroup.add(new FormGroup(messageProvider.getText(MessageKey.loadGroup_title),createLoadGroup()));
   
    FormCreator sqlformcreator = new FormCreator(messageProvider.getText(MessageKey.sql_title)) {
      @Override
      public Form<?> createForm() {
        return createSqlForm();
      }
    };
    if (!guiCopperDataProvider.getInterfaceSettings().isCanExecuteSql()){
      sqlformcreator.setEnabled(false);
      sqlformcreator.setTooltip(new Tooltip("disabled in copper"));
    }
    maingroup.add(sqlformcreator);
   
    maingroup.add(new FormCreator(messageProvider.getText(MessageKey.hotfix_title)) {
      @Override
      public Form<?> createForm() {
        return createHotfixForm();
      }
    });
    maingroup.add(new FormCreator(messageProvider.getText(MessageKey.settings_title)) {
      @Override
      public Form<?> createForm() {
        return createSettingsForm();
      }
    });
View Full Code Here


    formGroup = new FormGroup("",maingroup);
  }
 
  public ArrayList<FormCreator> createLogGroup() {
    ArrayList<FormCreator> loggroup = new ArrayList<FormCreator>();
    loggroup.add(new FormCreator(messageProvider.getText(MessageKey.audittrail_title)) {
      @Override
      public Form<?> createForm() {
        return createAudittrailForm();
      }
    });
    loggroup.add(new FormCreator(messageProvider.getText(MessageKey.logs_title)) {
      @Override
      public Form<?> createForm() {
        return createLogsForm();
      }
    });
    loggroup.add(new FormCreator(messageProvider.getText(MessageKey.provider_title)) {
      @Override
      public Form<?> createForm() {
        return createProviderForm();
      }
    });
View Full Code Here

    return loggroup;
  }
 
  public ArrayList<FormCreator> createWorkflowGroup() {
    ArrayList<FormCreator> workflowgroup = new ArrayList<FormCreator>();
    workflowgroup.add(new FormCreator(messageProvider.getText(MessageKey.workflowOverview_title)) {
      @Override
      public Form<?> createForm() {
        return createWorkflowOverviewForm();
      }
    });
    workflowgroup.add(new FormCreator(messageProvider.getText(MessageKey.workflowInstance_title)) {
      @Override
      public Form<?> createForm() {
        return createWorkflowInstanceListForm();
      }
    });
View Full Code Here

    return workflowgroup;
  }

  public ArrayList<FormCreator> createLoadGroup() {
    ArrayList<FormCreator> loadgroup = new ArrayList<FormCreator>();
    loadgroup.add(new FormCreator(messageProvider.getText(MessageKey.engineLoad_title)) {
      @Override
      public Form<?> createForm() {
        return createEngineLoadForm();
      }
    });
    loadgroup.add(new FormCreator(messageProvider.getText(MessageKey.resource_title)) {
      @Override
      public Form<?> createForm() {
        return createRessourceForm();
      }
    });
    loadgroup.add(new FormCreator(messageProvider.getText(MessageKey.measurePoint_title)) {
      @Override
      public Form<?> createForm() {
        return createMeasurePointForm();
      }
    });
    loadgroup.add(new FormCreator(messageProvider.getText(MessageKey.customMeasurePoint_title)) {
      @Override
      public Form<?> createForm() {
        return createCustomMeasurePointForm();
      }
    });
    loadgroup.add(new FormCreator(messageProvider.getText(MessageKey.databaseMonitoring_title)) {
      @Override
      public Form<?> createForm() {
        return createDatabaseMonitoringForm();
      }
    });
View Full Code Here

  public void setupGUIStructure(){
    mainPane.setCenter(mainTabPane);    mainPane.setTop(createToolbar());
    Platform.runLater(new Runnable() {
      @Override
      public void run() {
        new FormCreator(messageProvider.getText(MessageKey.dashboard_title)) {
          @Override
          public Form<?> createForm() {
            return createDashboardForm();
          }
        }.show();
View Full Code Here

TOP

Related Classes of de.scoopgmbh.copper.monitoring.client.form.FormCreator

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.