public class DefaultSnappingFeedbackPartFactory extends java.lang.Object implements IFeedbackPartFactory
DefaultSnappingFeedbackPartFactory
is an IFeedbackPartFactory
that is used by the SnappingBehavior
to generate
SnappingFeedbackPart
s for the SnappingModel.SnappingLocation
s that
are stored in the SnappingModel
.Constructor and Description |
---|
DefaultSnappingFeedbackPartFactory() |
Modifier and Type | Method and 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 specific
IFeedbackPart s for the given targets. |
public 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)
IFeedbackPartFactory
IFeedbackPart
s 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.createFeedbackParts
in interface IFeedbackPartFactory
targets
- The target IVisualPart
s for which feedback is to be
created.contextMap
- A map in which additional context information for the creation
process can be placed.IFeedbackPart
s that are to be used to indicate
feedback for the given targets.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.