annotate gwt-client/src/main/java/org/dive4elements/river/client/shared/model/Module.java @ 8870:c26fb37899ca

Introduced groups for modules. Modules marked with the same group-id, will be put together in the ui. Also using now the localization info from the server instead of localizing the modules again on the client side.
author gernotbelger
date Wed, 07 Feb 2018 11:59:13 +0100
parents 5811dfe22897
children
rev   line source
5861
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
2 * Software engineering by Intevation GmbH
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
3 *
5993
ea9eef426962 Removed trailing whitespace.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5861
diff changeset
4 * This file is Free Software under the GNU AGPL (>=v3)
5861
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
5993
ea9eef426962 Removed trailing whitespace.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5861
diff changeset
6 * documentation coming with Dive4Elements River for details.
5861
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
7 */
172338b1407f GWT client: Added copyright header.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
8
5835
821a02bbfb4e Fixed internal java dependencies
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5834
diff changeset
9 package org.dive4elements.river.client.shared.model;
3514
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
10
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
11 import java.io.Serializable;
7760
5811dfe22897 Added list to module to store supported rivers.
Raimund Renkert <rrenkert@intevation.de>
parents: 5993
diff changeset
12 import java.util.List;
3514
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
13
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
14 public interface Module extends Serializable {
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
15
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
16 String getName();
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
17
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
18 String getLocalizedName();
3528
b5825159250e Add isSelected method to Module classes
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 3514
diff changeset
19
b5825159250e Add isSelected method to Module classes
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 3514
diff changeset
20 boolean isSelected();
8870
c26fb37899ca Introduced groups for modules. Modules marked with the same group-id, will be put together in the ui.
gernotbelger
parents: 7760
diff changeset
21
c26fb37899ca Introduced groups for modules. Modules marked with the same group-id, will be put together in the ui.
gernotbelger
parents: 7760
diff changeset
22 ModuleGroup getGroup();
7760
5811dfe22897 Added list to module to store supported rivers.
Raimund Renkert <rrenkert@intevation.de>
parents: 5993
diff changeset
23
5811dfe22897 Added list to module to store supported rivers.
Raimund Renkert <rrenkert@intevation.de>
parents: 5993
diff changeset
24 List<String> getRivers();
3514
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
25 }
1f293ada93d0 Added class representation of a module artifact
Bjoern Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
26 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 tw=80 :

http://dive4elements.wald.intevation.org