Updated change column type
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@94605 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
915b0753c3
commit
9dadb209c1
|
@ -2504,3 +2504,35 @@ Compiling...
|
||||||
Compilation completed in 0.00 seconds
|
Compilation completed in 0.00 seconds
|
||||||
Removing invalidated units
|
Removing invalidated units
|
||||||
Finding entry point classes
|
Finding entry point classes
|
||||||
|
Public resources found in...
|
||||||
|
Translatable source found in...
|
||||||
|
Found 0 cached/archived units. Used 0 / 2719 units from cache.
|
||||||
|
Compiling...
|
||||||
|
50% complete (ETR: 5 seconds)
|
||||||
|
50% complete (ETR: 5 seconds)
|
||||||
|
50% complete (ETR: 5 seconds)
|
||||||
|
50% complete (ETR: 5 seconds)
|
||||||
|
50% complete (ETR: 5 seconds)
|
||||||
|
50% complete (ETR: 5 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 14.56 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
|
||||||
|
|
|
@ -680,6 +680,9 @@ public class ChangeColumnTypePanel extends FramedPanel implements
|
||||||
.selectedAttribute(cd.getDataTypeName()));
|
.selectedAttribute(cd.getDataTypeName()));
|
||||||
comboAttributeType.setValue(ColumnDataTypeStore
|
comboAttributeType.setValue(ColumnDataTypeStore
|
||||||
.selectedAttributeElement(cd.getDataTypeName()));
|
.selectedAttributeElement(cd.getDataTypeName()));
|
||||||
|
} else {
|
||||||
|
if (type == ColumnTypeCode.CODENAME) {
|
||||||
|
setLocale(cd.getLocale());
|
||||||
} else {
|
} else {
|
||||||
// TODO Add TimeDimension and Dimension information to
|
// TODO Add TimeDimension and Dimension information to
|
||||||
// ColumnData
|
// ColumnData
|
||||||
|
@ -692,7 +695,7 @@ public class ChangeColumnTypePanel extends FramedPanel implements
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -929,4 +932,15 @@ public class ChangeColumnTypePanel extends FramedPanel implements
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
protected void setLocale(String locale){
|
||||||
|
for(LocaleTypeElement loc:storeComboLocaleType.getAll()){
|
||||||
|
if(loc.getLocaleName().compareTo(locale)==0){
|
||||||
|
comboLocaleType.setValue(loc);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue