Updated package name

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@84061 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-10-24 14:07:25 +00:00
parent dd9b897864
commit 8def4ef14a
10 changed files with 18 additions and 19 deletions

View File

@ -7,7 +7,7 @@
<stringAttribute key="com.google.gwt.eclipse.core.STYLE" value="OBFUSCATED"/> <stringAttribute key="com.google.gwt.eclipse.core.STYLE" value="OBFUSCATED"/>
<stringAttribute key="com.google.gwt.eclipse.core.WEB_MODE" value="false"/> <stringAttribute key="com.google.gwt.eclipse.core.WEB_MODE" value="false"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/tabular-data-information/src/test/java/org/gcube/portlets/user/td/information/client/GwtTestInformation.java"/> <listEntry value="/tabular-data-information-widget/src/test/java/org/gcube/portlets/user/td/informationwidget/client/GwtTestInformation.java"/>
</listAttribute> </listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/> <listEntry value="1"/>
@ -17,6 +17,6 @@
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> <stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/> <stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="com.google.gdt.eclipse.maven.mavenClasspathProvider"/> <stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="com.google.gdt.eclipse.maven.mavenClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.gcube.portlets.user.td.information.client.GwtTestInformation"/> <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.gcube.portlets.user.td.informationwidget.client.GwtTestInformation"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="tabular-data-information"/> <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="tabular-data-information-widget"/>
</launchConfiguration> </launchConfiguration>

View File

@ -7,7 +7,7 @@
<stringAttribute key="com.google.gwt.eclipse.core.STYLE" value="OBFUSCATED"/> <stringAttribute key="com.google.gwt.eclipse.core.STYLE" value="OBFUSCATED"/>
<stringAttribute key="com.google.gwt.eclipse.core.WEB_MODE" value="true"/> <stringAttribute key="com.google.gwt.eclipse.core.WEB_MODE" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/tabular-data-information/src/test/java/org/gcube/portlets/user/td/information/client/GwtTestInformation.java"/> <listEntry value="/tabular-data-information-widget/src/test/java/org/gcube/portlets/user/td/informationwidget/client/GwtTestInformation.java"/>
</listAttribute> </listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/> <listEntry value="1"/>

View File

@ -201,7 +201,7 @@
<configuration> <configuration>
<runTarget>Information.html</runTarget> <runTarget>Information.html</runTarget>
<hostedWebapp>${webappDirectory}</hostedWebapp> <hostedWebapp>${webappDirectory}</hostedWebapp>
<module>org.gcube.portlets.user.td.information.Information</module> <module>org.gcube.portlets.user.td.informationwidget.Information</module>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -1,4 +1,4 @@
package org.gcube.portlets.user.td.information.client; package org.gcube.portlets.user.td.informationwidget.client;
import com.allen_sauer.gwt.log.client.Log; import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.EntryPoint;

View File

@ -1,9 +1,11 @@
package org.gcube.portlets.user.td.information.client; package org.gcube.portlets.user.td.informationwidget.client;
import java.util.HashMap; import java.util.HashMap;
import org.gcube.portlets.user.td.gxtservice.client.rpc.TDGXTServiceAsync; import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
import org.gcube.portlets.user.td.gxtservice.shared.TabResource; import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.web.bindery.event.shared.EventBus; import com.google.web.bindery.event.shared.EventBus;
@ -33,7 +35,7 @@ public class TabularResourceProperties extends ContentPanel {
setId(name); setId(name);
this.eventBus = eventBus; this.eventBus = eventBus;
TDGXTServiceAsync.INSTANCE TDGWTServiceAsync.INSTANCE
.getTabResource(new AsyncCallback<TabResource>() { .getTabResource(new AsyncCallback<TabResource>() {
@Override @Override

View File

@ -1,14 +1,11 @@
package org.gcube.portlets.user.td.information.client; package org.gcube.portlets.user.td.informationwidget.client;
import org.gcube.portlets.user.td.gxtservice.client.rpc.TDGXTService; import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTService;
import org.gcube.portlets.user.td.gxtservice.client.rpc.TDGXTServiceAsync; import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
import org.gcube.portlets.user.td.gxtservice.shared.TDGXTServiceException;
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.GWT;
import com.google.gwt.junit.client.GWTTestCase; import com.google.gwt.junit.client.GWTTestCase;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.ServiceDefTarget; import com.google.gwt.user.client.rpc.ServiceDefTarget;
/** /**
@ -36,10 +33,10 @@ public class GwtTestInformation extends GWTTestCase {
*/ */
public void testInformation() { public void testInformation() {
// Create the service that we will test. // Create the service that we will test.
TDGXTServiceAsync tdGXTService = GWT.create(TDGXTService.class); TDGWTServiceAsync tdGXTService = GWT.create(TDGWTService.class);
ServiceDefTarget target = (ServiceDefTarget) tdGXTService; ServiceDefTarget target = (ServiceDefTarget) tdGXTService;
System.out.println(GWT.getModuleBaseURL() + "/TDGXTService"); System.out.println(GWT.getModuleBaseURL() + "/TDGWTService");
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/TDGXTService"); target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/TDGWTService");
// Since RPC calls are asynchronous, we will need to wait for a response // Since RPC calls are asynchronous, we will need to wait for a response
// after this test method returns. This line tells the test runner to wait // after this test method returns. This line tells the test runner to wait