Interface IHandlePartFactory

All Known Implementing Classes:
DefaultHoverIntentHandlePartFactory, DefaultSelectionHandlePartFactory

public interface IHandlePartFactory
The IHandlePartFactory interface specifies a factory method for the creation of IHandleParts for a given list of target IVisualParts, a context IBehavior, and a context Map.
  • Method Details

    • createHandleParts

      List<IHandlePart<? extends Node>> createHandleParts(List<? extends IVisualPart<? extends Node>> targets, Map<Object,Object> contextMap)
      Creates specific IHandleParts for the given targets. As additional information might be needed by the IHandlePartFactory to identify the creation context, an additional contextMap is passed in upon creation.
      Parameters:
      targets - The target IVisualParts for which handles are to be created.
      contextMap - A map in which additional context information for the creation process can be placed.
      Returns:
      A list of IHandleParts that can be used to manipulate the given targets.