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:
parent
fc2a7c5677
commit
6481a8312f
|
@ -70,6 +70,8 @@ public class ToolBox extends TabPanel {
|
||||||
Log.debug("Open Column Type Change Tab");
|
Log.debug("Open Column Type Change Tab");
|
||||||
if (changeColumnTypePanel == null) {
|
if (changeColumnTypePanel == null) {
|
||||||
addChangeColumnTypePanel(trId, columnName);
|
addChangeColumnTypePanel(trId, columnName);
|
||||||
|
} else {
|
||||||
|
changeColumnTypePanel.update(trId, columnName);
|
||||||
}
|
}
|
||||||
setActiveWidget(changeColumnTypePanel);
|
setActiveWidget(changeColumnTypePanel);
|
||||||
|
|
||||||
|
|
|
@ -123,6 +123,7 @@ public class ToolBoxPanel extends ContentPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void doColumnTypeChangeTab(WidgetRequestEvent event){
|
protected void doColumnTypeChangeTab(WidgetRequestEvent event){
|
||||||
|
Log.debug("WidgetRequestEvent.CHANGECOLUMNTYPEPANEL : ["+event.getTrId()+" ,columnName: "+event.getColumnName()+"]");
|
||||||
if (uiStateType == UIStateType.TR_OPEN) {
|
if (uiStateType == UIStateType.TR_OPEN) {
|
||||||
if (state == ToolBoxPanelState.OPENED) {
|
if (state == ToolBoxPanelState.OPENED) {
|
||||||
toolBox.openColumnTypeChangeTab(event.getTrId(), event.getColumnName());
|
toolBox.openColumnTypeChangeTab(event.getTrId(), event.getColumnName());
|
||||||
|
|
Loading…
Reference in New Issue