1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common.ui.client.widgets.menus; |
17 |
|
|
18 |
|
import java.util.List; |
19 |
|
|
20 |
|
import org.kuali.student.common.ui.client.widgets.menus.impl.KSBasicMenuImpl; |
21 |
|
|
22 |
|
import com.google.gwt.core.client.GWT; |
23 |
|
|
|
|
| 0% |
Uncovered Elements: 20 (20) |
Complexity: 10 |
Complexity Density: 1 |
|
24 |
|
public class KSBasicMenu extends KSBasicMenuAbstract{ |
25 |
|
|
26 |
|
private KSBasicMenuAbstract basicMenu = GWT.create(KSBasicMenuImpl.class); |
27 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
28 |
0
|
public KSBasicMenu(){... |
29 |
0
|
initWidget(basicMenu); |
30 |
|
} |
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
@see |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
@Override... |
38 |
|
protected void populateMenu() { |
39 |
0
|
basicMenu.populateMenu(); |
40 |
|
} |
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
@return |
46 |
|
|
47 |
|
@see |
48 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
0
|
@Override... |
50 |
|
public List<KSMenuItemData> getItems() { |
51 |
0
|
return basicMenu.getItems(); |
52 |
|
} |
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
@param |
58 |
|
|
59 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
60 |
0
|
@Override... |
61 |
|
public void setItems(List<KSMenuItemData> items) { |
62 |
0
|
basicMenu.setItems(items); |
63 |
|
} |
64 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
65 |
0
|
@Override... |
66 |
|
public boolean isNumberAllItems() { |
67 |
0
|
return basicMenu.isNumberAllItems(); |
68 |
|
} |
69 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
0
|
@Override... |
71 |
|
public void setNumberAllItems(boolean numberAllItems) { |
72 |
0
|
basicMenu.setNumberAllItems(numberAllItems); |
73 |
|
} |
74 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
0
|
@Override... |
76 |
|
public void setDescription(String description) { |
77 |
0
|
basicMenu.setDescription(description); |
78 |
|
|
79 |
|
} |
80 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
0
|
@Override... |
82 |
|
public void setTitle(String title) { |
83 |
0
|
basicMenu.setTitle(title); |
84 |
|
|
85 |
|
} |
86 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
0
|
@Override... |
88 |
|
public boolean selectMenuItem(String[] hierarchy) { |
89 |
0
|
return basicMenu.selectMenuItem(hierarchy); |
90 |
|
} |
91 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
0
|
public void clearSelected(){... |
93 |
0
|
basicMenu.clearSelected(); |
94 |
|
} |
95 |
|
|
96 |
|
} |