Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@113509 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-03-09 08:51:26 +00:00 committed by Giancarlo Panichi
parent c8f6fd5d70
commit 775b48de5f
2 changed files with 16 additions and 0 deletions

View File

@ -514,6 +514,16 @@ public class ToolBox extends TabPanel {
}
}
public void closeDownscaleCSquarePanel() {
Log.debug("Close DownscaleCSquare Tab");
if (downscaleCSquarePanel != null) {
remove(downscaleCSquarePanel);
downscaleCSquarePanel = null;
}
}
//
public void updateTabs() {
@ -622,6 +632,11 @@ public class ToolBox extends TabPanel {
geometryCreatePointPanel = null;
}
if(downscaleCSquarePanel!=null){
remove(downscaleCSquarePanel);
downscaleCSquarePanel = null;
}
forceLayout();
} catch (Throwable e) {

View File

@ -673,6 +673,7 @@ public class ToolBoxPanel extends ContentPanel {
toolBox.closeResourcesPanel();
toolBox.closeGeospatialCreateCoordinatesPanel();
toolBox.closeGeometryCreatePointPanel();
toolBox.closeDownscaleCSquarePanel();
Log.debug("ToolBoxPanel Closed");
}