Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/core/Anywhere/src/org/litesoft/bo/attributes/UiHint.java

Diff revisions: vs.
  @@ -1,22 +1,22 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.bo.attributes;
3 -
4 - public enum UiHint implements PropertyOfAMD {
5 - RadioGroup,
6 - RightAligned;
7 -
8 - public static UiHint get( AttributeMetaData pAMD ) {
9 - return (UiHint) pAMD.getProperties().get( MAP_KEY );
10 - }
11 -
12 - private static final String MAP_KEY = "UiHint";
13 -
14 - @Override
15 - public String toString() {
16 - return MAP_KEY + "." + super.toString();
17 - }
18 -
19 - public String getMapKey() {
20 - return MAP_KEY;
21 - }
22 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.bo.attributes;
3 +
4 + public enum UiHint implements PropertyOfAMD {
5 + RadioGroup,
6 + RightAligned;
7 +
8 + public static UiHint get( AttributeMetaData pAMD ) {
9 + return (UiHint) pAMD.getProperties().get( MAP_KEY );
10 + }
11 +
12 + private static final String MAP_KEY = "UiHint";
13 +
14 + @Override
15 + public String toString() {
16 + return MAP_KEY + "." + super.toString();
17 + }
18 +
19 + public String getMapKey() {
20 + return MAP_KEY;
21 + }
22 + }