Mercurial > dive4elements > river
changeset 4601:16c19d4f1833
Add methods to hide and show the project list in FLYS class
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 30 Nov 2012 09:56:10 +0100 |
parents | e0be6ab43c23 |
children | 33bb8bf3899a |
files | flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java |
diffstat | 1 files changed, 19 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:52:40 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java Fri Nov 30 09:56:10 2012 +0100 @@ -521,5 +521,24 @@ flys.closeProject(uuid); } } + + public boolean isProjectListVisible() { + if (this.projectList == null) { + return true; + } + return this.projectList.isVisible(); + } + + public void hideProjectList() { + if (this.projectList != null) { + this.projectList.hide(); + } + } + + public void openProjectList() { + if (this.projectList != null) { + this.projectList.show(); + } + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :