Package org.eclipse.gef.mvc.fx.parts
Class DefaultFocusFeedbackPartFactory
java.lang.Object
org.eclipse.gef.mvc.fx.parts.DefaultFocusFeedbackPartFactory
- All Implemented Interfaces:
IFeedbackPartFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javafx.scene.paint.Color
Defines the defaultColor
for focus feedback.static final String
Defines the binding name for the focus feedback color.static final String
The role name for theProvider<IGeometry>
that will be used to generate focus feedback. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<IFeedbackPart<? extends javafx.scene.Node>>
createFeedbackParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) Creates specificIFeedbackPart
s for the given targets.
-
Field Details
-
FOCUS_FEEDBACK_COLOR_PROVIDER
Defines the binding name for the focus feedback color.- See Also:
-
DEFAULT_FOCUS_FEEDBACK_COLOR
public static final javafx.scene.paint.Color DEFAULT_FOCUS_FEEDBACK_COLORDefines the defaultColor
for focus feedback. -
FOCUS_FEEDBACK_GEOMETRY_PROVIDER
The role name for theProvider<IGeometry>
that will be used to generate focus feedback.- See Also:
-
-
Constructor Details
-
DefaultFocusFeedbackPartFactory
public DefaultFocusFeedbackPartFactory()
-
-
Method Details
-
createFeedbackParts
public List<IFeedbackPart<? extends javafx.scene.Node>> createFeedbackParts(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) Description copied from interface:IFeedbackPartFactory
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.- Specified by:
createFeedbackParts
in interfaceIFeedbackPartFactory
- 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.
-