diff --git a/.classpath b/.classpath index 215c1c9..914db7a 100644 --- a/.classpath +++ b/.classpath @@ -13,20 +13,22 @@ + - - + + diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index 6f1f647..9f2d2fd 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -1,42 +1,72 @@ - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + uses - + + + + - + + + + - + + + + - + + + + diff --git a/pom.xml b/pom.xml index c83d3c1..09a20eb 100644 --- a/pom.xml +++ b/pom.xml @@ -104,6 +104,10 @@ common-scope-maps compile + + commons-fileupload + commons-fileupload + org.gcube.portal client-context-library diff --git a/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/GeoPortalDataEntryApp.java b/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/GeoPortalDataEntryApp.java index d14ecc8..8971abc 100644 --- a/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/GeoPortalDataEntryApp.java +++ b/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/GeoPortalDataEntryApp.java @@ -38,8 +38,6 @@ public class GeoPortalDataEntryApp implements EntryPoint { */ private final GreetingServiceAsync greetingService = GWT.create(GreetingService.class); - private final Messages messages = GWT.create(Messages.class); - private final HandlerManager eventBus = new HandlerManager(null); private LinkedHashMap mapForms = new LinkedHashMap(); @@ -50,7 +48,7 @@ public class GeoPortalDataEntryApp implements EntryPoint { * This is the entry point method. */ public void onModuleLoad() { - + String scope = "/gcube/devsec/devVRE"; String secondaryType = "GeoNaMetadata"; diff --git a/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/Messages.java b/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/Messages.java deleted file mode 100644 index 51bd2d4..0000000 --- a/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/Messages.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.gcube.portlets.user.geoportaldataentry.client; - -import com.google.gwt.i18n.client.LocalizableResource.Generate; - -@Generate(format = "com.google.gwt.i18n.server.PropertyCatalogFactory") -public interface Messages extends com.google.gwt.i18n.client.Messages { - - @DefaultMessage("Enter your name") - String nameField(); - - @DefaultMessage("Send") - String sendButton(); -} diff --git a/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/ui/card/MetadataFormCard.java b/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/ui/card/MetadataFormCard.java index 782885c..b237c65 100644 --- a/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/ui/card/MetadataFormCard.java +++ b/src/main/java/org/gcube/portlets/user/geoportaldataentry/client/ui/card/MetadataFormCard.java @@ -9,7 +9,6 @@ import org.gcube.portlets.widgets.mpformbuilder.shared.GenericDatasetBean; import com.github.gwtbootstrap.client.ui.Button; import com.github.gwtbootstrap.client.ui.Tab; -import com.github.gwtbootstrap.client.ui.base.Style; import com.github.gwtbootstrap.client.ui.constants.IconType; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler;