1 | if (dndAction == true) {↵ | | 1 | if (dndAction == true) {↵
|
2 | Object[] list = getSelectedValues();↵ | | 2 | Object[] list = getSelectedValues();↵
|
|
3 | selection1 = new IBasicModelPartial[list.length];↵ | | 3 | selection1 = new IHeaderItem[list.length];↵
|
|
4 | for (int i = 0; i < list.length; i++) {↵ | | 4 | for (int i = 0; i < list.length; i++) {↵
|
5 | selection1[i] = (IBasicModelPartial) list[i];↵ | | 5 | selection1[i] = (IHeaderItem) list[i];↵
|
6 | }↵ | | 6 | }↵
|
|
7 | dndAction = false;↵ | | 7 | dndAction = false;↵
|
8 | } else {↵ | | 8 | } else {↵
|
9 | Object[] list = getSelectedValues();↵ | | 9 | Object[] list = getSelectedValues();↵
|
|
10 | selection2 = new IBasicModelPartial[list.length];↵ | | 10 | selection2 = new IHeaderItem[list.length];↵
|
|
11 | for (int i = 0; i < list.length; i++) {↵ | | 11 | for (int i = 0; i < list.length; i++) {↵
|
12 | selection2[i] = (IBasicModelPartial) list[i];↵ | | 12 | selection2[i] = (IHeaderItem) list[i];↵
|
13 | }↵ | | 13 | }↵
|
|
14 | dndAction = true;↵ | | 14 | dndAction = true;↵
|
15 | } | | 15 | }
|