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 TypeMethodDescriptionvoidfisheyeAdded(Graph graph, org.eclipse.draw2d.IFigure originalFigure, org.eclipse.draw2d.IFigure fisheyeFigure) Called when a fisheye figure is added to an observed graph.voidfisheyeRemoved(Graph graph, org.eclipse.draw2d.IFigure originalFigure, org.eclipse.draw2d.IFigure fisheyeFigure) Called when a fisheye figure is removed form an observed graph.voidfisheyeReplaced(Graph graph, org.eclipse.draw2d.IFigure oldFisheyeFigure, org.eclipse.draw2d.IFigure newFisheyeFigure) Called when one fisheye figure is replaced by another in an observed graph.
-
Method Details
-
fisheyeAdded
void fisheyeAdded(Graph graph, org.eclipse.draw2d.IFigure originalFigure, org.eclipse.draw2d.IFigure fisheyeFigure) Called when a fisheye figure is added to an observed graph.- Parameters:
graph- observed graphoriginalFigure- figure to be fisheyedfisheyeFigure- the added fisheye figure
-
fisheyeRemoved
void fisheyeRemoved(Graph graph, org.eclipse.draw2d.IFigure originalFigure, org.eclipse.draw2d.IFigure fisheyeFigure) Called when a fisheye figure is removed form an observed graph.- Parameters:
graph- observed graphoriginalFigure- figure that was fisheyedfisheyeFigure- the removed fisheye figure
-
fisheyeReplaced
void fisheyeReplaced(Graph graph, org.eclipse.draw2d.IFigure oldFisheyeFigure, org.eclipse.draw2d.IFigure newFisheyeFigure) 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
-