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
This commit is contained in:
Giancarlo Panichi 2014-03-25 10:07:24 +00:00 committed by Giancarlo Panichi
parent f7c13caa4f
commit 16a869a8b4
2 changed files with 3 additions and 9 deletions

View File

@ -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);
}

View File

@ -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<TemplateData> grid;
protected ListStore<TemplateData> 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);