/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 *
 */

package com.xpn.xwiki.objects.meta;

import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.objects.BaseCollection;
import com.xpn.xwiki.objects.classes.StaticListClass;
import com.xpn.xwiki.objects.classes.StringClass;

import com.xpn.xwiki.objects.classes.BooleanClass;
import com.xpn.xwiki.objects.classes.ListClass;
import com.xpn.xwiki.objects.classes.NumberClass;

public class StaticListMetaClass extends ListMetaClass {


    public StaticListMetaClass() {
        super();
        setPrettyName("Static List Class");
        setName(StaticListClass.class.getName());

        StringClass values_class = new StringClass(this);
        values_class.setName("values");
        values_class.setPrettyName("Values");
        values_class.setSize(40);
        safeput("values", values_class);
        
        BooleanClass picker_class = new BooleanClass(this);
        picker_class.setName("picker");
        picker_class.setPrettyName("Use Suggest");
        picker_class.setDisplayType("yesno");
        picker_class.setUnmodifiable(true);
        safeput("picker", picker_class);
    }

    public BaseCollection newObject(XWikiContext context) {
        return new StaticListClass();
    }
}

@@ -1049,76 +1049,22 @@
 ses.
-StaticListClass;%0Aimport com.xpn.xwiki.objects.classes.String
+Boolean
 Class;%0A
-%0A
 impo
@@ -1100,59 +1100,14 @@
 ses.
-BooleanClass;%0Aimport com.xpn.xwiki.objects.classes.
+Static
 List
@@ -1154,14 +1154,14 @@
 ses.
-Number
+String
 Clas
@@ -1222,12 +1222,10 @@
 lass
- %7B%0A
 %0A
+%7B
 %0A   
@@ -1253,16 +1253,20 @@
 aClass()
+%0A   
  %7B%0A     
@@ -1591,24 +1591,16 @@
 class);%0A
-        
 %0A       
@@ -1938,16 +1938,20 @@
 context)
+%0A   
  %7B%0A     

Apply codestyle