Mercurial > dive4elements > river
changeset 4604:488db475613d
Add methods to hide and show the manage projects button of the header
It should be possible to show the manage projects button only if the ProjectList
is hidden. Therefore add methods to allow to show and hide the button.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 30 Nov 2012 10:00:39 +0100 |
parents | 7b8063c2d589 |
children | c1c4c95ae9e4 |
files | flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java Fri Nov 30 09:59:07 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java Fri Nov 30 10:00:39 2012 +0100 @@ -537,5 +537,13 @@ this.projectList.show(); } } + + public void hideHeaderProjectButton() { + this.header.hideProjectButton(); + } + + public void shoHeaderProjectButton() { + this.header.showProjectButton(); + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :