Package org.eclipse.gef.mvc.fx.parts
Interface IHandlePartFactory
-
- All Known Implementing Classes:
DefaultHoverIntentHandlePartFactory
,DefaultSelectionHandlePartFactory
public interface IHandlePartFactory
TheIHandlePartFactory
interface specifies a factory method for the creation ofIHandlePart
s for a given list of targetIVisualPart
s, a contextIBehavior
, and a contextMap
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<IHandlePart<? extends javafx.scene.Node>>
createHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specificIHandlePart
s for the given targets.
-
-
-
Method Detail
-
createHandleParts
java.util.List<IHandlePart<? extends javafx.scene.Node>> createHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.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.
-
-