Fixed ColumnType Tab behavior

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@90975 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-02-06 13:15:03 +00:00 committed by Giancarlo Panichi
parent fc2a7c5677
commit 6481a8312f
2 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,8 @@ public class ToolBox extends TabPanel {
Log.debug("Open Column Type Change Tab");
if (changeColumnTypePanel == null) {
addChangeColumnTypePanel(trId, columnName);
} else {
changeColumnTypePanel.update(trId, columnName);
}
setActiveWidget(changeColumnTypePanel);

View File

@ -123,6 +123,7 @@ public class ToolBoxPanel extends ContentPanel {
}
protected void doColumnTypeChangeTab(WidgetRequestEvent event){
Log.debug("WidgetRequestEvent.CHANGECOLUMNTYPEPANEL : ["+event.getTrId()+" ,columnName: "+event.getColumnName()+"]");
if (uiStateType == UIStateType.TR_OPEN) {
if (state == ToolBoxPanelState.OPENED) {
toolBox.openColumnTypeChangeTab(event.getTrId(), event.getColumnName());