ref 17252: Enable DEA Analysis

https://support.d4science.org/issues/17252

Added DEA Analysis

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@182234 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2019-11-08 13:13:02 +00:00
parent 6758f26dbb
commit cd34779008
5 changed files with 311 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import org.gcube.portlets.user.performfishanalytics.client.controllers.PerformFi
import org.gcube.portlets.user.performfishanalytics.client.controllers.PerformFishAnalyticsViewController;
import org.gcube.portlets.user.performfishanalytics.client.event.LoadPopulationTypeEvent;
import org.gcube.portlets.user.performfishanalytics.client.resources.PerformFishResources;
import org.gcube.portlets.user.performfishanalytics.client.resources.ResourcesLoader;
import org.gcube.portlets.user.performfishanalytics.client.view.util.DecodeParameterUtil;
import org.gcube.portlets.user.performfishanalytics.shared.performfishservice.PerformFishInitParameter;
@ -38,6 +39,7 @@ public class PerformFishAnalytics implements EntryPoint {
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
@Override
public void execute() {
GWT.create(ResourcesLoader.class);
Map<String, String> initParams = new HashMap<String, String>();
for (String key : Window.Location.getParameterMap().keySet()) {

View File

@ -112,4 +112,8 @@ public interface PerformFishResources extends ClientBundle {
@Source("BatchFarm_SYNOPTICTABLE")
public TextResource synopticTable();
@Source("jspdf.min.js")
TextResource jsPDF();
}

View File

@ -0,0 +1,18 @@
package org.gcube.portlets.user.performfishanalytics.client.resources;
import com.google.gwt.core.client.ScriptInjector;
/**
* Resources Loader
*
* @author Giancarlo Panichi
*
*/
public class ResourcesLoader {
public ResourcesLoader() {
ScriptInjector.fromString(PerformFishResources.INSTANCE.jsPDF().getText())
.inject();
}
}

File diff suppressed because one or more lines are too long

View File

@ -876,4 +876,5 @@ public class DeaPanelResult extends Composite {
}
});
}
}