Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 862:c9549074ecd1
Parse Artifact's 'background-processing' attribute and lock the UI if this attribute is true.
flys-client/trunk@2669 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 07 Sep 2011 13:57:28 +0000 |
parents | 25a4bf390757 |
children | c0e13cf826d7 |
comparison
equal
deleted
inserted
replaced
861:65204f30877b | 862:c9549074ecd1 |
---|---|
324 * | 324 * |
325 * @param artifact The new artifact. | 325 * @param artifact The new artifact. |
326 */ | 326 */ |
327 public void setArtifact(Artifact artifact) { | 327 public void setArtifact(Artifact artifact) { |
328 this.artifact = artifact; | 328 this.artifact = artifact; |
329 | |
330 onArtifactChanged(artifact); | |
331 } | |
332 | |
333 | |
334 public void onArtifactChanged(Artifact artifact) { | |
335 if (artifact.isInBackground()) { | |
336 new LoadingPanel(this, artifact); | |
337 } | |
329 } | 338 } |
330 | 339 |
331 | 340 |
332 /** | 341 /** |
333 * Implements the onCollectionChange() method to do update the GUI after the | 342 * Implements the onCollectionChange() method to do update the GUI after the |