Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@90953 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-02-05 18:55:46 +00:00 committed by Giancarlo Panichi
parent 6d079acd68
commit fc2a7c5677
2 changed files with 15 additions and 1 deletions

View File

@ -51,7 +51,12 @@ public class ToolBox extends TabPanel {
setActiveWidget(getWidget(0));
}
public void showHelpTab(){
Log.debug("Show Help Tab");
setActiveWidget(helpPanel);
}
public void openPropertiesTab() {
Log.debug("Open Properties Tab");
if (trProperties == null) {

View File

@ -78,6 +78,8 @@ public class ToolBoxPanel extends ContentPanel {
case PROPERTIES:
doPropertiesOpenTab();
break;
case HELP:
doHelpTab();
default:
break;
}
@ -154,6 +156,13 @@ public class ToolBoxPanel extends ContentPanel {
}
protected void doHelpTab(){
Log.debug("ToolBoxPanel show help tab");
enable();
expand();
toolBox.showHelpTab();
}
public void closePanelOnly(){
collapse();