Package org.eclipse.gef.mvc.fx.parts
Class DefaultFocusFeedbackPartFactory
- java.lang.Object
-
- org.eclipse.gef.mvc.fx.parts.DefaultFocusFeedbackPartFactory
-
- All Implemented Interfaces:
IFeedbackPartFactory
public class DefaultFocusFeedbackPartFactory extends java.lang.Object implements IFeedbackPartFactory
-
-
Field Summary
Fields Modifier and Type Field Description static javafx.scene.paint.ColorDEFAULT_FOCUS_FEEDBACK_COLORDefines the defaultColorfor focus feedback.static java.lang.StringFOCUS_FEEDBACK_COLOR_PROVIDERDefines the binding name for the focus feedback color.static java.lang.StringFOCUS_FEEDBACK_GEOMETRY_PROVIDERThe role name for theProvider<IGeometry>that will be used to generate focus feedback.
-
Constructor Summary
Constructors Constructor Description DefaultFocusFeedbackPartFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 specificIFeedbackParts for the given targets.
-
-
-
Field Detail
-
FOCUS_FEEDBACK_COLOR_PROVIDER
public static final java.lang.String FOCUS_FEEDBACK_COLOR_PROVIDER
Defines the binding name for the focus feedback color.- See Also:
- Constant Field Values
-
DEFAULT_FOCUS_FEEDBACK_COLOR
public static final javafx.scene.paint.Color DEFAULT_FOCUS_FEEDBACK_COLOR
Defines the defaultColorfor focus feedback.
-
FOCUS_FEEDBACK_GEOMETRY_PROVIDER
public static final java.lang.String FOCUS_FEEDBACK_GEOMETRY_PROVIDER
The role name for theProvider<IGeometry>that will be used to generate focus feedback.- See Also:
- Constant Field Values
-
-
Method Detail
-
createFeedbackParts
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)
Description copied from interface:IFeedbackPartFactoryCreates specificIFeedbackParts for the given targets. As additional information might be needed by theIFeedbackPartFactoryto identify the creation context, an additional contextMap is passed in upon creation.- Specified by:
createFeedbackPartsin interfaceIFeedbackPartFactory- Parameters:
targets- The targetIVisualParts 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
IFeedbackParts that are to be used to indicate feedback for the given targets.
-
-