Class NodeClickableAreaBehavior

java.lang.Object
org.eclipse.gef.mvc.fx.behaviors.AbstractBehavior
com.amalgamasimulation.graphicaleditor.behaviors.NodeClickableAreaBehavior
All Implemented Interfaces:
org.eclipse.gef.common.activate.IActivatable, org.eclipse.gef.common.adapt.IAdaptable.Bound<org.eclipse.gef.mvc.fx.parts.IVisualPart<? extends javafx.scene.Node>>, org.eclipse.gef.mvc.fx.behaviors.IBehavior

public class NodeClickableAreaBehavior extends org.eclipse.gef.mvc.fx.behaviors.AbstractBehavior
  • Property Summary

    Properties inherited from class org.eclipse.gef.mvc.fx.behaviors.AbstractBehavior

    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
    protected ActionModel
     
    static final double
     
    protected AbstractNodePart<?,?>
     
    protected org.eclipse.gef.mvc.fx.viewer.IViewer
     

    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
     
     
    protected void
     

    Methods inherited from class org.eclipse.gef.mvc.fx.behaviors.AbstractBehavior

    activate, activeProperty, adaptableProperty, addAnchoreds, addAnchoreds, addFeedback, addFeedback, addHandles, addHandles, clearFeedback, clearHandles, deactivate, getAdaptable, getFeedback, getFeedback, getFeedbackPartFactory, getFeedbackPartFactory, getFeedbackPerTargetSet, getHandlePartFactory, getHandlePartFactory, getHandles, getHandles, getHandlesPerTargetSet, hasFeedback, hasFeedback, hasHandles, hasHandles, isActive, removeAnchoreds, removeFeedback, removeFeedback, removeFeedback, removeHandles, removeHandles, removeHandles, setAdaptable, updateHandles, updateHandles

    Methods inherited from class java.lang.Object

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

    • DEFAULT_CLICKABLE_WIDTH

      public static final double DEFAULT_CLICKABLE_WIDTH
      See Also:
    • viewer

      protected org.eclipse.gef.mvc.fx.viewer.IViewer viewer
    • actionModel

      protected ActionModel actionModel
    • host

      protected AbstractNodePart<?,?> host
  • Constructor Details

    • NodeClickableAreaBehavior

      public NodeClickableAreaBehavior()
  • Method Details

    • invalidate

      protected void invalidate()
    • doActivate

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

      protected void doDeactivate()
      Overrides:
      doDeactivate in class org.eclipse.gef.mvc.fx.behaviors.AbstractBehavior
    • getHost

      public AbstractNodePart<?,?> getHost()
      Specified by:
      getHost in interface org.eclipse.gef.mvc.fx.behaviors.IBehavior
      Overrides:
      getHost in class org.eclipse.gef.mvc.fx.behaviors.AbstractBehavior