Package org.eclipse.swt.internal
Class WidgetSpy.NonDisposedWidgetTracker
java.lang.Object
org.eclipse.swt.internal.WidgetSpy.NonDisposedWidgetTracker
- All Implemented Interfaces:
WidgetSpy.WidgetTracker
- Enclosing class:
- WidgetSpy
public static class WidgetSpy.NonDisposedWidgetTracker
extends Object
implements WidgetSpy.WidgetTracker
Default implementation simply collects all created and not disposed widgets
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setTrackedTypes
(List<Class<? extends Widget>> types) void
setTrackingEnabled
(boolean enabled) void
void
void
widgetCreated
(Widget widget) void
widgetDisposed
(Widget widget)
-
Constructor Details
-
NonDisposedWidgetTracker
public NonDisposedWidgetTracker()
-
-
Method Details
-
widgetCreated
- Specified by:
widgetCreated
in interfaceWidgetSpy.WidgetTracker
-
widgetDisposed
- Specified by:
widgetDisposed
in interfaceWidgetSpy.WidgetTracker
-
getNonDisposedWidgets
-
startTracking
public void startTracking() -
stopTracking
public void stopTracking() -
setTrackingEnabled
public void setTrackingEnabled(boolean enabled) -
setTrackedTypes
-