From 51f8c0cd407bd7dc75738a3ea9190c285a7c10c0 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 13 Mar 2014 13:59:57 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@93052 82a268e6-3cf1-43bd-a215-b396298e98cf --- .gwt/.gwt-log | 96 +++++++++++++++++++ .../client/ChangeColumnTypePanel.java | 17 ++-- 2 files changed, 105 insertions(+), 8 deletions(-) diff --git a/.gwt/.gwt-log b/.gwt/.gwt-log index aad2efe..179f6f4 100644 --- a/.gwt/.gwt-log +++ b/.gwt/.gwt-log @@ -1542,3 +1542,99 @@ Compiling... Compilation completed in 0.00 seconds Removing invalidated units Finding entry point classes +Public resources found in... +Translatable source found in... +Found 0 cached/archived units. Used 0 / 2719 units from cache. +Compiling... + 30% complete (ETR: 8 seconds) + 30% complete (ETR: 8 seconds) + 30% complete (ETR: 8 seconds) + 30% complete (ETR: 8 seconds) + 40% complete (ETR: 8 seconds) + 50% complete (ETR: 6 seconds) + 60% complete (ETR: 4 seconds) + 70% complete (ETR: 3 seconds) + 80% complete (ETR: 2 seconds) + 90% complete (ETR: 1 seconds) + 100% complete (ETR: 0 seconds) + Compilation completed in 17.12 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 2719 cached/archived units. Used 2719 / 2719 units from cache. +Compiling... + Compilation completed in 0.00 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 2719 cached/archived units. Used 2719 / 2719 units from cache. +Compiling... + Compilation completed in 0.00 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 0 cached/archived units. Used 0 / 2719 units from cache. +Compiling... + 10% complete (ETR: 30 seconds) + 10% complete (ETR: 30 seconds) + 20% complete (ETR: 25 seconds) + 30% complete (ETR: 19 seconds) + 40% complete (ETR: 15 seconds) + 50% complete (ETR: 11 seconds) + 60% complete (ETR: 9 seconds) + 70% complete (ETR: 7 seconds) + 80% complete (ETR: 4 seconds) + 90% complete (ETR: 2 seconds) + 100% complete (ETR: 0 seconds) + Compilation completed in 29.24 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 2719 cached/archived units. Used 2719 / 2719 units from cache. +Compiling... + Compilation completed in 0.00 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 2719 cached/archived units. Used 2719 / 2719 units from cache. +Compiling... + Compilation completed in 0.00 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 0 cached/archived units. Used 0 / 2719 units from cache. +Compiling... + 20% complete (ETR: 12 seconds) + 20% complete (ETR: 12 seconds) + 20% complete (ETR: 12 seconds) + 30% complete (ETR: 12 seconds) + 40% complete (ETR: 9 seconds) + 50% complete (ETR: 6 seconds) + 60% complete (ETR: 5 seconds) + 70% complete (ETR: 3 seconds) + 80% complete (ETR: 2 seconds) + 90% complete (ETR: 1 seconds) + 100% complete (ETR: 0 seconds) + Compilation completed in 16.62 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 2719 cached/archived units. Used 2719 / 2719 units from cache. +Compiling... + Compilation completed in 0.00 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 2719 cached/archived units. Used 2719 / 2719 units from cache. +Compiling... + Compilation completed in 0.00 seconds +Removing invalidated units +Finding entry point classes diff --git a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/ChangeColumnTypePanel.java b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/ChangeColumnTypePanel.java index a4f550a..1c183af 100644 --- a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/ChangeColumnTypePanel.java +++ b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/ChangeColumnTypePanel.java @@ -113,6 +113,13 @@ public class ChangeColumnTypePanel extends FramedPanel implements this.trId = trId; this.columnName = columnName; this.eventBus = eventBus; + create(); + } + + + protected void create(){ + + Log.debug("Create ChangeColumnTypePanel(): [" + trId.toString() + " columnName: " + columnName + "]"); @@ -547,16 +554,9 @@ public class ChangeColumnTypePanel extends FramedPanel implements public void onFailure(Throwable caught) { Log.error("load combo failure:" + caught.getLocalizedMessage()); - AlertMessageBox d = new AlertMessageBox("Error", + alert("Error", "Error retrieving columns of tabular resource:" + trId.getId()); - d.addHideHandler(new HideHandler() { - - public void onHide(HideEvent event) { - - } - }); - d.show(); callback.onFailure(caught); } @@ -578,6 +578,7 @@ public class ChangeColumnTypePanel extends FramedPanel implements for (ColumnData cd : result) { Log.debug("ColumnData name:" + cd.getName()); if (cd.getName().compareTo(columnName) == 0) { + updateComboStatus(cd); } }