Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 864:c0e13cf826d7
Cosmetics, doc.
flys-client/trunk@2671 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 08 Sep 2011 06:56:17 +0000 |
parents | c9549074ecd1 |
children | a680ccec5dd6 |
comparison
equal
deleted
inserted
replaced
863:9bb8b7a751ec | 864:c0e13cf826d7 |
---|---|
76 GWT.create(DescribeCollectionService.class); | 76 GWT.create(DescribeCollectionService.class); |
77 | 77 |
78 protected CollectionAttributeServiceAsync updater = | 78 protected CollectionAttributeServiceAsync updater = |
79 GWT.create(CollectionAttributeService.class); | 79 GWT.create(CollectionAttributeService.class); |
80 | 80 |
81 /** The message class that provides i18n strings.*/ | 81 /** The message class that provides i18n strings. */ |
82 protected FLYSConstants messages = GWT.create(FLYSConstants.class); | 82 protected FLYSConstants messages = GWT.create(FLYSConstants.class); |
83 | 83 |
84 /** The FLYS instance used to call services.*/ | 84 /** The FLYS instance used to call services. */ |
85 protected FLYS flys; | 85 protected FLYS flys; |
86 | 86 |
87 /** The ParameterList.*/ | 87 /** The ParameterList. */ |
88 protected ParameterList parameterList; | 88 protected ParameterList parameterList; |
89 | 89 |
90 /** The list of ValueChangeHandlers.*/ | 90 /** The list of CollectionChangeHandlers. */ |
91 protected List<CollectionChangeHandler> handlers; | 91 protected List<CollectionChangeHandler> handlers; |
92 | 92 |
93 /** The list of ValueChangeHandlers.*/ | 93 /** The list of OutputModesChangeHandlers. */ |
94 protected List<OutputModesChangeHandler> outHandlers; | 94 protected List<OutputModesChangeHandler> outHandlers; |
95 | 95 |
96 /** The collection to be displayed.*/ | 96 /** The collection to be displayed. */ |
97 protected Collection collection; | 97 protected Collection collection; |
98 | 98 |
99 /** The artifact that handles the parameterization.*/ | 99 /** The artifact that handles the parameterization. */ |
100 protected Artifact artifact; | 100 protected Artifact artifact; |
101 | 101 |
102 protected TabSet tabs; | 102 protected TabSet tabs; |
103 | 103 |
104 /** The output tab.*/ | 104 /** The output tab. */ |
105 protected Map<String, OutputTab> outputTabs; | 105 protected Map<String, OutputTab> outputTabs; |
106 | 106 |
107 /** The layout.*/ | 107 /** The layout. */ |
108 protected Layout layout; | 108 protected Layout layout; |
109 | 109 |
110 protected int artifactsQueue; | 110 protected int artifactsQueue; |
111 protected Stack<Recommendation> newRecommendations; | 111 protected Stack<Recommendation> newRecommendations; |
112 | 112 |
242 protected FLYS getFlys() { | 242 protected FLYS getFlys() { |
243 return flys; | 243 return flys; |
244 } | 244 } |
245 | 245 |
246 | 246 |
247 | 247 /** |
248 /** | 248 * This method registers a new CollectionChangeHandler. |
249 * This method registers a new ValueChangeHandler. | 249 * |
250 * | 250 * @param handler The new CollectionChangeHandler. |
251 * @param handler The new ValueChangeHandler. | |
252 */ | 251 */ |
253 public void addCollectionChangeHandler(CollectionChangeHandler handler) { | 252 public void addCollectionChangeHandler(CollectionChangeHandler handler) { |
254 if (handler != null) { | 253 if (handler != null) { |
255 handlers.add(handler); | 254 handlers.add(handler); |
256 } | 255 } |
265 public void addOutputModesChangeHandler(OutputModesChangeHandler handler) { | 264 public void addOutputModesChangeHandler(OutputModesChangeHandler handler) { |
266 if (handler != null) { | 265 if (handler != null) { |
267 outHandlers.add(handler); | 266 outHandlers.add(handler); |
268 } | 267 } |
269 } | 268 } |
270 | |
271 | 269 |
272 | 270 |
273 /** | 271 /** |
274 * This method calls the <code>onValueChange()</code> method of all | 272 * This method calls the <code>onValueChange()</code> method of all |
275 * registered ValueChangeHanders. | 273 * registered ValueChangeHanders. |
311 * @return the artifact that is used for the parameterization. | 309 * @return the artifact that is used for the parameterization. |
312 */ | 310 */ |
313 public Artifact getArtifact() { | 311 public Artifact getArtifact() { |
314 return artifact; | 312 return artifact; |
315 } | 313 } |
314 | |
316 | 315 |
317 public User getUser() { | 316 public User getUser() { |
318 return getFlys().getCurrentUser(); | 317 return getFlys().getCurrentUser(); |
319 } | 318 } |
320 | 319 |