diff --git a/.classpath b/.classpath index a40fe77..2b3b74c 100644 --- a/.classpath +++ b/.classpath @@ -1,6 +1,6 @@ - + @@ -36,5 +36,5 @@ - + diff --git a/.settings/com.google.gdt.eclipse.core.prefs b/.settings/com.google.gdt.eclipse.core.prefs index 3585b9d..4e00d15 100644 --- a/.settings/com.google.gdt.eclipse.core.prefs +++ b/.settings/com.google.gdt.eclipse.core.prefs @@ -1,5 +1,5 @@ eclipse.preferences.version=1 jarsExcludedFromWebInfLib= -lastWarOutDir=/Users/massi/Documents/workspace/resource-management/target/resource-management-5.0.2-SNAPSHOT +lastWarOutDir=/Users/massi/Documents/workspace/resource-management/target/resource-management-5.0.3-SNAPSHOT warSrcDir=src/main/webapp warSrcDirIsOutput=false diff --git a/pom.xml b/pom.xml index 871557e..160b273 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ org.gcube.portlets.admin resource-management - 5.0.2-SNAPSHOT + 5.0.3-SNAPSHOT war gCube Resource Management Portlet @@ -67,7 +67,7 @@ xalan xalan - + com.sencha.gxt @@ -166,17 +166,22 @@ resource-sweeper-widget [2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT) - - - - - + + org.gcube.portlets.admin + software-upload-wizard + [1.1.0-SNAPSHOT, 2.0.0-SNAPSHOT) + org.gcube.portlets.admin activation-record-widgets [1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT) - + + + com.google.guava + guava + provided + com.google.inject guice diff --git a/src/main/java/org/gcube/portlets/admin/resourcemanagement/client/views/resourcedetails/ResourceDetailsPanel.java b/src/main/java/org/gcube/portlets/admin/resourcemanagement/client/views/resourcedetails/ResourceDetailsPanel.java index 5803001..c9233ad 100644 --- a/src/main/java/org/gcube/portlets/admin/resourcemanagement/client/views/resourcedetails/ResourceDetailsPanel.java +++ b/src/main/java/org/gcube/portlets/admin/resourcemanagement/client/views/resourcedetails/ResourceDetailsPanel.java @@ -25,6 +25,7 @@ import org.gcube.portlets.admin.resourcemanagement.client.utils.OpCommands; import org.gcube.portlets.admin.resourcemanagement.client.widgets.console.ConsoleMessageBroker; import org.gcube.portlets.admin.resourcemanagement.client.widgets.registry.UIIdentifiers; import org.gcube.portlets.admin.resourcemanagement.client.widgets.registry.WidgetsRegistry; +import org.gcube.portlets.admin.software_upload_wizard.client.AppController; //import org.gcube.portlets.admin.software_upload_wizard.client.AppController; import org.gcube.resourcemanagement.support.client.utils.StatusHandler; import org.gcube.resourcemanagement.support.client.views.ResourceTypeDecorator; @@ -323,24 +324,22 @@ public class ResourceDetailsPanel { this.getToolBar().add(new SeparatorToolItem()); ToolButton doAddSoftware = new ToolButton("add-software-icon") { protected void onClick(final ComponentEvent be) { -// super.onClick(be); -// -// -// GWT.runAsync(AppController.class, new RunAsyncCallback() { -// @Override -// public void onSuccess() { -// String currentScope = StatusHandler.getStatus().getCurrentScope(); -// HandlerManager eventBus = new HandlerManager(null); -// AppController appViewer = new AppController(eventBus, currentScope); -// //AppController appViewer = new AppController(eventBus); -// appViewer.go(); -// } -// -// public void onFailure(Throwable reason) { -// Window.alert("There are networks problem, please check your connection."); -// } -// -// }); + super.onClick(be); + GWT.runAsync(AppController.class, new RunAsyncCallback() { + @Override + public void onSuccess() { + String currentScope = StatusHandler.getStatus().getCurrentScope(); + HandlerManager eventBus = new HandlerManager(null); + AppController appViewer = new AppController(eventBus, currentScope); + //AppController appViewer = new AppController(eventBus); + appViewer.go(); + } + + public void onFailure(Throwable reason) { + Window.alert("There are networks problem, please check your connection."); + } + + }); }; }; diff --git a/src/main/resources/org/gcube/portlets/admin/resourcemanagement/ResourceManagementPortlet.gwt.xml b/src/main/resources/org/gcube/portlets/admin/resourcemanagement/ResourceManagementPortlet.gwt.xml index d98b914..ad60f9f 100644 --- a/src/main/resources/org/gcube/portlets/admin/resourcemanagement/ResourceManagementPortlet.gwt.xml +++ b/src/main/resources/org/gcube/portlets/admin/resourcemanagement/ResourceManagementPortlet.gwt.xml @@ -8,7 +8,7 @@ - + diff --git a/src/main/webapp/ResourceManagementPortlet.css b/src/main/webapp/ResourceManagementPortlet.css index 1c56496..b94faf9 100644 --- a/src/main/webapp/ResourceManagementPortlet.css +++ b/src/main/webapp/ResourceManagementPortlet.css @@ -1,6 +1,6 @@ /* Comment import to style regular, uncomment if deploying on openbio or d4science.org */ /*@import url(openbio.css);*/ -@import url(d4scienceOrg.css); +@import url(coherence.css); /* Fix the scrollbar background style*/ .x-progress-text div { diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index c8273ef..8eb050a 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -28,17 +28,17 @@ - - - - - - - - - - - + + guiceFilter + com.google.inject.servlet.GuiceFilter + + + guiceFilter + /* + + + org.gcube.portlets.admin.software_upload_wizard.server.BootstrapListener + diff --git a/src/main/webapp/d4scienceOrg.css b/src/main/webapp/coherence.css similarity index 100% rename from src/main/webapp/d4scienceOrg.css rename to src/main/webapp/coherence.css