Uncommented the code to call the DEA Analysis (into Correlation result panel)

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@182208 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-11-04 10:19:00 +00:00
parent 55418a511d
commit 5aacca488d
3 changed files with 34 additions and 34 deletions

View File

@ -35,7 +35,7 @@
</g:VerticalPanel> </g:VerticalPanel>
<g:VerticalPanel ui:field="field_deanalanlysis_algorithm_request" <g:VerticalPanel ui:field="field_deanalanlysis_algorithm_request"
addStyleNames="the_margin_top_bottom" visible="false"> addStyleNames="the_margin_top_bottom">
<b:Label text="DEA ANALYSIS Request"></b:Label> <b:Label text="DEA ANALYSIS Request"></b:Label>
<g:HorizontalPanel ui:field="uib_vp_deanalanlysis_request_container" <g:HorizontalPanel ui:field="uib_vp_deanalanlysis_request_container"
addStyleNames="the_margin_top_bottom the_margin_left"> addStyleNames="the_margin_top_bottom the_margin_left">

View File

@ -192,7 +192,7 @@ public class AnalyticsPanelResult extends Composite {
List<String> inputKPINames = getSelected(list_dea_input_kpi); List<String> inputKPINames = getSelected(list_dea_input_kpi);
List<String> outputKPINames = getSelected(list_dea_output_kpi); List<String> outputKPINames = getSelected(list_dea_output_kpi);
//callDeaAnalysis(inputKPINames, outputKPINames, button_dea_analys_request); callDeaAnalysis(inputKPINames, outputKPINames, button_dea_analys_request);
} }
}); });
@ -780,37 +780,37 @@ public class AnalyticsPanelResult extends Composite {
} }
// /** /**
// * Call dea analysis. * Call dea analysis.
// * *
// * @param inputKPINames the input kpi names * @param inputKPINames the input kpi names
// * @param outputKPINames the output kpi names * @param outputKPINames the output kpi names
// * @param button the button * @param button the button
// */ */
// private void callDeaAnalysis(List<String> inputKPINames, List<String> outputKPINames, Button button){ private void callDeaAnalysis(List<String> inputKPINames, List<String> outputKPINames, Button button){
//
// HorizontalPanel hp = new HorizontalPanel(); HorizontalPanel hp = new HorizontalPanel();
// hp.getElement().addClassName("ext-horizontal-panel"); hp.getElement().addClassName("ext-horizontal-panel");
// HorizontalPanel deaAnalysis = new HorizontalPanel(); HorizontalPanel deaAnalysis = new HorizontalPanel();
// hp.add(deaAnalysis); hp.add(deaAnalysis);
// //hp.getElement().addClassName("ext-horizontal-panel"); //hp.getElement().addClassName("ext-horizontal-panel");
// uib_vp_deanalanlysis_algorithm_container.add(hp); uib_vp_deanalanlysis_algorithm_container.add(hp);
//
// List<KPI> inputKPI = new ArrayList<KPI>(); List<KPI> inputKPI = new ArrayList<KPI>();
// for (String kpiName : inputKPINames) { for (String kpiName : inputKPINames) {
// inputKPI.add(getKPIForName(kpiName)); inputKPI.add(getKPIForName(kpiName));
// } }
//
// List<KPI> outputKPI = new ArrayList<KPI>(); List<KPI> outputKPI = new ArrayList<KPI>();
// for (String kpiName : outputKPINames) { for (String kpiName : outputKPINames) {
// outputKPI.add(getKPIForName(kpiName)); outputKPI.add(getKPIForName(kpiName));
// } }
//
//
// GWT.log("Calling Dea Analysys... with input: "+inputKPI+" and output: "+outputKPI); GWT.log("Calling Dea Analysys... with input: "+inputKPI+" and output: "+outputKPI);
// uib_vp_deanalanlysis_algorithm.setVisible(true); uib_vp_deanalanlysis_algorithm.setVisible(true);
// callDataMinerServiceForChart(dataInputParameters, inputKPI, outputKPI, DataMinerAlgorithms.DEA_ANALYSIS, "ID", deaAnalysis); callDataMinerServiceForChart(dataInputParameters, inputKPI, outputKPI, DataMinerAlgorithms.DEA_ANALYSIS, "ID", deaAnalysis);
// } }
/** /**

View File

@ -35,7 +35,7 @@
</g:VerticalPanel> </g:VerticalPanel>
<g:VerticalPanel ui:field="field_deanalanlysis_algorithm_request" <g:VerticalPanel ui:field="field_deanalanlysis_algorithm_request"
addStyleNames="the_margin_top_bottom" visible="false"> addStyleNames="the_margin_top_bottom">
<b:Label text="DEA ANALYSIS Request"></b:Label> <b:Label text="DEA ANALYSIS Request"></b:Label>
<g:HorizontalPanel ui:field="uib_vp_deanalanlysis_request_container" <g:HorizontalPanel ui:field="uib_vp_deanalanlysis_request_container"
addStyleNames="the_margin_top_bottom the_margin_left"> addStyleNames="the_margin_top_bottom the_margin_left">