Class OpenParentGraphOnDoubleClickHandler

java.lang.Object
org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl<IVisualPart<? extends javafx.scene.Node>>
org.eclipse.gef.mvc.fx.handlers.AbstractHandler
org.eclipse.gef.zest.fx.handlers.OpenParentGraphOnDoubleClickHandler
All Implemented Interfaces:
IAdaptable.Bound<IVisualPart<? extends javafx.scene.Node>>, org.eclipse.gef.mvc.fx.handlers.IHandler, org.eclipse.gef.mvc.fx.handlers.IOnClickHandler

public class OpenParentGraphOnDoubleClickHandler extends org.eclipse.gef.mvc.fx.handlers.AbstractHandler implements org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
The OpenParentGraphOnDoubleClickHandler is an IOnClickHandler that can be installed on ZestFxRootParts (see getHost()). It opens the Graph that contains the node that contains the Graph that is currently open when the background is double clicked.
  • Constructor Details

    • OpenParentGraphOnDoubleClickHandler

      public OpenParentGraphOnDoubleClickHandler()
  • Method Details

    • click

      public void click(javafx.scene.input.MouseEvent event)
      Specified by:
      click in interface org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
    • getHost

      public ZestFxRootPart getHost()
      Specified by:
      getHost in interface org.eclipse.gef.mvc.fx.handlers.IHandler
      Overrides:
      getHost in class org.eclipse.gef.mvc.fx.handlers.AbstractHandler