minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@90120 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-01-14 18:43:32 +00:00
parent aa7646f3f0
commit 1debb39c99
1 changed files with 4 additions and 2 deletions

View File

@ -36,7 +36,8 @@ import com.sencha.gxt.widget.core.client.info.Info;
public class RemoveColumnDialog extends Window {
protected TRId trId;
public RemoveColumnDialog(TRId trId) {
create(trId, null);
}
@ -46,6 +47,7 @@ public class RemoveColumnDialog extends Window {
}
protected void create(TRId trId, String columnName) {
this.trId=trId;
setBodyBorder(false);
// getHeader().setIcon(Resources.IMAGES.side_list());
setHeadingText("Remove Column");
@ -141,7 +143,7 @@ public class RemoveColumnDialog extends Window {
protected void loadData(ListLoadConfig loadConfig,
final AsyncCallback<ListLoadResult<ColumnData>> callback) {
TDGWTServiceAsync.INSTANCE.getColumns(new AsyncCallback<ArrayList<ColumnData>>(){
TDGWTServiceAsync.INSTANCE.getColumns(trId, new AsyncCallback<ArrayList<ColumnData>>(){
public void onFailure(Throwable caught) {
Log.error("load combo failure:"+caught.getLocalizedMessage());