minor fixes

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/grsf-manage-widget@141872 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-01-27 15:14:14 +00:00
parent 9f3e73f161
commit 14fca2684d
8 changed files with 40 additions and 20 deletions

View File

@ -30,6 +30,16 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.google.gdt.eclipse.core.webAppProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.google.gwt.eclipse.core.gwtProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
@ -38,5 +48,6 @@
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>com.google.gwt.eclipse.core.gwtNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
filesCopiedToWebInfLib=

View File

@ -0,0 +1,3 @@
eclipse.preferences.version=1
warSrcDir=src/main/webapp
warSrcDirIsOutput=false

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
entryPointModules=

View File

@ -8,11 +8,12 @@ import org.gcube.datacatalogue.grsf_manage_widget.shared.ManageProductBean;
import com.google.gwt.user.client.rpc.AsyncCallback;
public interface GRSFManageWidgetAsync {
public interface GRSFManageWidgetServiceAsync {
void notifyProductUpdate(ManageProductBean bean,
AsyncCallback<String> callback);
void getProductBeanById(String identifier,
AsyncCallback<ManageProductBean> callback);
}

View File

@ -4,8 +4,8 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.gcube.datacatalogue.grsf_manage_widget.client.GRSFManageWidgetAsync;
import org.gcube.datacatalogue.grsf_manage_widget.client.GRSFManageWidgetService;
import org.gcube.datacatalogue.grsf_manage_widget.client.GRSFManageWidgetServiceAsync;
import org.gcube.datacatalogue.grsf_manage_widget.shared.GRSFStatus;
import org.gcube.datacatalogue.grsf_manage_widget.shared.ManageProductBean;
import org.gcube.datacatalogue.grsf_manage_widget.shared.ex.NoGRSFRecordException;
@ -35,7 +35,7 @@ import com.google.gwt.user.client.ui.Widget;
public class ManageProductWidget extends Composite{
private static GRSFManageWidgetAsync service = GWT.create(GRSFManageWidgetService.class);
private static GRSFManageWidgetServiceAsync service = GWT.create(GRSFManageWidgetService.class);
private static ManageProductWidgetUiBinder uiBinder = GWT
.create(ManageProductWidgetUiBinder.class);

View File

@ -1,24 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='GRSFManageWidget'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User' />
<inherits name="com.github.gwtbootstrap.Bootstrap" />
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User' />
<inherits name="com.github.gwtbootstrap.Bootstrap" />
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<inherits name='com.google.gwt.user.theme.standard.Standard' />
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard' /> -->
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
<!-- Other module inherits -->
<inherits name='org.gcube.datacatalogue.ckanutillibrary.CkanUtilLibrary' />
<!-- Other module inherits -->
<inherits name='org.gcube.datacatalogue.ckanutillibrary.CkanUtilLibrary' />
<!-- Specify the app entry point class. -->
<entry-point class='org.gcube.datacatalogue.grsf_manage_widget.client.GRSFManageWidget' />
<!-- Specify the app entry point class. -->
<entry-point
class='org.gcube.datacatalogue.grsf_manage_widget.client.GRSFManageWidget' />
<!-- Specify the paths for translatable code -->
<source path='client' />
<source path='shared' />
<!-- Specify the paths for translatable code -->
<source path='client' />
<source path='shared' />
</module>

View File

@ -13,7 +13,7 @@
<servlet-mapping>
<servlet-name>grsfmanageservice</servlet-name>
<url-pattern>/GRSFManageWidget/ckanservices</url-pattern>
<url-pattern>/GRSFManageWidget/grsfmanageservice</url-pattern>
</servlet-mapping>
<!-- Default page to serve -->