Package org.eclipse.gef.mvc.fx.parts
Interface IHandlePartFactory
- All Known Implementing Classes:
DefaultHoverIntentHandlePartFactory
,DefaultSelectionHandlePartFactory
public interface IHandlePartFactory
The
IHandlePartFactory
interface specifies a factory method for the
creation of IHandlePart
s for a given list of target
IVisualPart
s, a context IBehavior
, and a context Map
.-
Method Summary
Modifier and TypeMethodDescriptionList<IHandlePart<? extends Node>>
createHandleParts
(List<? extends IVisualPart<? extends Node>> targets, Map<Object, Object> contextMap) Creates specificIHandlePart
s for the given targets.
-
Method Details
-
createHandleParts
List<IHandlePart<? extends Node>> createHandleParts(List<? extends IVisualPart<? extends Node>> targets, Map<Object, Object> contextMap) Creates specificIHandlePart
s for the given targets. As additional information might be needed by theIHandlePartFactory
to identify the creation context, an additional contextMap is passed in upon creation.- Parameters:
targets
- The targetIVisualPart
s 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
IHandlePart
s that can be used to manipulate the given targets.
-