Updated Denormalize

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@98402 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-07-03 16:15:45 +00:00
parent 12fb07fd9b
commit 7d2cb6ab31
3 changed files with 22 additions and 3 deletions

View File

@ -509,6 +509,7 @@ public class TabularDataController {
openColumnMerge();
break;
case DENORMALIZE:
openDenormalize();
break;
case NORMALIZE:
openNormalize();
@ -1014,7 +1015,25 @@ public class TabularDataController {
Log.debug("Request Open Normalize Tab");
if (trId != null) {
WidgetRequestEvent e = new WidgetRequestEvent(
WidgetRequestType.NORAMLIZEPANEL);
WidgetRequestType.NORMALIZEPANEL);
e.setTrId(trId);
e.setColumnName(columnName);
eventBus.fireEvent(e);
} else {
Log.error("TRId is null");
UtilsGXT3.alert("Error", "No current tabular resource present");
}
}
protected void openDenormalize() {
openDenormalize(null);
}
protected void openDenormalize(String columnName) {
Log.debug("Request Open Denormalize Tab");
if (trId != null) {
WidgetRequestEvent e = new WidgetRequestEvent(
WidgetRequestType.DENORMALIZEPANEL);
e.setTrId(trId);
e.setColumnName(columnName);
eventBus.fireEvent(e);

View File

@ -453,7 +453,7 @@ public class CurationToolBar {
rulesButton.disable();
manageRulesButton.disable();
applyTemplateButton.enable();
denormalizeButton.disable();
denormalizeButton.enable();
normalizeButton.enable();
changeColumnLabelButton.enable();
columnTypeButton.enable();

View File

@ -59,7 +59,7 @@
value="ENABLED" /> <set-property name="log_GWTLogger" value="ENABLED" />
<set-property name="log_SystemLogger" value="ENABLED" /> -->
<set-property name="log_DivLogger" value="DISABLED" />
<set-property name="log_ConsoleLogger" value="DISABLED" />
<set-property name="log_FirebugLogger" value="DISABLED" />