Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/event/OutputModesChangeEvent.java @ 513:e090fbd5a535
Added a mechanism to listen to changes relating to output modes of collections and artifacts. Solves a part of ISSUE-62.
flys-client/trunk@1979 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 23 May 2011 14:30:54 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
512:e35de49f942f | 513:e090fbd5a535 |
---|---|
1 package de.intevation.flys.client.client.event; | |
2 | |
3 import de.intevation.flys.client.shared.model.OutputMode; | |
4 | |
5 | |
6 /** | |
7 * An event that is thrown if the output modes of a collection or an artifact | |
8 * have changed. | |
9 * | |
10 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
11 */ | |
12 public class OutputModesChangeEvent { | |
13 | |
14 protected OutputMode[] outs; | |
15 | |
16 | |
17 public OutputModesChangeEvent(OutputMode[] outs) { | |
18 this.outs = outs; | |
19 } | |
20 | |
21 | |
22 public OutputMode[] getOutputModes() { | |
23 return outs; | |
24 } | |
25 } | |
26 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |