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();
}
});
formGroup = new FormGroup("",maingroup);
}