Class TypeStrokeGesture

java.lang.Object
org.eclipse.gef.mvc.fx.gestures.AbstractGesture
org.eclipse.gef.mvc.fx.gestures.TypeStrokeGesture
com.amalgamasimulation.graphicaleditor.behaviors.TypeStrokeGesture
All Implemented Interfaces:
org.eclipse.gef.common.activate.IActivatable, org.eclipse.gef.common.adapt.IAdaptable.Bound<org.eclipse.gef.mvc.fx.domain.IDomain>, org.eclipse.gef.mvc.fx.gestures.IGesture

public class TypeStrokeGesture extends org.eclipse.gef.mvc.fx.gestures.TypeStrokeGesture
  • Property Summary

    Properties inherited from class org.eclipse.gef.mvc.fx.gestures.AbstractGesture

    active, 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>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Class<org.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler>
    The type of the policy that has to be supported by target parts.
    static final Class<org.eclipse.gef.mvc.fx.handlers.IOnTypeHandler>
    The type of the policy that has to be supported by target parts.

    Fields inherited from interface org.eclipse.gef.common.activate.IActivatable

    ACTIVE_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    List<? extends org.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler>
    getActiveHandlers(org.eclipse.gef.mvc.fx.viewer.IViewer viewer)
     

    Methods inherited from class org.eclipse.gef.mvc.fx.gestures.AbstractGesture

    abortPolicies, activate, activeProperty, adaptableProperty, clearActiveHandlers, createFocusChangeListener, deactivate, doAbortPolicies, doHookScene, doUnhookScene, getAdaptable, getDomain, getHandlerResolver, hookScene, isActive, setActiveHandlers, setAdaptable, unhookScene

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ON_TYPE_POLICY_KEY

      public static final Class<org.eclipse.gef.mvc.fx.handlers.IOnTypeHandler> ON_TYPE_POLICY_KEY
      The type of the policy that has to be supported by target parts.
    • ON_STROKE_POLICY_KEY

      public static final Class<org.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler> ON_STROKE_POLICY_KEY
      The type of the policy that has to be supported by target parts.
  • Constructor Details

    • TypeStrokeGesture

      public TypeStrokeGesture()
  • Method Details

    • doActivate

      protected void doActivate()
      Overrides:
      doActivate in class org.eclipse.gef.mvc.fx.gestures.TypeStrokeGesture
    • doDeactivate

      protected void doDeactivate()
      Overrides:
      doDeactivate in class org.eclipse.gef.mvc.fx.gestures.TypeStrokeGesture
    • getActiveHandlers

      public List<? extends org.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler> getActiveHandlers(org.eclipse.gef.mvc.fx.viewer.IViewer viewer)
      Specified by:
      getActiveHandlers in interface org.eclipse.gef.mvc.fx.gestures.IGesture
      Overrides:
      getActiveHandlers in class org.eclipse.gef.mvc.fx.gestures.TypeStrokeGesture