/**
* Initializes the figure's drawing attributes.
*/
protected void initializeFigureAttributes()
{
LinkDescriptor linkDesc = getDrawing().getProcessSkin().getLinkDescriptor(FigureTypes.LINKTYPE_CONTROL);
if (linkDesc != null)
{
setStroke(linkDesc.getStroke());
setFrameColor(linkDesc.getColor());
commitColor = linkDesc.getColor2();
rollbackColor = linkDesc.getColor3();
defaultColor = linkDesc.getColor4();
}
// TODO Refactor 6 This should not be created for each figure, should do to create it once and synchronize access to it.
XFigureDescriptor figureDesc;