Package org.eclipse.sapphire.modeling

Examples of org.eclipse.sapphire.modeling.Status$LeafStatusFactory


    }
   
    private final void refresh( final boolean broadcastIfNecessary )
    {
        Object newValue = null;
        Status newStatus = Status.createOkStatus();
       
        if( this.properties != null )
        {
            for( Property property : this.properties )
            {
View Full Code Here


            for( final ValidationService service : services( ValidationService.class ) )
            {
                freshValidationResultFactory.merge( service.validation() );
            }
           
            final Status freshValidationResult = freshValidationResultFactory.create();
           
            PropertyValidationEvent event = null;
           
            synchronized( this )
            {
                initialized = ( ( this.initialization & VALIDATION_INITIALIZED ) != 0 );
               
                if( initialized )
                {
                    final Status staleValidationResult = this.validation;
                   
                    if( ! staleValidationResult.equals( freshValidationResult ) )
                    {
                        this.validation = freshValidationResult;
                        event = new PropertyValidationEvent( this, staleValidationResult, freshValidationResult );
                    }
                }
View Full Code Here

        setDescription( this.part.getDescription() );
    }
   
    private final void refreshValidation()
    {
        final Status st = this.part.validation();
       
        if( st.severity() == Status.Severity.ERROR )
        {
            setMessage( st.message(), ERROR );
            setPageComplete( false );
        }
        else if( st.severity() == Status.Severity.WARNING )
        {
            setMessage( st.message(), WARNING );
            setPageComplete( true );
        }
        else
        {
            setMessage( null );
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.modeling.Status$LeafStatusFactory

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.