Updated package name
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@84064 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a28f55ca6c
commit
cf4c155770
|
@ -1,7 +1,7 @@
|
||||||
package org.gcube.portlets.user.td.open.client;
|
package org.gcube.portlets.user.td.openwidget.client;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.open.client.general.WizardWindow;
|
import org.gcube.portlets.user.td.openwidget.client.general.WizardWindow;
|
||||||
import org.gcube.portlets.user.td.gxtservice.shared.TDOpenSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.TDOpenSession;
|
||||||
|
|
||||||
import com.allen_sauer.gwt.log.client.Log;
|
import com.allen_sauer.gwt.log.client.Log;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.portlets.user.td.open.client;
|
package org.gcube.portlets.user.td.openwidget.client;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client;
|
package org.gcube.portlets.user.td.openwidget.client;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||||
|
|
||||||
import com.google.gwt.editor.client.Editor.Path;
|
import com.google.gwt.editor.client.Editor.Path;
|
||||||
import com.sencha.gxt.core.client.ValueProvider;
|
import com.sencha.gxt.core.client.ValueProvider;
|
|
@ -1,12 +1,12 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client;
|
package org.gcube.portlets.user.td.openwidget.client;
|
||||||
|
|
||||||
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.TDOpenSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.TDOpenSession;
|
||||||
import org.gcube.portlets.user.td.gxtservice.shared.TabResource;
|
import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||||
import org.gcube.portlets.user.td.open.client.general.WizardCard;
|
import org.gcube.portlets.user.td.openwidget.client.general.WizardCard;
|
||||||
|
|
||||||
import com.allen_sauer.gwt.log.client.Log;
|
import com.allen_sauer.gwt.log.client.Log;
|
||||||
import com.google.gwt.event.logical.shared.SelectionEvent;
|
import com.google.gwt.event.logical.shared.SelectionEvent;
|
||||||
|
@ -64,7 +64,7 @@ public class TabResourcesSelectionCard extends WizardCard {
|
||||||
TabResource tabResource = tdOpenSession
|
TabResource tabResource = tdOpenSession
|
||||||
.getSelectedTabResource();
|
.getSelectedTabResource();
|
||||||
|
|
||||||
TDGXTServiceAsync.INSTANCE.setTabResource(tabResource,
|
TDGWTServiceAsync.INSTANCE.setTabResource(tabResource,
|
||||||
new AsyncCallback<Void>() {
|
new AsyncCallback<Void>() {
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(Throwable caught) {
|
public void onFailure(Throwable caught) {
|
|
@ -1,14 +1,14 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client;
|
package org.gcube.portlets.user.td.openwidget.client;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.open.client.dataresource.ResourceBundle;
|
import org.gcube.portlets.user.td.openwidget.client.dataresource.ResourceBundle;
|
||||||
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.allen_sauer.gwt.log.client.Log;
|
import com.allen_sauer.gwt.log.client.Log;
|
||||||
import com.google.gwt.core.client.GWT;
|
import com.google.gwt.core.client.GWT;
|
||||||
|
@ -181,7 +181,7 @@ public class TabResourcesSelectionPanel extends ContentPanel implements HasSelec
|
||||||
|
|
||||||
|
|
||||||
protected void loadData(ListLoadConfig loadConfig, final AsyncCallback<ListLoadResult<TabResource>> callback) {
|
protected void loadData(ListLoadConfig loadConfig, final AsyncCallback<ListLoadResult<TabResource>> callback) {
|
||||||
TDGXTServiceAsync.INSTANCE.getTabularResources(new AsyncCallback<List<TabResource>>() {
|
TDGWTServiceAsync.INSTANCE.getTabularResources(new AsyncCallback<List<TabResource>>() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(Throwable caught) {
|
public void onFailure(Throwable caught) {
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.portlets.user.td.open.client.dataresource;
|
package org.gcube.portlets.user.td.openwidget.client.dataresource;
|
||||||
|
|
||||||
|
|
||||||
import com.google.gwt.core.client.GWT;
|
import com.google.gwt.core.client.GWT;
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client.dataresource;
|
package org.gcube.portlets.user.td.openwidget.client.dataresource;
|
||||||
|
|
||||||
import com.google.gwt.resources.client.CssResource;
|
import com.google.gwt.resources.client.CssResource;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client.general;
|
package org.gcube.portlets.user.td.openwidget.client.general;
|
||||||
|
|
||||||
import com.google.gwt.user.client.ui.HTML;
|
import com.google.gwt.user.client.ui.HTML;
|
||||||
import com.sencha.gxt.widget.core.client.ContentPanel;
|
import com.sencha.gxt.widget.core.client.ContentPanel;
|
|
@ -1,9 +1,9 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client.general;
|
package org.gcube.portlets.user.td.openwidget.client.general;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.open.client.dataresource.ResourceBundle;
|
import org.gcube.portlets.user.td.openwidget.client.dataresource.ResourceBundle;
|
||||||
|
|
||||||
import com.allen_sauer.gwt.log.client.Log;
|
import com.allen_sauer.gwt.log.client.Log;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client.general;
|
package org.gcube.portlets.user.td.openwidget.client.general;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gxtservice.shared.TRId;
|
import org.gcube.portlets.user.td.gwtservice.shared.TRId;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client.general;
|
package org.gcube.portlets.user.td.openwidget.client.general;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gxtservice.shared.TRId;
|
import org.gcube.portlets.user.td.gwtservice.shared.TRId;
|
||||||
import org.gcube.portlets.user.td.open.client.util.ErrorMessageBox;
|
import org.gcube.portlets.user.td.openwidget.client.util.ErrorMessageBox;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.portlets.user.td.open.client.source;
|
package org.gcube.portlets.user.td.openwidget.client.source;
|
||||||
|
|
||||||
|
|
||||||
public class FileSource implements Source {
|
public class FileSource implements Source {
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.portlets.user.td.open.client.source;
|
package org.gcube.portlets.user.td.openwidget.client.source;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.portlets.user.td.open.client.source;
|
package org.gcube.portlets.user.td.openwidget.client.source;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.portlets.user.td.open.client.source;
|
package org.gcube.portlets.user.td.openwidget.client.source;
|
||||||
|
|
||||||
|
|
||||||
public class WorkspaceSource implements Source {
|
public class WorkspaceSource implements Source {
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client.util;
|
package org.gcube.portlets.user.td.openwidget.client.util;
|
||||||
|
|
||||||
import com.google.gwt.core.client.Callback;
|
import com.google.gwt.core.client.Callback;
|
||||||
import com.google.gwt.user.client.ui.Label;
|
import com.google.gwt.user.client.ui.Label;
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client.util;
|
package org.gcube.portlets.user.td.openwidget.client.util;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Federico De Faveri defaveri@isti.cnr.it
|
* @author Federico De Faveri defaveri@isti.cnr.it
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.open.client.util;
|
package org.gcube.portlets.user.td.openwidget.client.util;
|
||||||
|
|
||||||
import com.google.gwt.core.client.Callback;
|
import com.google.gwt.core.client.Callback;
|
||||||
|
|
|
@ -2,9 +2,9 @@ package org.gcube.portlets.user.td.open.client;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
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.TabResource;
|
import org.gcube.portlets.user.td.gwtservice.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;
|
||||||
|
@ -35,7 +35,7 @@ public class GwtTestTDOpen extends GWTTestCase {
|
||||||
*/
|
*/
|
||||||
public void testResource() {
|
public void testResource() {
|
||||||
// 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() + "TDGXTService");
|
||||||
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "TDGXTService");
|
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "TDGXTService");
|
||||||
|
|
Loading…
Reference in New Issue