Package org.eclipse.graphiti.tb
Class ShapeSelectionInfoImpl
- java.lang.Object
-
- org.eclipse.graphiti.tb.SelectionInfoImpl
-
- org.eclipse.graphiti.tb.ShapeSelectionInfoImpl
-
- All Implemented Interfaces:
ISelectionInfo,IShapeSelectionInfo
- Direct Known Subclasses:
AnchorSelectionInfoImpl
public class ShapeSelectionInfoImpl extends SelectionInfoImpl implements IShapeSelectionInfo
- Since:
- 0.10
-
-
Constructor Summary
Constructors Constructor Description ShapeSelectionInfoImpl()
-
Method Summary
All Methods Instance Methods Concrete 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 class org.eclipse.graphiti.tb.SelectionInfoImpl
getColor, getHoverColor, getHoverColorParentSelected, getLineStyle, setColor, setHoverColor, setHoverColorParentSelected, setLineStyle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.graphiti.tb.ISelectionInfo
getColor, getHoverColor, getHoverColorParentSelected, getLineStyle, setColor, setHoverColor, setHoverColorParentSelected, setLineStyle
-
-
-
-
Method Detail
-
getPrimarySelectionBackgroundColor
public IColorConstant getPrimarySelectionBackgroundColor()
Description copied from interface:IShapeSelectionInfoGets the primary selection background color. Only used if no Rendering style is set.- Specified by:
getPrimarySelectionBackgroundColorin interfaceIShapeSelectionInfo- Returns:
- the primary selection background color
-
getSecondarySelectionBackgroundColor
public IColorConstant getSecondarySelectionBackgroundColor()
Description copied from interface:IShapeSelectionInfoGets the secondary selection background color. Only used if no Rendering style is set.- Specified by:
getSecondarySelectionBackgroundColorin interfaceIShapeSelectionInfo- Returns:
- the secondary selection background color
-
setPrimarySelectionBackgroundColor
public void setPrimarySelectionBackgroundColor(IColorConstant color)
Description copied from interface:IShapeSelectionInfoSets color for primary selection background. Only used if no Rendering style is set.- Specified by:
setPrimarySelectionBackgroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
setSecondarySelectionBackgroundColor
public void setSecondarySelectionBackgroundColor(IColorConstant color)
Description copied from interface:IShapeSelectionInfoSets color for secondary selection background. Only used if no Rendering style is set.- Specified by:
setSecondarySelectionBackgroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
getPrimarySelectionHandleForegroundColor
public IColorConstant getPrimarySelectionHandleForegroundColor()
Description copied from interface:IShapeSelectionInfoGets the primary selection foreground color for the selection handle.- Specified by:
getPrimarySelectionHandleForegroundColorin interfaceIShapeSelectionInfo- Returns:
- the foreground color
-
getPrimarySelectionHandleBackgroundColor
public IColorConstant getPrimarySelectionHandleBackgroundColor()
Description copied from interface:IShapeSelectionInfoGets the primary selection background color for the selection handle.- Specified by:
getPrimarySelectionHandleBackgroundColorin interfaceIShapeSelectionInfo- Returns:
- the background color
-
getSecondarySelectionHandleForegroundColor
public IColorConstant getSecondarySelectionHandleForegroundColor()
Description copied from interface:IShapeSelectionInfoGets the secondary selection foreground color for the selection handle.- Specified by:
getSecondarySelectionHandleForegroundColorin interfaceIShapeSelectionInfo- Returns:
- the foreground color
-
getSecondarySelectionHandleBackgroundColor
public IColorConstant getSecondarySelectionHandleBackgroundColor()
Description copied from interface:IShapeSelectionInfoGets the secondary selection background color for the selection handle.- Specified by:
getSecondarySelectionHandleBackgroundColorin interfaceIShapeSelectionInfo- Returns:
- the background color
-
setPrimarySelectionHandleForegroundColor
public void setPrimarySelectionHandleForegroundColor(IColorConstant color)
Description copied from interface:IShapeSelectionInfoSets the primary selection foreground color for the selection handle.- Specified by:
setPrimarySelectionHandleForegroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
setPrimarySelectionHandleBackgroundColor
public void setPrimarySelectionHandleBackgroundColor(IColorConstant color)
Description copied from interface:IShapeSelectionInfoSets the primary selection background color for the selection handle.- Specified by:
setPrimarySelectionHandleBackgroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
setSecondarySelectionHandleForegroundColor
public void setSecondarySelectionHandleForegroundColor(IColorConstant color)
Description copied from interface:IShapeSelectionInfoSets the secondary selection foreground color for the selection handle.- Specified by:
setSecondarySelectionHandleForegroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
setSecondarySelectionHandleBackgroundColor
public void setSecondarySelectionHandleBackgroundColor(IColorConstant color)
Description copied from interface:IShapeSelectionInfoSets the secondary selection background color for the selection handle.- Specified by:
setSecondarySelectionHandleBackgroundColorin interfaceIShapeSelectionInfo- Parameters:
color- the color
-
-