diff --git a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/ReplaceBatchDialog.java b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/ReplaceBatchDialog.java index 09e2af5..c4b916d 100644 --- a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/ReplaceBatchDialog.java +++ b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/ReplaceBatchDialog.java @@ -5,7 +5,6 @@ import java.util.ArrayList; import org.gcube.portlets.user.td.columnwidget.client.resources.ResourceBundle; import org.gcube.portlets.user.td.columnwidget.client.utils.UtilsGXT3; import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync; -import org.gcube.portlets.user.td.gwtservice.shared.Constants; import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTIsFinalException; import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTIsLockedException; import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException; @@ -26,6 +25,7 @@ import org.gcube.portlets.user.td.widgetcommonevent.client.type.ChangeTableWhy; import org.gcube.portlets.user.td.widgetcommonevent.client.type.SessionExpiredType; import org.gcube.portlets.user.td.widgetcommonevent.shared.OperationResult; import org.gcube.portlets.user.td.widgetcommonevent.shared.RequestProperties; +import org.gcube.portlets.user.td.widgetcommonevent.shared.RequestPropertiesParameterType; import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import com.allen_sauer.gwt.log.client.Log; @@ -90,11 +90,11 @@ public class ReplaceBatchDialog extends Window implements MonitorDialogListener this.eventBus = eventBus; invocationS = (InvocationS) requestProperties.getMap().get( - Constants.REQUEST_PROPERTIES_INVOCATIONS); + RequestPropertiesParameterType.InvocationS); taskIdOfInvocationS = invocationS.getTaskId(); conditionCode = (ConditionCode) requestProperties.getMap().get( - Constants.REQUEST_PROPERTIES_CONDITIONCODE); + RequestPropertiesParameterType.ConditionCode); Log.debug("Resume TaskId:" + taskIdOfInvocationS); initWindow(); diff --git a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/ReplaceBatchPanel.java b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/ReplaceBatchPanel.java index 4de9f1c..fce1545 100644 --- a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/ReplaceBatchPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/ReplaceBatchPanel.java @@ -14,7 +14,6 @@ import org.gcube.portlets.user.td.columnwidget.client.store.ShowOccurrencesTypeE import org.gcube.portlets.user.td.columnwidget.client.store.ShowOccurrencesTypeStore; import org.gcube.portlets.user.td.columnwidget.client.utils.UtilsGXT3; import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync; -import org.gcube.portlets.user.td.gwtservice.shared.Constants; import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTIsFinalException; import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTIsLockedException; import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException; @@ -33,6 +32,7 @@ import org.gcube.portlets.user.td.widgetcommonevent.client.event.SessionExpiredE import org.gcube.portlets.user.td.widgetcommonevent.client.type.SessionExpiredType; import org.gcube.portlets.user.td.widgetcommonevent.shared.CellData; import org.gcube.portlets.user.td.widgetcommonevent.shared.RequestProperties; +import org.gcube.portlets.user.td.widgetcommonevent.shared.RequestPropertiesParameterType; import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import com.allen_sauer.gwt.log.client.Log; @@ -149,16 +149,16 @@ public class ReplaceBatchPanel extends FramedPanel implements this.eventBus = eventBus; InvocationS invocationS = (InvocationS) requestProperties.getMap().get( - Constants.REQUEST_PROPERTIES_INVOCATIONS); + RequestPropertiesParameterType.InvocationS); columnId = invocationS.getColumnId(); refColumn = invocationS.getRefColumn(); conditionCode = (ConditionCode) requestProperties.getMap().get( - Constants.REQUEST_PROPERTIES_CONDITIONCODE); + RequestPropertiesParameterType.ConditionCode); validationColumnColumnId = (String) requestProperties.getMap().get( - Constants.REQUEST_PROPERTIES_VALIDATIONCOLUMNCOLUMNID); + RequestPropertiesParameterType.ValidationColumnColumnId); connection = null; hasValidationColumns = false; diff --git a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/geospatial/GeospatialCoordinatesTypePropertiesCombo.java b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/geospatial/GeospatialCoordinatesTypePropertiesCombo.java new file mode 100644 index 0000000..2a426ce --- /dev/null +++ b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/geospatial/GeospatialCoordinatesTypePropertiesCombo.java @@ -0,0 +1,25 @@ +package org.gcube.portlets.user.td.columnwidget.client.geospatial; + +import org.gcube.portlets.user.td.widgetcommonevent.shared.geospatial.GeospatialCoordinatesType; + +import com.google.gwt.editor.client.Editor.Path; +import com.sencha.gxt.data.shared.LabelProvider; +import com.sencha.gxt.data.shared.ModelKeyProvider; +import com.sencha.gxt.data.shared.PropertyAccess; + +/** + * + * @author "Giancarlo Panichi" + * g.panichi@isti.cnr.it + * + */ +public interface GeospatialCoordinatesTypePropertiesCombo extends + PropertyAccess { + + @Path("id") + ModelKeyProvider id(); + + LabelProvider label(); + + +}