Updated AddColumn

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@113851 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-04-01 09:30:45 +00:00
parent 51bc2bbd8e
commit 17fe162d9b
1 changed files with 8 additions and 6 deletions

View File

@ -674,10 +674,7 @@ public class AddColumnPanel extends FramedPanel implements
comboDimensionTypeLabel.setVisible(false);
comboColumnReferenceTypeLabel.setVisible(false);
comboTimeDimensionTypeLabel.setVisible(false);
exWrapper=null;
defaultValueString.reset();
btnRemoveExpression.setVisible(false);
defaultStringLabel.setVisible(true);
defaultStringLabel.setVisible(false);
break;
case TIMEDIMENSION:
comboLocaleTypeLabel.setVisible(false);
@ -706,11 +703,16 @@ public class AddColumnPanel extends FramedPanel implements
}
protected void updateMeasureType(ColumnDataType type) {
Log.debug("Update ColumnTypeCode " + type);
exWrapper=null;
defaultValueString.reset();
btnRemoveExpression.setVisible(false);
defaultStringLabel.setVisible(true);
forceLayout();
}
protected void updateAttributeType(ColumnDataType type) {
Log.debug("Update ColumnTypeCode " + type.toString());
Log.debug("Update ColumnTypeCode " + type);
exWrapper=null;
defaultValueString.reset();
btnRemoveExpression.setVisible(false);