@@ -73,15 +73,15 @@ public static abstract class Provider {
73
73
}
74
74
75
75
76
- static final class Actions {
76
+ public static final class Actions {
77
77
78
78
private final List <HeapViewerNodeAction > actions ;
79
79
80
80
private Actions (List <HeapViewerNodeAction > actions ) {
81
81
this .actions = actions ;
82
82
}
83
83
84
- static Actions forNode (HeapViewerNode node , Collection <HeapViewerNodeAction .Provider > actionProviders ,
84
+ public static Actions forNode (HeapViewerNode node , Collection <HeapViewerNodeAction .Provider > actionProviders ,
85
85
HeapContext context , HeapViewerActions actions , HeapViewerNodeAction ... additionalActions ) {
86
86
List <HeapViewerNodeAction > actionsList = new ArrayList ();
87
87
for (HeapViewerNodeAction .Provider provider : actionProviders ) {
@@ -98,7 +98,7 @@ public int compare(HeapViewerNodeAction a1, HeapViewerNodeAction a2) {
98
98
}
99
99
100
100
101
- void performDefaultAction (ActionEvent e ) {
101
+ public void performDefaultAction (ActionEvent e ) {
102
102
for (HeapViewerNodeAction action : actions ) {
103
103
if (action .isDefault ()) {
104
104
if (action .isEnabled ()) action .actionPerformed (e );
@@ -107,7 +107,7 @@ void performDefaultAction(ActionEvent e) {
107
107
}
108
108
}
109
109
110
- void performMiddleButtonAction (ActionEvent e ) {
110
+ public void performMiddleButtonAction (ActionEvent e ) {
111
111
for (HeapViewerNodeAction action : actions ) {
112
112
if (action .isMiddleButtonDefault (e )) {
113
113
if (action .isEnabled ()) {
@@ -118,7 +118,7 @@ void performMiddleButtonAction(ActionEvent e) {
118
118
}
119
119
}
120
120
121
- void populatePopup (JPopupMenu popup ) {
121
+ public void populatePopup (JPopupMenu popup ) {
122
122
int lastPosition = -1 ;
123
123
for (HeapViewerNodeAction action : actions ) {
124
124
int position = action .getPosition () / 100 ;
0 commit comments