@Override
protected IFigure createFigure()
{
ValidationMarkerModel markerModel = (ValidationMarkerModel)this.getModel();
ValidationMarkerPart markerPart = (ValidationMarkerPart)markerModel.getSapphirePart();
DiagramNodePart nodePart = markerPart.nearest(DiagramNodePart.class);
ValidationMarkerSize size = markerPart.getSize();
Image image = null;
Element model = nodePart.getModelElement();
Status status = model.validation();
if (status.severity() != Status.Severity.OK)