Package org.eclipse.sapphire.ui.diagram.shape.def

Examples of org.eclipse.sapphire.ui.diagram.shape.def.ValidationMarkerSize


    refreshAssistContext();
   
    Image image = null;
   
    Status status = part().content();
    ValidationMarkerSize size = getSize();
    if (part().visible())
    {
      if (status.severity() == Status.Severity.WARNING)
      {
        if (size == ValidationMarkerSize.SMALL)
View Full Code Here


  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)
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.diagram.shape.def.ValidationMarkerSize

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.