ref 17252: Enable DEA Analysis
https://support.d4science.org/issues/17252 Updated DEA Analysis git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@182242 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
afc4ed08ed
commit
13a3cb0919
|
@ -162,6 +162,7 @@ public class DeaAnnualPanelResult extends Composite {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(ClickEvent event) {
|
public void onClick(ClickEvent event) {
|
||||||
|
button_dea_analys_request.setEnabled(false);
|
||||||
alert_error.clear();
|
alert_error.clear();
|
||||||
cg_list_dea_input_kpi.setType(ControlGroupType.NONE);
|
cg_list_dea_input_kpi.setType(ControlGroupType.NONE);
|
||||||
cg_list_dea_output_kpi.setType(ControlGroupType.NONE);
|
cg_list_dea_output_kpi.setType(ControlGroupType.NONE);
|
||||||
|
@ -169,12 +170,14 @@ public class DeaAnnualPanelResult extends Composite {
|
||||||
if (list_dea_input_kpi.getItemCount() < 1) {
|
if (list_dea_input_kpi.getItemCount() < 1) {
|
||||||
showAlert("You must select at least one Input KPI", AlertType.ERROR, true, alert_error);
|
showAlert("You must select at least one Input KPI", AlertType.ERROR, true, alert_error);
|
||||||
cg_list_dea_input_kpi.setType(ControlGroupType.ERROR);
|
cg_list_dea_input_kpi.setType(ControlGroupType.ERROR);
|
||||||
|
button_dea_analys_request.setEnabled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (list_dea_output_kpi.getItemCount() < 1) {
|
if (list_dea_output_kpi.getItemCount() < 1) {
|
||||||
showAlert("You must select at least one Output KPI", AlertType.ERROR, true, alert_error);
|
showAlert("You must select at least one Output KPI", AlertType.ERROR, true, alert_error);
|
||||||
cg_list_dea_output_kpi.setType(ControlGroupType.ERROR);
|
cg_list_dea_output_kpi.setType(ControlGroupType.ERROR);
|
||||||
|
button_dea_analys_request.setEnabled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -694,7 +697,7 @@ public class DeaAnnualPanelResult extends Composite {
|
||||||
title = title.substring(0, title.length() - 1) + "]";
|
title = title.substring(0, title.length() - 1) + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
// title+= " Focus "+focusID;
|
button_dea_analys_request.setEnabled(true);
|
||||||
|
|
||||||
if (displayError) {
|
if (displayError) {
|
||||||
Alert alert = new Alert(title);
|
Alert alert = new Alert(title);
|
||||||
|
|
|
@ -164,6 +164,7 @@ public class DeaPanelResult extends Composite {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(ClickEvent event) {
|
public void onClick(ClickEvent event) {
|
||||||
|
button_dea_analys_request.setEnabled(false);
|
||||||
alert_error.clear();
|
alert_error.clear();
|
||||||
cg_list_dea_input_kpi.setType(ControlGroupType.NONE);
|
cg_list_dea_input_kpi.setType(ControlGroupType.NONE);
|
||||||
cg_list_dea_output_kpi.setType(ControlGroupType.NONE);
|
cg_list_dea_output_kpi.setType(ControlGroupType.NONE);
|
||||||
|
@ -171,12 +172,14 @@ public class DeaPanelResult extends Composite {
|
||||||
if (list_dea_input_kpi.getItemCount() < 1) {
|
if (list_dea_input_kpi.getItemCount() < 1) {
|
||||||
showAlert("You must select at least one Input KPI", AlertType.ERROR, true, alert_error);
|
showAlert("You must select at least one Input KPI", AlertType.ERROR, true, alert_error);
|
||||||
cg_list_dea_input_kpi.setType(ControlGroupType.ERROR);
|
cg_list_dea_input_kpi.setType(ControlGroupType.ERROR);
|
||||||
|
button_dea_analys_request.setEnabled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (list_dea_output_kpi.getItemCount() < 1) {
|
if (list_dea_output_kpi.getItemCount() < 1) {
|
||||||
showAlert("You must select at least one Output KPI", AlertType.ERROR, true, alert_error);
|
showAlert("You must select at least one Output KPI", AlertType.ERROR, true, alert_error);
|
||||||
cg_list_dea_output_kpi.setType(ControlGroupType.ERROR);
|
cg_list_dea_output_kpi.setType(ControlGroupType.ERROR);
|
||||||
|
button_dea_analys_request.setEnabled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -694,7 +697,7 @@ public class DeaPanelResult extends Composite {
|
||||||
title = title.substring(0, title.length() - 1) + "]";
|
title = title.substring(0, title.length() - 1) + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
// title+= " Focus "+focusID;
|
button_dea_analys_request.setEnabled(true);
|
||||||
|
|
||||||
if (displayError) {
|
if (displayError) {
|
||||||
Alert alert = new Alert(title);
|
Alert alert = new Alert(title);
|
||||||
|
|
Loading…
Reference in New Issue