git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/ws-task-executor-widget@167314 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a8e0d1c4d7
commit
ea0a365f65
|
@ -1,22 +1,25 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module rename-to='WsTaskExecutorWidget'>
|
<module rename-to='WsTaskExecutorWidget'>
|
||||||
<!-- Inherit the core Web Toolkit stuff. -->
|
<!-- Inherit the core Web Toolkit stuff. -->
|
||||||
<inherits name='com.google.gwt.user.User' />
|
<inherits name='com.google.gwt.user.User' />
|
||||||
|
|
||||||
<!-- Inherit the default GWT style sheet. You can change -->
|
<!-- Inherit the default GWT style sheet. You can change -->
|
||||||
<!-- 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.google.gwt.user.theme.chrome.Chrome'/> -->
|
<inherits name="com.github.gwtbootstrap.Bootstrap" />
|
||||||
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
|
<inherits name="org.gcube.common.workspacetaskexecutor.WorkspaceTaskExecutor" />
|
||||||
|
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
|
||||||
|
<!-- <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' />
|
||||||
<source path='shared' />
|
<source path='shared' />
|
||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -1,28 +1,32 @@
|
||||||
|
|
||||||
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
|
|
||||||
* returns an error.
|
|
||||||
*/
|
|
||||||
private static final String SERVER_ERROR = "An error occurred while "
|
|
||||||
+ "attempting to contact the server. Please check your network "
|
|
||||||
+ "connection and try again.";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a remote service proxy to talk to the server-side Greeting service.
|
* The message displayed to the user when the server cannot be reached or
|
||||||
*/
|
* returns an error.
|
||||||
private final GreetingServiceAsync greetingService = GWT.create(GreetingService.class);
|
*/
|
||||||
|
private static final String SERVER_ERROR = "An error occurred while "
|
||||||
|
+ "attempting to contact the server. Please check your network "
|
||||||
|
+ "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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the entry point method.
|
*
|
||||||
*/
|
*/
|
||||||
public void onModuleLoad() {
|
public WsTaskExecutorWidget() {
|
||||||
}
|
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,25 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module rename-to='WsTaskExecutorWidget'>
|
<module rename-to='WsTaskExecutorWidget'>
|
||||||
<!-- Inherit the core Web Toolkit stuff. -->
|
<!-- Inherit the core Web Toolkit stuff. -->
|
||||||
<inherits name='com.google.gwt.user.User' />
|
<inherits name='com.google.gwt.user.User' />
|
||||||
|
|
||||||
<!-- Inherit the default GWT style sheet. You can change -->
|
<!-- Inherit the default GWT style sheet. You can change -->
|
||||||
<!-- 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.google.gwt.user.theme.chrome.Chrome'/> -->
|
<inherits name="com.github.gwtbootstrap.Bootstrap" />
|
||||||
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
|
<inherits name="org.gcube.common.workspacetaskexecutor.WorkspaceTaskExecutor" />
|
||||||
|
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
|
||||||
|
<!-- <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' />
|
||||||
<source path='shared' />
|
<source path='shared' />
|
||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|
Loading…
Reference in New Issue