From: <za...@us...> - 2006-07-27 13:46:24
|
Revision: 1229 Author: zaister Date: 2006-07-27 06:46:17 -0700 (Thu, 27 Jul 2006) ViewCVS: http://svn.sourceforge.net/pcgen/?rev=1229&view=rev Log Message: ----------- Eclipse forgot to commit the new class Added Paths: ----------- Trunk/pcgen/code/src/java/pcgen/util/enumeration/ Trunk/pcgen/code/src/java/pcgen/util/enumeration/Visibility.java Added: Trunk/pcgen/code/src/java/pcgen/util/enumeration/Visibility.java =================================================================== --- Trunk/pcgen/code/src/java/pcgen/util/enumeration/Visibility.java (rev 0) +++ Trunk/pcgen/code/src/java/pcgen/util/enumeration/Visibility.java 2006-07-27 13:46:17 UTC (rev 1229) @@ -0,0 +1,21 @@ +package pcgen.util.enumeration; + +public enum Visibility { + + HIDDEN("No"), // Does not show up either in the GUI or on the output sheet + DEFAULT("Yes"), // Shows up both in the GUI and on the output sheet + OUTPUT_ONLY("Export"), // Shows up on the output sheet, but not in the GUI + DISPLAY_ONLY("Display"); // Shows up in the GUI, but not on the output sheet + + private final String text; + + Visibility(String s) + { + text = s; + } + + public String toString() + { + return text; + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |