public class DefaultSnappingFeedbackPartFactory extends 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 |
|---|---|
List<IFeedbackPart<? extends Node>> |
createFeedbackParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap)
Creates specific
IFeedbackParts for the given targets. |
public List<IFeedbackPart<? extends Node>> createFeedbackParts(List<? extends IVisualPart<? extends Node>> targets, Map<Object,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.