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:
parent
6d079acd68
commit
fc2a7c5677
|
@ -51,7 +51,12 @@ public class ToolBox extends TabPanel {
|
||||||
setActiveWidget(getWidget(0));
|
setActiveWidget(getWidget(0));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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) {
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue