public class DefaultFocusFeedbackPartFactory extends Object implements IFeedbackPartFactory
| Modifier and Type | Field and Description |
|---|---|
static Color |
DEFAULT_FOCUS_FEEDBACK_COLOR
Defines the default
Color for focus feedback. |
static String |
FOCUS_FEEDBACK_COLOR_PROVIDER
Defines the binding name for the focus feedback color.
|
static String |
FOCUS_FEEDBACK_GEOMETRY_PROVIDER
The role name for the
Provider<IGeometry> that will be
used to generate focus feedback. |
| Constructor and Description |
|---|
DefaultFocusFeedbackPartFactory() |
| 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 static final String FOCUS_FEEDBACK_COLOR_PROVIDER
public static final Color DEFAULT_FOCUS_FEEDBACK_COLOR
Color for focus feedback.public static final String FOCUS_FEEDBACK_GEOMETRY_PROVIDER
Provider<IGeometry> that will be
used to generate focus feedback.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.