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;
figureDesc = getDrawing().getProcessSkin().getSymbolDescriptor(FigureTypes.SYMBOLTYPE_BEGIN);
if (figureDesc != null)
{
beginFigure = figureDesc.createFigure();
}
figureDesc = getDrawing().getProcessSkin().getSymbolDescriptor(FigureTypes.SYMBOLTYPE_COMMIT);
if (figureDesc != null)
{
commitFigure = figureDesc.createFigure();
}
figureDesc = getDrawing().getProcessSkin().getSymbolDescriptor(FigureTypes.SYMBOLTYPE_COMMIT_BEGIN);
if (figureDesc != null)
{
commitBeginFigure = figureDesc.createFigure();
}
figureDesc = getDrawing().getProcessSkin().getSymbolDescriptor(FigureTypes.SYMBOLTYPE_ROLLBACK);
if (figureDesc != null)
{
rollbackFigure = figureDesc.createFigure();
}
figureDesc = getDrawing().getProcessSkin().getSymbolDescriptor(FigureTypes.SYMBOLTYPE_ROLLBACK_BEGIN);
if (figureDesc != null)
{
rollbackBeginFigure = figureDesc.createFigure();
}
}