Package org.eclipse.zest.core.widgets
Interface FisheyeListener
public interface FisheyeListener
Interface for listener that can be added to
Graph
and receive
notifications when fisheye figures are added, removed or replaced in it.- Since:
- 1.14
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fisheyeAdded
(Graph graph, IFigure originalFigure, IFigure fisheyeFigure) Called when a fisheye figure is added to an observed graph.void
fisheyeRemoved
(Graph graph, IFigure originalFigure, IFigure fisheyeFigure) Called when a fisheye figure is removed form an observed graph.void
fisheyeReplaced
(Graph graph, IFigure oldFisheyeFigure, IFigure newFisheyeFigure) Called when one fisheye figure is replaced by another in an observed graph.
-
Method Details
-
fisheyeAdded
Called when a fisheye figure is added to an observed graph.- Parameters:
graph
- observed graphoriginalFigure
- figure to be fisheyedfisheyeFigure
- the added fisheye figure
-
fisheyeRemoved
Called when a fisheye figure is removed form an observed graph.- Parameters:
graph
- observed graphoriginalFigure
- figure that was fisheyedfisheyeFigure
- the removed fisheye figure
-
fisheyeReplaced
Called when one fisheye figure is replaced by another in an observed graph.- Parameters:
graph
- observed grapholdFisheyeFigure
- fisheye figure that is replacednewFisheyeFigure
- fisheye figure that replaces the old figure
-