Class OpenNestedGraphOnDoubleClickHandler

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.OpenNestedGraphOnDoubleClickHandler
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 OpenNestedGraphOnDoubleClickHandler extends org.eclipse.gef.mvc.fx.handlers.AbstractHandler implements org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
The OpenNestedGraphOnDoubleClickHandler is an IOnClickHandler that can be installed on NodeParts (see getHost()). It opens the Graph that is nested inside of its NodePart when the NodePart is double clicked.
  • Constructor Details

    • OpenNestedGraphOnDoubleClickHandler

      public OpenNestedGraphOnDoubleClickHandler()
  • 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 NodePart getHost()
      Specified by:
      getHost in interface org.eclipse.gef.mvc.fx.handlers.IHandler
      Overrides:
      getHost in class org.eclipse.gef.mvc.fx.handlers.AbstractHandler