[Dive4elements-commits] [PATCH 03 of 11] Add methods to hide and show the project list in FLYS class
Wald Commits
scm-commit at wald.intevation.org
Fri Nov 30 12:02:08 CET 2012
# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1354265770 -3600
# Node ID 16c19d4f18339cf098b5b3f9910bfd66be85dfd3
# Parent e0be6ab43c23ad477a50175cbfe7ca9c2813e37c
Add methods to hide and show the project list in FLYS class
diff -r e0be6ab43c23 -r 16c19d4f1833 flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java
--- 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 :
More information about the Dive4elements-commits
mailing list