From 16a869a8b40ab569d0bba3e83dd1934bfac4e634 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 25 Mar 2014 10:07:24 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@93501 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../tablewidget/client/template/TemplateDeleteDialog.java | 7 ++----- .../tablewidget/client/template/TemplateDeletePanel.java | 5 +---- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/tablewidget/client/template/TemplateDeleteDialog.java b/src/main/java/org/gcube/portlets/user/td/tablewidget/client/template/TemplateDeleteDialog.java index 1fadf47..33610d6 100644 --- a/src/main/java/org/gcube/portlets/user/td/tablewidget/client/template/TemplateDeleteDialog.java +++ b/src/main/java/org/gcube/portlets/user/td/tablewidget/client/template/TemplateDeleteDialog.java @@ -4,7 +4,6 @@ import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync; import org.gcube.portlets.user.td.gwtservice.shared.template.TemplateDeleteSession; import org.gcube.portlets.user.td.tablewidget.client.resources.ResourceBundle; import org.gcube.portlets.user.td.tablewidget.client.util.UtilsGXT3; -import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.user.client.rpc.AsyncCallback; @@ -24,15 +23,13 @@ public class TemplateDeleteDialog extends Window { protected String WIDTH = "650px"; protected String HEIGHT = "530px"; protected TemplateDeleteSession templateDeleteSession; - protected TRId trId; protected EventBus eventBus; - public TemplateDeleteDialog(TRId trId, EventBus eventBus) { - this.trId=trId; + public TemplateDeleteDialog(EventBus eventBus) { this.eventBus=eventBus; initWindow(); - TemplateDeletePanel templateDeletePanel= new TemplateDeletePanel(this,trId, eventBus); + TemplateDeletePanel templateDeletePanel= new TemplateDeletePanel(this, eventBus); add(templateDeletePanel); } diff --git a/src/main/java/org/gcube/portlets/user/td/tablewidget/client/template/TemplateDeletePanel.java b/src/main/java/org/gcube/portlets/user/td/tablewidget/client/template/TemplateDeletePanel.java index 921ba01..f649cac 100644 --- a/src/main/java/org/gcube/portlets/user/td/tablewidget/client/template/TemplateDeletePanel.java +++ b/src/main/java/org/gcube/portlets/user/td/tablewidget/client/template/TemplateDeletePanel.java @@ -8,7 +8,6 @@ import org.gcube.portlets.user.td.gwtservice.shared.template.TemplateData; import org.gcube.portlets.user.td.gwtservice.shared.template.TemplateDeleteSession; import org.gcube.portlets.user.td.tablewidget.client.resources.ResourceBundle; import org.gcube.portlets.user.td.tablewidget.client.util.UtilsGXT3; -import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.core.client.GWT; @@ -49,7 +48,6 @@ public class TemplateDeletePanel extends FramedPanel { protected String HEIGHT = "520px"; protected EventBus eventBus; protected TemplateDeleteDialog parent; - protected TRId trId; protected TemplateDeleteSession templateDeleteSession; private TextButton btnDelete; @@ -59,10 +57,9 @@ public class TemplateDeletePanel extends FramedPanel { protected Grid grid; protected ListStore store; - public TemplateDeletePanel(TemplateDeleteDialog parent, TRId trId, + public TemplateDeletePanel(TemplateDeleteDialog parent, EventBus eventBus) { this.parent = parent; - this.trId = trId; Log.debug("TemplateDeletePanel"); setWidth(WIDTH); setHeight(HEIGHT);