Package org.eclipse.sapphire.internal

Examples of org.eclipse.sapphire.internal.ValueSnapshot


                    final Value<?> value = (Value<?>) binding;
                    objects[ i ] = format( value.definition(), value.text() );
                }
                else if( binding instanceof ValueSnapshot )
                {
                    final ValueSnapshot snapshot = (ValueSnapshot) binding;
                    objects[ i ] = format( snapshot.property(), snapshot.text() );
                }
                else
                {
                    objects[ i ] = binding;
                }
View Full Code Here


            {
                facts.add( statementForSensitive.text() );
            }
            else
            {
                facts.add( statement.format( new ValueSnapshot( value.definition(), def ) ) );
            }
        }
    }
View Full Code Here

        final InitialValueService initialValueService = value.service( InitialValueService.class );
        final String text = initialValueService.value();
       
        if( text != null && text.trim().length() > 0 )
        {
            facts.add( statement.format( new ValueSnapshot( value.definition(), text ) ) );
        }
    }
View Full Code Here

        final String min = range.min();
        final String max = range.max();
           
        if( min.length() > 0 )
        {
            facts.add( minValueStatement.format( new ValueSnapshot( property, min ) ) );
        }
       
        if( max.length() > 0 )
        {
            facts.add( maxValueStatement.format( new ValueSnapshot( property, max ) ) );
        }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.internal.ValueSnapshot

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.