Package org.eclipse.gef.mvc.fx.parts
Interface IFeedbackPartFactory
-
- All Known Implementing Classes:
DefaultFocusFeedbackPartFactory
,DefaultHoverFeedbackPartFactory
,DefaultSelectionFeedbackPartFactory
,DefaultSnappingFeedbackPartFactory
public interface IFeedbackPartFactory
TheIFeedbackPartFactory
interface specifies a factory method for the creation ofIFeedbackPart
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<IFeedbackPart<? extends javafx.scene.Node>>
createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specificIFeedbackPart
s for the given targets.
-
-
-
Method Detail
-
createFeedbackParts
java.util.List<IFeedbackPart<? extends javafx.scene.Node>> createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specificIFeedbackPart
s for the given targets. As additional information might be needed by theIFeedbackPartFactory
to identify the creation context, an additional contextMap is passed in upon creation.- Parameters:
targets
- The targetIVisualPart
s 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
IFeedbackPart
s that are to be used to indicate feedback for the given targets.
-
-