comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/StyleSetting.java @ 2908:cd068ff7966d

Show only style attributes in StyleEditorWindow that are not 'hidden'. flys-client/trunk@4685 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 18 Jun 2012 11:17:29 +0000
parents 92074508a387
children
comparison
equal deleted inserted replaced
2907:3521f330f57c 2908:cd068ff7966d
21 protected String hints; 21 protected String hints;
22 22
23 /**The type*/ 23 /**The type*/
24 protected String type; 24 protected String type;
25 25
26 /** Determines, if the property should be visible in UI or not.*/
27 protected boolean hidden;
28
26 29
27 /** 30 /**
28 * Create a new StyleSetting for theme attribution. 31 * Create a new StyleSetting for theme attribution.
29 */ 32 */
30 public StyleSetting() { 33 public StyleSetting() {
38 * @param displayName The name to show in a dialog. 41 * @param displayName The name to show in a dialog.
39 * @param hints Hints. 42 * @param hints Hints.
40 * @param type The attribute type. 43 * @param type The attribute type.
41 */ 44 */
42 public StyleSetting( 45 public StyleSetting(
43 String name, 46 String name,
44 String defaultValue, 47 String defaultValue,
45 String displayName, 48 String displayName,
46 String hints, 49 String hints,
47 String type) 50 String type,
51 boolean hidden)
48 { 52 {
49 this.name = name; 53 this.name = name;
50 this.defaultValue = defaultValue; 54 this.defaultValue = defaultValue;
51 this.displayName = displayName; 55 this.displayName = displayName;
52 this.hints = hints; 56 this.hints = hints;
53 this.type = type; 57 this.type = type;
58 this.hidden = hidden;
54 } 59 }
55 60
56 public void setName(String name) { 61 public void setName(String name) {
57 this.name = name; 62 this.name = name;
58 } 63 }
90 } 95 }
91 96
92 public String getType() { 97 public String getType() {
93 return this.type; 98 return this.type;
94 } 99 }
100
101 public boolean isHidden() {
102 return hidden;
103 }
95 } 104 }
96 105
97 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 106 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org