Class DefaultHoverFeedbackPartFactory

java.lang.Object
org.eclipse.gef.mvc.fx.parts.DefaultHoverFeedbackPartFactory
All Implemented Interfaces:
IFeedbackPartFactory

public class DefaultHoverFeedbackPartFactory extends Object implements IFeedbackPartFactory
  • Field Details

    • HOVER_FEEDBACK_COLOR_PROVIDER

      public static final String HOVER_FEEDBACK_COLOR_PROVIDER
      The binding name for the primary selection color.
      See Also:
    • HOVER_FEEDBACK_GEOMETRY_PROVIDER

      public static final String HOVER_FEEDBACK_GEOMETRY_PROVIDER
      The role name for the Provider<IGeometry> that will be used to generate hover feedback.
      See Also:
    • DEFAULT_HOVER_FEEDBACK_COLOR

      public static final javafx.scene.paint.Color DEFAULT_HOVER_FEEDBACK_COLOR
      Defines the default Color for hover feedback.
  • Constructor Details

    • DefaultHoverFeedbackPartFactory

      public DefaultHoverFeedbackPartFactory()
  • Method Details

    • createFeedbackParts

      public List<IFeedbackPart<? extends javafx.scene.Node>> createFeedbackParts(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object,Object> contextMap)
      Description copied from interface: IFeedbackPartFactory
      Creates specific IFeedbackParts for the given targets. As additional information might be needed by the IFeedbackPartFactory to identify the creation context, an additional contextMap is passed in upon creation.
      Specified by:
      createFeedbackParts in interface IFeedbackPartFactory
      Parameters:
      targets - The target IVisualParts for which feedback is to be created.
      contextMap - A map in which additional context information for the creation process can be placed.
      Returns:
      A list of IFeedbackParts that are to be used to indicate feedback for the given targets.