Package org.eclipse.graphiti.tb
Class ConnectionSelectionInfoImpl
- java.lang.Object
-
- org.eclipse.graphiti.tb.SelectionInfoImpl
-
- org.eclipse.graphiti.tb.ConnectionSelectionInfoImpl
-
- All Implemented Interfaces:
IConnectionSelectionInfo
,ISelectionInfo
public class ConnectionSelectionInfoImpl extends SelectionInfoImpl implements IConnectionSelectionInfo
- Since:
- 0.10
-
-
Constructor Summary
Constructors Constructor Description ConnectionSelectionInfoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IColorConstant
getPrimarySelectionBendpointBackgroundColor()
Gets the primary selection background color for the bendpoint.IColorConstant
getPrimarySelectionBendpointForegroundColor()
Gets the primary selection foreground color for the bendpoint.IColorConstant
getSecondarySelectionBendpointBackgroundColor()
Gets the secondary selection background color for the bendpoint.IColorConstant
getSecondarySelectionBendpointForegroundColor()
Gets the secondary selection foreground color for the bendpoint.void
setPrimarySelectionBendpointBackgroundColor(IColorConstant color)
Sets the primary selection background color for the bendpoint.void
setPrimarySelectionBendpointForegroundColor(IColorConstant color)
Sets the primary selection foreground color for the bendpoint.void
setSecondarySelectionBendpointBackgroundColor(IColorConstant color)
Sets the secondary selection background color for the bendpoint.void
setSecondarySelectionBendpointForegroundColor(IColorConstant color)
Sets the secondary selection foreground color for the bendpoint.-
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
-
getPrimarySelectionBendpointForegroundColor
public IColorConstant getPrimarySelectionBendpointForegroundColor()
Description copied from interface:IConnectionSelectionInfo
Gets the primary selection foreground color for the bendpoint.- Specified by:
getPrimarySelectionBendpointForegroundColor
in interfaceIConnectionSelectionInfo
- Returns:
- the foreground color
-
getPrimarySelectionBendpointBackgroundColor
public IColorConstant getPrimarySelectionBendpointBackgroundColor()
Description copied from interface:IConnectionSelectionInfo
Gets the primary selection background color for the bendpoint.- Specified by:
getPrimarySelectionBendpointBackgroundColor
in interfaceIConnectionSelectionInfo
- Returns:
- the background color
-
getSecondarySelectionBendpointForegroundColor
public IColorConstant getSecondarySelectionBendpointForegroundColor()
Description copied from interface:IConnectionSelectionInfo
Gets the secondary selection foreground color for the bendpoint.- Specified by:
getSecondarySelectionBendpointForegroundColor
in interfaceIConnectionSelectionInfo
- Returns:
- the foreground color
-
getSecondarySelectionBendpointBackgroundColor
public IColorConstant getSecondarySelectionBendpointBackgroundColor()
Description copied from interface:IConnectionSelectionInfo
Gets the secondary selection background color for the bendpoint.- Specified by:
getSecondarySelectionBendpointBackgroundColor
in interfaceIConnectionSelectionInfo
- Returns:
- the background color
-
setPrimarySelectionBendpointForegroundColor
public void setPrimarySelectionBendpointForegroundColor(IColorConstant color)
Description copied from interface:IConnectionSelectionInfo
Sets the primary selection foreground color for the bendpoint.- Specified by:
setPrimarySelectionBendpointForegroundColor
in interfaceIConnectionSelectionInfo
- Parameters:
color
- the color
-
setPrimarySelectionBendpointBackgroundColor
public void setPrimarySelectionBendpointBackgroundColor(IColorConstant color)
Description copied from interface:IConnectionSelectionInfo
Sets the primary selection background color for the bendpoint.- Specified by:
setPrimarySelectionBendpointBackgroundColor
in interfaceIConnectionSelectionInfo
- Parameters:
color
- the color
-
setSecondarySelectionBendpointForegroundColor
public void setSecondarySelectionBendpointForegroundColor(IColorConstant color)
Description copied from interface:IConnectionSelectionInfo
Sets the secondary selection foreground color for the bendpoint.- Specified by:
setSecondarySelectionBendpointForegroundColor
in interfaceIConnectionSelectionInfo
- Parameters:
color
- the color
-
setSecondarySelectionBendpointBackgroundColor
public void setSecondarySelectionBendpointBackgroundColor(IColorConstant color)
Description copied from interface:IConnectionSelectionInfo
Sets the secondary selection background color for the bendpoint.- Specified by:
setSecondarySelectionBendpointBackgroundColor
in interfaceIConnectionSelectionInfo
- Parameters:
color
- the color
-
-