org.eclipse.graphiti.tb
Interface ISelectionInfo

All Known Implementing Classes:
SelectionInfoImpl

public interface ISelectionInfo

The Interface ISelectionInfo.


Method Summary
 IColorConstant getColor()
          Gets the color.
 IColorConstant getHandleBackgroundColor()
          Gets the handle background color.
 IColorConstant getHandleForegroundColor()
          Gets the handle foreground color.
 IColorConstant getHoverColor()
          Gets the hover color.
 IColorConstant getHoverColorParentSelected()
          Gets the hover color for a shape whose parent is selected.
 LineStyle getLineStyle()
          Gets the line style.
 IColorConstant getPrimarySelectionBackGroundColor()
          Gets the primary selection background color.
 IColorConstant getSecondarySelectionBackGroundColor()
          Gets the secondary selection background color.
 void setColor(IColorConstant color)
          Set the color of the selection.
 void setHandleBackgroundColor(IColorConstant color)
          Set the background color of the selection handle.
 void setHandleForegroundColor(IColorConstant color)
          Set the foreground color of the selection handle.
 void setHoverColor(IColorConstant hoverColor)
          Sets the hover color.
 void setHoverColorParentSelected(IColorConstant hoverColor)
          Sets the hover color for shapes whose parent is selected.
 void setLineStyle(IColorConstant color)
          Set hover color.
 void setLineStyle(LineStyle lineStyle)
          Set the line style of the selection.
 void setPrimarySelectionBackgroundColor(IColorConstant color)
          Sets color for primary selection background.
 void setSecondarySelectionBackgroundColor(IColorConstant color)
          Sets color for secondary selection background.
 

Method Detail

getColor

IColorConstant getColor()
Gets the color.

Returns:
the color of the selection border

getHandleForegroundColor

IColorConstant getHandleForegroundColor()
Gets the handle foreground color.

Returns:
the foreground color of the selection handle

getHandleBackgroundColor

IColorConstant getHandleBackgroundColor()
Gets the handle background color.

Returns:
the background color of the selection handle

getHoverColor

IColorConstant getHoverColor()
Gets the hover color.

Returns:
the on hover color

getPrimarySelectionBackGroundColor

IColorConstant getPrimarySelectionBackGroundColor()
Gets the primary selection background color. Only used for shapes and if no Rendering style is set.

Returns:
the primary selection background color
Since:
0.8

getSecondarySelectionBackGroundColor

IColorConstant getSecondarySelectionBackGroundColor()
Gets the secondary selection background color. Only used for shapes and if no Rendering style is set.

Returns:
the secondary selection background color
Since:
0.8

getHoverColorParentSelected

IColorConstant getHoverColorParentSelected()
Gets the hover color for a shape whose parent is selected.

Returns:
the hover color

getLineStyle

LineStyle getLineStyle()
Gets the line style.

Returns:
the line style of the selection

setColor

void setColor(IColorConstant color)
Set the color of the selection.

Parameters:
color - the color

setHoverColor

void setHoverColor(IColorConstant hoverColor)
Sets the hover color.

Parameters:
hoverColor - the color

setPrimarySelectionBackgroundColor

void setPrimarySelectionBackgroundColor(IColorConstant color)
Sets color for primary selection background. Only used for shapes and if no Rendering style is set.

Parameters:
color - the color
Since:
0.8

setSecondarySelectionBackgroundColor

void setSecondarySelectionBackgroundColor(IColorConstant color)
Sets color for secondary selection background. Only used for shapes and if no Rendering style is set.

Parameters:
color - the color
Since:
0.8

setHoverColorParentSelected

void setHoverColorParentSelected(IColorConstant hoverColor)
Sets the hover color for shapes whose parent is selected.

Parameters:
hoverColor - the color

setHandleForegroundColor

void setHandleForegroundColor(IColorConstant color)
Set the foreground color of the selection handle.

Parameters:
color - the color

setHandleBackgroundColor

void setHandleBackgroundColor(IColorConstant color)
Set the background color of the selection handle.

Parameters:
color - the color

setLineStyle

void setLineStyle(LineStyle lineStyle)
Set the line style of the selection.

Parameters:
lineStyle - the line style

setLineStyle

void setLineStyle(IColorConstant color)
Set hover color.

Parameters:
color - the on hover color


Copyright (c) SAP AG 2005, 2010.