1 | void initializeTableModel() {↵ | | 1 | void initializeTableModel() {↵
|
2 | tableModel = new ObjectTableModel(new String[] { COLUMN_NAMES_0, COLUMN_NAMES_1 },↵ | | 2 | tableModel = new ObjectTableModel(new String[] { COLUMN_NAMES[0], COLUMN_NAMES[1], COLUMN_NAMES[2] },↵
|
3 | Argument.class,↵ | | 3 | LDAPArgument.class,↵
|
4 | new Functor[] {↵ | | 4 | new Functor[] {↵
|
5 | new Functor("getName"), // $NON-NLS-1$↵ | | 5 | new Functor("getName"), ↵
|
6 | new Functor("getValue") }, // $NON-NLS-1$↵ | | 6 | new Functor("getValue"), new Functor("getOpcode") },↵
|
7 | new Functor[] {↵ | | 7 | new Functor[] {↵
|
8 | new Functor("setName"), // $NON-NLS-1$↵ | | 8 | new Functor("setName"), ↵
|
9 | new Functor("setValue") }, // $NON-NLS-1$↵ | | 9 | new Functor("setValue"), new Functor("setOpcode") },↵
|
10 | new Class[] { String.class, String.class });↵ | | 10 | new Class[] { String.class, String.class, String.class });↵
|
11 | }↵ | | 11 | }↵
|
|
12 | public static boolean testFunctors(){↵ | | 12 | public static boolean testFunctors(){↵
|
13 | ArgumentsPanel instance = new ArgumentsPanel();↵ | | 13 | LDAPArgumentsPanel instance = new LDAPArgumentsPanel();↵
|
14 | instance.initializeTableModel();↵ | | 14 | instance.initializeTableModel();↵
|
15 | return instance.tableModel.checkFunctors(null,instance.getClass());↵ | | 15 | return instance.tableModel.checkFunctors(null,instance.getClass());↵
|
16 | } | | 16 | }
|