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

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

View File

@ -78,6 +78,8 @@ public class ToolBoxPanel extends ContentPanel {
case PROPERTIES: case PROPERTIES:
doPropertiesOpenTab(); doPropertiesOpenTab();
break; break;
case HELP:
doHelpTab();
default: default:
break; 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(){ public void closePanelOnly(){
collapse(); collapse();