Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@93409 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b696bc0f72
commit
a33964bcbf
|
@ -18,14 +18,13 @@ import com.sencha.gxt.widget.core.client.event.SelectEvent.SelectHandler;
|
|||
public class TemplateApplyDialog extends Window {
|
||||
protected String WIDTH = "650px";
|
||||
protected String HEIGHT = "530px";
|
||||
protected TRId trId;
|
||||
protected String columnName=null;
|
||||
|
||||
|
||||
|
||||
public TemplateApplyDialog(EventBus eventBus) {
|
||||
public TemplateApplyDialog(TRId trId, EventBus eventBus) {
|
||||
initWindow();
|
||||
|
||||
TemplateApplyPanel templateApplyPanel= new TemplateApplyPanel(this,eventBus);
|
||||
TemplateApplyPanel templateApplyPanel= new TemplateApplyPanel(this,trId, eventBus);
|
||||
add(templateApplyPanel);
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ import java.util.List;
|
|||
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.template.TemplateData;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.ColumnData;
|
||||
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;
|
||||
|
@ -38,7 +37,6 @@ import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer;
|
|||
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData;
|
||||
import com.sencha.gxt.widget.core.client.event.SelectEvent;
|
||||
import com.sencha.gxt.widget.core.client.event.SelectEvent.SelectHandler;
|
||||
import com.sencha.gxt.widget.core.client.form.TextField;
|
||||
import com.sencha.gxt.widget.core.client.grid.CheckBoxSelectionModel;
|
||||
import com.sencha.gxt.widget.core.client.grid.ColumnConfig;
|
||||
import com.sencha.gxt.widget.core.client.grid.ColumnModel;
|
||||
|
@ -50,12 +48,8 @@ public class TemplateApplyPanel extends FramedPanel {
|
|||
protected String HEIGHT = "520px";
|
||||
protected EventBus eventBus;
|
||||
protected TemplateApplyDialog parent;
|
||||
protected TextField label = null;
|
||||
protected TRId trId;
|
||||
protected String columnName;
|
||||
protected ColumnData column;
|
||||
|
||||
|
||||
|
||||
|
||||
private TextButton btnApply;
|
||||
private TextButton btnClose;
|
||||
|
@ -66,8 +60,9 @@ public class TemplateApplyPanel extends FramedPanel {
|
|||
protected ListStore<TemplateData> store;
|
||||
|
||||
|
||||
public TemplateApplyPanel(TemplateApplyDialog parent, EventBus eventBus) {
|
||||
public TemplateApplyPanel(TemplateApplyDialog parent, TRId trId,EventBus eventBus) {
|
||||
this.parent=parent;
|
||||
this.trId=trId;
|
||||
Log.debug("TemplateApplyPanel");
|
||||
setWidth(WIDTH);
|
||||
setHeight(HEIGHT);
|
||||
|
|
Loading…
Reference in New Issue