Package org.eclipse.graphiti.tb
Interface IShapeSelectionInfo
- All Superinterfaces:
ISelectionInfo
- All Known Subinterfaces:
IAnchorSelectionInfo
- All Known Implementing Classes:
AnchorSelectionInfoImpl
,ShapeSelectionInfoImpl
The Interface IShapeSelectionInfo.
- Since:
- 0.10
-
Method Summary
Modifier and TypeMethodDescriptionGets the primary selection background color.Gets the primary selection background color for the selection handle.Gets the primary selection foreground color for the selection handle.Gets the secondary selection background color.Gets the secondary selection background color for the selection handle.Gets the secondary selection foreground color for the selection handle.void
Sets color for primary selection background.void
Sets the primary selection background color for the selection handle.void
Sets the primary selection foreground color for the selection handle.void
Sets color for secondary selection background.void
Sets the secondary selection background color for the selection handle.void
Sets the secondary selection foreground color for the selection handle.Methods inherited from interface org.eclipse.graphiti.tb.ISelectionInfo
getColor, getHoverColor, getHoverColorParentSelected, getLineStyle, setColor, setHoverColor, setHoverColorParentSelected, setLineStyle
-
Method Details
-
getPrimarySelectionBackgroundColor
IColorConstant getPrimarySelectionBackgroundColor()Gets the primary selection background color. Only used if no Rendering style is set.- Returns:
- the primary selection background color
-
getSecondarySelectionBackgroundColor
IColorConstant getSecondarySelectionBackgroundColor()Gets the secondary selection background color. Only used if no Rendering style is set.- Returns:
- the secondary selection background color
-
setPrimarySelectionBackgroundColor
Sets color for primary selection background. Only used if no Rendering style is set.- Parameters:
color
- the color
-
setSecondarySelectionBackgroundColor
Sets color for secondary selection background. Only used if no Rendering style is set.- Parameters:
color
- the color
-
getPrimarySelectionHandleForegroundColor
IColorConstant getPrimarySelectionHandleForegroundColor()Gets the primary selection foreground color for the selection handle.- Returns:
- the foreground color
-
getPrimarySelectionHandleBackgroundColor
IColorConstant getPrimarySelectionHandleBackgroundColor()Gets the primary selection background color for the selection handle.- Returns:
- the background color
-
getSecondarySelectionHandleForegroundColor
IColorConstant getSecondarySelectionHandleForegroundColor()Gets the secondary selection foreground color for the selection handle.- Returns:
- the foreground color
-
getSecondarySelectionHandleBackgroundColor
IColorConstant getSecondarySelectionHandleBackgroundColor()Gets the secondary selection background color for the selection handle.- Returns:
- the background color
-
setPrimarySelectionHandleForegroundColor
Sets the primary selection foreground color for the selection handle.- Parameters:
color
- the color
-
setPrimarySelectionHandleBackgroundColor
Sets the primary selection background color for the selection handle.- Parameters:
color
- the color
-
setSecondarySelectionHandleForegroundColor
Sets the secondary selection foreground color for the selection handle.- Parameters:
color
- the color
-
setSecondarySelectionHandleBackgroundColor
Sets the secondary selection background color for the selection handle.- Parameters:
color
- the color
-