Class FocusAndSelectOnClickHandler

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

public class FocusAndSelectOnClickHandler extends org.eclipse.gef.mvc.fx.handlers.AbstractHandler implements org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
  • Property Summary

    Properties inherited from class org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl

    adaptable

    Properties inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound

    adaptable
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound

    org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl<T extends org.eclipse.gef.common.adapt.IAdaptable>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    click(javafx.scene.input.MouseEvent e)
     
     
    protected boolean
    isAppend(javafx.scene.input.MouseEvent e)
     
    protected boolean
    isFocusAndSelect(javafx.scene.input.MouseEvent event)
     
    protected boolean
    isRestricted(org.eclipse.gef.mvc.fx.viewer.IViewer viewer, org.eclipse.gef.mvc.fx.parts.IVisualPart<? extends javafx.scene.Node> host)
     

    Methods inherited from class org.eclipse.gef.mvc.fx.handlers.AbstractHandler

    commit, execute, getHost, init, isRegistered, isRegisteredForHost, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisuals

    Methods inherited from class org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl

    adaptableProperty, getAdaptable, setAdaptable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound

    adaptableProperty, getAdaptable, setAdaptable

    Methods inherited from interface org.eclipse.gef.mvc.fx.handlers.IHandler

    getHost
  • Constructor Details

    • FocusAndSelectOnClickHandler

      public FocusAndSelectOnClickHandler()
  • Method Details

    • click

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

      protected boolean isAppend(javafx.scene.input.MouseEvent e)
    • isFocusAndSelect

      protected boolean isFocusAndSelect(javafx.scene.input.MouseEvent event)
    • getContentViewer

      protected InfiniteCanvasViewer getContentViewer()
    • isRestricted

      protected boolean isRestricted(org.eclipse.gef.mvc.fx.viewer.IViewer viewer, org.eclipse.gef.mvc.fx.parts.IVisualPart<? extends javafx.scene.Node> host)