1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
/* */ 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
*/
|