package net.voxelindustry.brokkgui.immediate.style;

public enum StyleType
{
    LIGHT,
    NORMAL,
    DARK
}

@@ -57,12 +57,13 @@
 lic 
-enum
+class
  Sty
@@ -79,34 +79,364 @@
     
-LIGHT,%0A    NORMAL,%0A    DARK
+public static final StyleType LIGHT  = new StyleType(%22light%22);%0A    public static final StyleType NORMAL = new StyleType(%22normal%22);%0A    public static final StyleType DARK   = new StyleType(%22dark%22);%0A%0A    private String name;%0A%0A    public StyleType(String name)%0A    %7B%0A        this.name = name;%0A    %7D%0A%0A    public String getName()%0A    %7B%0A        return name;%0A    %7D
 %0A%7D%0A

Make StyleType an object