comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/OutputMode.java @ 796:cd8603aaa730

Improved the process of creating OutputTabs. Added support for map output. flys-client/trunk@2312 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 08 Jul 2011 08:54:08 +0000
parents 8264b02091ef
children
comparison
equal deleted inserted replaced
795:68b8770af6c5 796:cd8603aaa730
1 package de.intevation.flys.client.shared.model; 1 package de.intevation.flys.client.shared.model;
2 2
3 import java.io.Serializable; 3 import java.io.Serializable;
4 import java.util.List; 4 import java.util.List;
5
6 import de.intevation.flys.client.client.ui.CollectionView;
7 import de.intevation.flys.client.client.ui.OutputTab;
5 8
6 9
7 /** 10 /**
8 * This interface describes an output mode of an artifact. 11 * This interface describes an output mode of an artifact.
9 * 12 *
32 * 35 *
33 * 36 *
34 * @return the mime-type of this mode. 37 * @return the mime-type of this mode.
35 */ 38 */
36 String getMimeType(); 39 String getMimeType();
40
41
42 /**
43 * Returns the type of this mode.
44 *
45 * @return the type of this mode.
46 */
47 String getType();
37 48
38 49
39 /** 50 /**
40 * Adds a new facet to this mode. 51 * Adds a new facet to this mode.
41 * 52 *
76 * Returns all facets of this mode. 87 * Returns all facets of this mode.
77 * 88 *
78 * @return all facets. 89 * @return all facets.
79 */ 90 */
80 List<Facet> getFacets(); 91 List<Facet> getFacets();
92
93
94 /**
95 * Returns an OutputTab that is used to render the output mode.
96 *
97 * @param t The title.
98 * @param c The Collection.
99 * @param p The parent CollectionView.
100 *
101 * @return an OutputTab.
102 */
103 OutputTab createOutputTab(String t, Collection c, CollectionView p);
81 } 104 }
82 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 105 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org