tabular-data-column-widget/src/main/java/org/gcube/portlets/user/td/columnwidget/client/batch/BatchReplaceDialog.java

29 lines
844 B
Java

package org.gcube.portlets.user.td.columnwidget.client.batch;
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
import com.google.web.bindery.event.shared.EventBus;
import com.sencha.gxt.widget.core.client.Window;
public class BatchReplaceDialog extends Window {
protected String WIDTH = "650px";
protected String HEIGHT = "530px";
protected TRId trId;
protected String columnName=null;
public BatchReplaceDialog(TRId trId, String columnName, EventBus eventBus) {
setWidth(WIDTH);
setHeight(HEIGHT);
setBodyBorder(false);
setResizable(false);
setHeadingText("Change Column Type");
//getHeader().setIcon(Resources.IMAGES.side_list());
this.trId=trId;
this.columnName=columnName;
BatchReplacePanel batchRepalcePanel= new BatchReplacePanel(trId,columnName,eventBus);
add(batchRepalcePanel);
}
}