Francesco Mangiacrapa 2018-05-04 09:37:46 +00:00
parent a8e0d1c4d7
commit ea0a365f65
3 changed files with 56 additions and 46 deletions

View File

@ -7,13 +7,16 @@
<!-- the theme of your GWT application by uncommenting --> <!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. --> <!-- any one of the following lines. -->
<inherits name='com.google.gwt.user.theme.standard.Standard' /> <inherits name='com.google.gwt.user.theme.standard.Standard' />
<inherits name="com.github.gwtbootstrap.Bootstrap" />
<inherits name="org.gcube.common.workspacetaskexecutor.WorkspaceTaskExecutor" />
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
<!-- Other module inherits --> <!-- Other module inherits -->
<!-- Specify the app entry point class. --> <!-- Specify the app entry point class. -->
<!-- <entry-point class='org.gcube.portlets.widgets.wstaskexecutor.client.WsTaskExecutorWidget' /> --> <!-- <entry-point class='org.gcube.portlets.widgets.wstaskexecutor.client.WsTaskExecutorWidget'
/> -->
<!-- Specify the paths for translatable code --> <!-- Specify the paths for translatable code -->
<source path='client' /> <source path='client' />

View File

@ -1,12 +1,13 @@
package org.gcube.portlets.widgets.wstaskexecutor.client; package org.gcube.portlets.widgets.wstaskexecutor.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.GWT;
/** /**
* Entry point classes define <code>onModuleLoad()</code>. * Entry point classes define <code>onModuleLoad()</code>.
*/ */
public class WsTaskExecutorWidget implements EntryPoint { public class WsTaskExecutorWidget {
/** /**
* The message displayed to the user when the server cannot be reached or * The message displayed to the user when the server cannot be reached or
* returns an error. * returns an error.
@ -14,15 +15,18 @@ public class WsTaskExecutorWidget implements EntryPoint {
private static final String SERVER_ERROR = "An error occurred while " private static final String SERVER_ERROR = "An error occurred while "
+ "attempting to contact the server. Please check your network " + "attempting to contact the server. Please check your network "
+ "connection and try again."; + "connection and try again.";
/**
* Create a remote service proxy to talk to the server-side Greeting
* service.
*/
private final GreetingServiceAsync greetingService =
GWT.create(GreetingService.class);
/** /**
* Create a remote service proxy to talk to the server-side Greeting service. *
*/ */
private final GreetingServiceAsync greetingService = GWT.create(GreetingService.class); public WsTaskExecutorWidget() {
/** // TODO Auto-generated constructor stub
* This is the entry point method.
*/
public void onModuleLoad() {
} }
} }

View File

@ -7,13 +7,16 @@
<!-- the theme of your GWT application by uncommenting --> <!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. --> <!-- any one of the following lines. -->
<inherits name='com.google.gwt.user.theme.standard.Standard' /> <inherits name='com.google.gwt.user.theme.standard.Standard' />
<inherits name="com.github.gwtbootstrap.Bootstrap" />
<inherits name="org.gcube.common.workspacetaskexecutor.WorkspaceTaskExecutor" />
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
<!-- Other module inherits --> <!-- Other module inherits -->
<!-- Specify the app entry point class. --> <!-- Specify the app entry point class. -->
<!-- <entry-point class='org.gcube.portlets.widgets.wstaskexecutor.client.WsTaskExecutorWidget' /> --> <!-- <entry-point class='org.gcube.portlets.widgets.wstaskexecutor.client.WsTaskExecutorWidget'
/> -->
<!-- Specify the paths for translatable code --> <!-- Specify the paths for translatable code -->
<source path='client' /> <source path='client' />