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:
parent
55418a511d
commit
5aacca488d
|
@ -35,7 +35,7 @@
|
|||
</g:VerticalPanel>
|
||||
|
||||
<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>
|
||||
<g:HorizontalPanel ui:field="uib_vp_deanalanlysis_request_container"
|
||||
addStyleNames="the_margin_top_bottom the_margin_left">
|
||||
|
|
|
@ -192,7 +192,7 @@ public class AnalyticsPanelResult extends Composite {
|
|||
|
||||
List<String> inputKPINames = getSelected(list_dea_input_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.
|
||||
// *
|
||||
// * @param inputKPINames the input kpi names
|
||||
// * @param outputKPINames the output kpi names
|
||||
// * @param button the button
|
||||
// */
|
||||
// private void callDeaAnalysis(List<String> inputKPINames, List<String> outputKPINames, Button button){
|
||||
//
|
||||
// HorizontalPanel hp = new HorizontalPanel();
|
||||
// hp.getElement().addClassName("ext-horizontal-panel");
|
||||
// HorizontalPanel deaAnalysis = new HorizontalPanel();
|
||||
// hp.add(deaAnalysis);
|
||||
// //hp.getElement().addClassName("ext-horizontal-panel");
|
||||
// uib_vp_deanalanlysis_algorithm_container.add(hp);
|
||||
//
|
||||
// List<KPI> inputKPI = new ArrayList<KPI>();
|
||||
// for (String kpiName : inputKPINames) {
|
||||
// inputKPI.add(getKPIForName(kpiName));
|
||||
// }
|
||||
//
|
||||
// List<KPI> outputKPI = new ArrayList<KPI>();
|
||||
// for (String kpiName : outputKPINames) {
|
||||
// outputKPI.add(getKPIForName(kpiName));
|
||||
// }
|
||||
//
|
||||
//
|
||||
// GWT.log("Calling Dea Analysys... with input: "+inputKPI+" and output: "+outputKPI);
|
||||
// uib_vp_deanalanlysis_algorithm.setVisible(true);
|
||||
// callDataMinerServiceForChart(dataInputParameters, inputKPI, outputKPI, DataMinerAlgorithms.DEA_ANALYSIS, "ID", deaAnalysis);
|
||||
// }
|
||||
/**
|
||||
* Call dea analysis.
|
||||
*
|
||||
* @param inputKPINames the input kpi names
|
||||
* @param outputKPINames the output kpi names
|
||||
* @param button the button
|
||||
*/
|
||||
private void callDeaAnalysis(List<String> inputKPINames, List<String> outputKPINames, Button button){
|
||||
|
||||
HorizontalPanel hp = new HorizontalPanel();
|
||||
hp.getElement().addClassName("ext-horizontal-panel");
|
||||
HorizontalPanel deaAnalysis = new HorizontalPanel();
|
||||
hp.add(deaAnalysis);
|
||||
//hp.getElement().addClassName("ext-horizontal-panel");
|
||||
uib_vp_deanalanlysis_algorithm_container.add(hp);
|
||||
|
||||
List<KPI> inputKPI = new ArrayList<KPI>();
|
||||
for (String kpiName : inputKPINames) {
|
||||
inputKPI.add(getKPIForName(kpiName));
|
||||
}
|
||||
|
||||
List<KPI> outputKPI = new ArrayList<KPI>();
|
||||
for (String kpiName : outputKPINames) {
|
||||
outputKPI.add(getKPIForName(kpiName));
|
||||
}
|
||||
|
||||
|
||||
GWT.log("Calling Dea Analysys... with input: "+inputKPI+" and output: "+outputKPI);
|
||||
uib_vp_deanalanlysis_algorithm.setVisible(true);
|
||||
callDataMinerServiceForChart(dataInputParameters, inputKPI, outputKPI, DataMinerAlgorithms.DEA_ANALYSIS, "ID", deaAnalysis);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</g:VerticalPanel>
|
||||
|
||||
<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>
|
||||
<g:HorizontalPanel ui:field="uib_vp_deanalanlysis_request_container"
|
||||
addStyleNames="the_margin_top_bottom the_margin_left">
|
||||
|
|
Loading…
Reference in New Issue