comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java @ 600:347cf4a5a486

Open projects are removed from screen if the user deletes them (via project list). flys-client/trunk@2205 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 22 Jun 2011 13:39:15 +0000
parents 62b65b7b5c7c
children 9acbd3f98262
comparison
equal deleted inserted replaced
599:1dbffe4c6d12 600:347cf4a5a486
58 CollectionView view = views.get(uuid); 58 CollectionView view = views.get(uuid);
59 59
60 view.show(); 60 view.show();
61 view.restore(); 61 view.restore();
62 } 62 }
63
64
65 /**
66 * Removes a project from workspace (view) and clears its reference from
67 * hash map.
68 *
69 * @param uuid The project's uuid.
70 */
71 public void destroyProject(String uuid) {
72 CollectionView project = views.get(uuid);
73
74 if (project != null) {
75 removeProject(uuid);
76 project.destroy();
77 }
78 }
63 } 79 }
64 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 80 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org