/* */ package NET.worlds.scape; /* */ /* */ import NET.worlds.console.PolledDialog; /* */ import java.io.PrintStream; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ public class ObjPropertyEditor /* */ extends PropEditor /* */ { /* */ SuperRoot root; /* */ Class clas; /* */ /* */ private ObjPropertyEditor(Property property, SuperRoot r, Class clas) /* */ { /* 55 */ super(property); /* 56 */ this.root = r; /* 57 */ this.clas = clas; /* */ } /* */ /* */ /* */ /* */ /* */ public PolledDialog edit(EditTile parent, String title) /* */ { /* 65 */ return new ObjEditorDialog(parent, title, this.property, this.root, this.clas); /* */ } /* */ /* */ /* */ /* */ /* */ public static Property make(Property property, SuperRoot r, Class clas) /* */ { /* 73 */ return property.setEditor(new ObjPropertyEditor(property, r, clas)); /* */ } /* */ /* */ /* */ /* */ /* */ /* */ public static Property make(Property property, SuperRoot r, String clas) /* */ { /* 82 */ Class c = null; /* */ try { /* 84 */ c = Class.forName(clas); /* */ } /* */ catch (ClassNotFoundException cfne) { /* 87 */ System.out.println("Couldn't find " + clas); /* 88 */ if (!$assertionsDisabled) throw new AssertionError(); /* */ } /* 90 */ return property.setEditor(new ObjPropertyEditor(property, r, c)); /* */ } /* */ } /* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\ObjPropertyEditor.class * Java compiler version: 6 (50.0) * JD-Core Version: 0.7.1 */