From d094bd3a748263dee11af431e0ab3fdd87a69799 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 5 Dec 2013 14:14:42 +0000 Subject: [PATCH] Added TRId to UIStateEvent git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@86605 82a268e6-3cf1-43bd-a215-b396298e98cf --- pom.xml | 10 +++++----- .../user/td/wizardwidget/client/WizardListener.java | 2 +- .../user/td/wizardwidget/client/WizardWindow.java | 2 +- .../gcube/portlets/user/td/wizardwidget/Wizard.gwt.xml | 3 ++- .../user/td/wizardwidget/client/GwtTestWizard.java | 10 +++++----- .../portlets/user/td/wizardwidget/WizardJUnit.gwt.xml | 10 +++++++--- 6 files changed, 21 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 32f179c..33d1179 100644 --- a/pom.xml +++ b/pom.xml @@ -105,15 +105,15 @@ - + + + org.gcube.portlets.user - tabular-data-gwt-service - [2.0.0-SNAPSHOT,3.0.0-SNAPSHOT) + tabular-data-widget-common-event + 1.0.0-SNAPSHOT - - com.allen-sauer.gwt.log diff --git a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardListener.java b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardListener.java index ff13915..27c5b37 100644 --- a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardListener.java +++ b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardListener.java @@ -3,7 +3,7 @@ */ package org.gcube.portlets.user.td.wizardwidget.client; -import org.gcube.portlets.user.td.gwtservice.shared.tr.TRId; +import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; /** diff --git a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java index 489a6cc..48938e2 100644 --- a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java +++ b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java @@ -5,8 +5,8 @@ package org.gcube.portlets.user.td.wizardwidget.client; import java.util.ArrayList; +import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import org.gcube.portlets.user.td.wizardwidget.client.util.ErrorMessageBox; -import org.gcube.portlets.user.td.gwtservice.shared.tr.TRId; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.core.client.Callback; diff --git a/src/main/resources/org/gcube/portlets/user/td/wizardwidget/Wizard.gwt.xml b/src/main/resources/org/gcube/portlets/user/td/wizardwidget/Wizard.gwt.xml index 6b9dcc1..57dce87 100644 --- a/src/main/resources/org/gcube/portlets/user/td/wizardwidget/Wizard.gwt.xml +++ b/src/main/resources/org/gcube/portlets/user/td/wizardwidget/Wizard.gwt.xml @@ -17,7 +17,8 @@ - + + diff --git a/src/test/java/org/gcube/portlets/user/td/wizardwidget/client/GwtTestWizard.java b/src/test/java/org/gcube/portlets/user/td/wizardwidget/client/GwtTestWizard.java index 9fddfbb..8fc6041 100644 --- a/src/test/java/org/gcube/portlets/user/td/wizardwidget/client/GwtTestWizard.java +++ b/src/test/java/org/gcube/portlets/user/td/wizardwidget/client/GwtTestWizard.java @@ -1,7 +1,7 @@ package org.gcube.portlets.user.td.wizardwidget.client; -import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync; +//import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync; import com.google.gwt.core.client.GWT; import com.google.gwt.junit.client.GWTTestCase; @@ -32,10 +32,10 @@ public class GwtTestWizard extends GWTTestCase { */ public void testWizard() { // Create the service that we will test. - TDGWTServiceAsync tdGWTService = TDGWTServiceAsync.INSTANCE; - ServiceDefTarget target = (ServiceDefTarget) tdGWTService; - System.out.println(GWT.getModuleBaseURL() + "/TDGWTService"); - target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/TDGWTService"); + //TDGWTServiceAsync tdGWTService = TDGWTServiceAsync.INSTANCE; + //ServiceDefTarget target = (ServiceDefTarget) tdGWTService; + //System.out.println(GWT.getModuleBaseURL() + "/TDGWTService"); + //target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/TDGWTService"); // 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 diff --git a/src/test/resources/org/gcube/portlets/user/td/wizardwidget/WizardJUnit.gwt.xml b/src/test/resources/org/gcube/portlets/user/td/wizardwidget/WizardJUnit.gwt.xml index 9485045..32b7368 100644 --- a/src/test/resources/org/gcube/portlets/user/td/wizardwidget/WizardJUnit.gwt.xml +++ b/src/test/resources/org/gcube/portlets/user/td/wizardwidget/WizardJUnit.gwt.xml @@ -1,13 +1,17 @@ - + + + - + + +