Package org.eclipse.sapphire

Examples of org.eclipse.sapphire.Element.validation()


            {
                final Element child = ( (ElementHandle<?>) this.property ).content();
               
                if( child != null )
                {
                    factory.merge( child.validation() );
                }
            }
        }
       
        for( SapphirePart relatedContentPart : this.relatedContentParts )
View Full Code Here


    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)
    {
      if (status.severity() == Status.Severity.WARNING)
      {
        if (size == ValidationMarkerSize.SMALL)
View Full Code Here

       
        boolean contribute = false;
       
        if( property == null )
        {
          contribute = ! element.validation().ok();
        }
        else if( ! property.validation().ok() )
        {
            contribute = true;
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.