Package org.eclipse.sapphire.modeling

Examples of org.eclipse.sapphire.modeling.ModelPath$Segment


            if( parent == null || ! ( parent.definition() instanceof ListProperty ) )
            {
                throw createIllegalPathException( path );
            }
           
            final ModelPath p = ( new ModelPath( parent.name() ) ).append( path.tail() );
            parent.element().attach( listener, p );
        }
        else if( head instanceof TypeFilterSegment )
        {
            final String t = this.type.getSimpleName();
View Full Code Here


        if( disposed() )
        {
            return;
        }
       
        detach( listener, new ModelPath( path ) );
    }
View Full Code Here

            if( parent == null || ! ( parent.definition() instanceof ListProperty ) )
            {
                throw createIllegalPathException( path );
            }
           
            final ModelPath p = ( new ModelPath( parent.name() ) ).append( path.tail() );
            parent.element().detach( listener, p );
        }
        else if( head instanceof TypeFilterSegment )
        {
            final String t = this.type.getSimpleName();
View Full Code Here

        final Property property = context( Property.class );
        final Element element = property.element();
       
        final PossibleValues a = property.definition().getAnnotation( PossibleValues.class );
       
        this.path = new ModelPath( a.property() );

        final String invalidValueMessage = a.invalidValueMessage();
       
        if( invalidValueMessage.length() > 0 )
        {
View Full Code Here

       
        synchronized( root() )
        {
            assertNotDisposed();
   
            attach( listener, new ModelPath( path ) );
        }
    }
View Full Code Here

            throw new IllegalArgumentException();
        }
       
        synchronized( root() )
        {
            detach( listener, new ModelPath( path ) );
        }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.modeling.ModelPath$Segment

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.