Package org.eclipse.graphiti.tb
Interface IShapeSelectionInfo
-
- All Superinterfaces:
ISelectionInfo
- All Known Subinterfaces:
IAnchorSelectionInfo
- All Known Implementing Classes:
AnchorSelectionInfoImpl,ShapeSelectionInfoImpl
public interface IShapeSelectionInfo extends ISelectionInfo
The Interface IShapeSelectionInfo.- Since:
- 0.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IColorConstantgetPrimarySelectionBackgroundColor()Gets the primary selection background color.IColorConstantgetPrimarySelectionHandleBackgroundColor()Gets the primary selection background color for the selection handle.IColorConstantgetPrimarySelectionHandleForegroundColor()Gets the primary selection foreground color for the selection handle.IColorConstantgetSecondarySelectionBackgroundColor()Gets the secondary selection background color.IColorConstantgetSecondarySelectionHandleBackgroundColor()Gets the secondary selection background color for the selection handle.IColorConstantgetSecondarySelectionHandleForegroundColor()Gets the secondary selection foreground color for the selection handle.voidsetPrimarySelectionBackgroundColor(IColorConstant color)Sets color for primary selection background.voidsetPrimarySelectionHandleBackgroundColor(IColorConstant color)Sets the primary selection background color for the selection handle.voidsetPrimarySelectionHandleForegroundColor(IColorConstant color)Sets the primary selection foreground color for the selection handle.voidsetSecondarySelectionBackgroundColor(IColorConstant color)Sets color for secondary selection background.voidsetSecondarySelectionHandleBackgroundColor(IColorConstant color)Sets the secondary selection background color for the selection handle.voidsetSecondarySelectionHandleForegroundColor(IColorConstant color)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 Detail
-
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
void setPrimarySelectionBackgroundColor(IColorConstant color)
Sets color for primary selection background. Only used if no Rendering style is set.- Parameters:
color- the color
-
setSecondarySelectionBackgroundColor
void setSecondarySelectionBackgroundColor(IColorConstant color)
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
void setPrimarySelectionHandleForegroundColor(IColorConstant color)
Sets the primary selection foreground color for the selection handle.- Parameters:
color- the color
-
setPrimarySelectionHandleBackgroundColor
void setPrimarySelectionHandleBackgroundColor(IColorConstant color)
Sets the primary selection background color for the selection handle.- Parameters:
color- the color
-
setSecondarySelectionHandleForegroundColor
void setSecondarySelectionHandleForegroundColor(IColorConstant color)
Sets the secondary selection foreground color for the selection handle.- Parameters:
color- the color
-
setSecondarySelectionHandleBackgroundColor
void setSecondarySelectionHandleBackgroundColor(IColorConstant color)
Sets the secondary selection background color for the selection handle.- Parameters:
color- the color
-
-