Skip to content

Commit 63f3b35

Browse files
committed
6916: JOverflow treemap listener depending on internal SWT class
Reviewed-by: aptmac, ghb
1 parent c3b53e6 commit 63f3b35

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

application/org.openjdk.jmc.joverflow.ui/src/main/java/org/openjdk/jmc/joverflow/ui/TreemapAction.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
import org.openjdk.jmc.ui.CoreImages;
4040

4141
class TreemapAction extends Action {
42-
private static final String ICON_RESET = "reset.gif"; //$NON-NLS-1$
43-
4442
private final TreemapActionType actionType;
4543
private Runnable runnable = () -> {
4644
};

application/org.openjdk.jmc.joverflow.ui/src/main/java/org/openjdk/jmc/joverflow/ui/swt/events/TreemapListener.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
*/
3434
package org.openjdk.jmc.joverflow.ui.swt.events;
3535

36-
import org.eclipse.swt.internal.SWTEventListener;
37-
import org.openjdk.jmc.joverflow.ui.swt.Treemap;
38-
36+
import java.util.EventListener;
3937
import java.util.function.Consumer;
4038

39+
import org.openjdk.jmc.joverflow.ui.swt.Treemap;
40+
4141
/**
4242
* Classes which implement this interface provide methods that deal with setting new item as top for
4343
* a treemap.
4444
*/
45-
public interface TreemapListener extends SWTEventListener {
45+
public interface TreemapListener extends EventListener {
4646

4747
/**
4848
* Sent when a treemap becomes the new top.

0 commit comments

Comments
 (0)