public class DefaultSnappingFeedbackPartFactory extends java.lang.Object implements IFeedbackPartFactory
DefaultSnappingFeedbackPartFactory is an IFeedbackPartFactory
that is used by the SnappingBehavior to generate
SnappingFeedbackParts for the SnappingModel.SnappingLocations 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
IFeedbackParts 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)
IFeedbackPartFactoryIFeedbackParts 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 IFeedbackPartFactorytargets - The target IVisualParts for which feedback is to be
created.contextMap - A map in which additional context information for the creation
process can be placed.IFeedbackParts that are to be used to indicate
feedback for the given targets.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.