Examples of property()


Examples of org.eclipse.sapphire.PropertyContentEvent.property()

    {
        assertInstanceOf( event, PropertyContentEvent.class );
       
        final PropertyContentEvent evt = (PropertyContentEvent) event;
       
        assertSame( property, evt.property() );
    }
   
    protected static void assertValuePropertyContentEvent( final Event event, final Property property, final String before, final String after )
    {
        assertInstanceOf( event, ValuePropertyContentEvent.class );
View Full Code Here

Examples of org.eclipse.sapphire.PropertyEnablementEvent.property()

    {
        assertInstanceOf( event, PropertyEnablementEvent.class );
       
        final PropertyEnablementEvent evt = (PropertyEnablementEvent) event;
       
        assertSame( property, evt.property() );
        assertEquals( before, evt.before() );
        assertEquals( after, evt.after() );
    }
   
    protected static void assertFact( final Property property,
View Full Code Here

Examples of org.eclipse.sapphire.PropertyValidationEvent.property()

    {
        assertInstanceOf( event, PropertyValidationEvent.class );
       
        final PropertyValidationEvent evt = (PropertyValidationEvent) event;
       
        assertSame( property, evt.property() );
        assertEquals( before, evt.before() );
        assertEquals( after, evt.after() );
    }

    protected static void assertPropertyEnablementEvent( final Event event,
View Full Code Here

Examples of org.eclipse.sapphire.ValuePropertyContentEvent.property()

    {
        assertInstanceOf( event, ValuePropertyContentEvent.class );
       
        final ValuePropertyContentEvent evt = (ValuePropertyContentEvent) event;
       
        assertSame( property, evt.property() );
        assertEquals( before, evt.before() );
        assertEquals( after, evt.after() );
    }
   
    protected static void assertPropertyValidationEvent( final Event event,
View Full Code Here

Examples of org.eclipse.sapphire.internal.ValueSnapshot.property()

                    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

Examples of org.eclipse.sapphire.samples.gallery.ElementPropertyCustomGallery.property()

                    refresh();
                }
            };
           
            final ElementPropertyCustomGallery gallery = context( ElementPropertyCustomGallery.class );
            gallery.property( ElementPropertyCustomGallery.PROP_ALLOW_CHILD_ELEMENT_WITH_INTEGER ).attach( listener );
            gallery.property( ElementPropertyCustomGallery.PROP_ALLOW_CHILD_ELEMENT_WITH_ENUM ).attach( listener );
        }
       
        @Override
        protected PossibleTypesServiceData compute()
View Full Code Here

Examples of org.eclipse.sapphire.samples.gallery.ListPropertyCustomGallery.property()

                    refresh();
                }
            };
           
            final ListPropertyCustomGallery gallery = context( ListPropertyCustomGallery.class );
            gallery.property( ListPropertyCustomGallery.PROP_ALLOW_CHILD_ELEMENT_WITH_INTEGER ).attach( listener );
            gallery.property( ListPropertyCustomGallery.PROP_ALLOW_CHILD_ELEMENT_WITH_ENUM ).attach( listener );
        }
       
        @Override
        protected PossibleTypesServiceData compute()
View Full Code Here

Examples of org.eclipse.sapphire.sdk.CreateExtensionManifestOp.property()

            {
                final CreateExtensionManifestOp op = context( CreateExtensionManifestOp.class );
               
                if( ! op.disposed() )
                {
                    op.property( CreateExtensionManifestOp.PROP_CONTEXT ).detach( this.listener );
                }
            }
        }
    }
   
View Full Code Here

Examples of org.eclipse.sapphire.tests.index.TestElement.ListEntry.property()

        }
        else
        {
            final ListEntry element = index.element( key );
            assertNotNull( element );
            assertEquals( key, element.property( index.property() ).text() );

            final Set<ListEntry> elements = index.elements( key );
            assertNotNull( elements );
            assertEquals( count, elements.size() );
           
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.PropertyEditorPart.property()

    protected void createContents( final Composite parent )
    {
        // Initialize
       
        final PropertyEditorPart part = part();
        final Property property = part.property();
       
        this.memberType = property.definition().getType();
       
        final SortedSet<PropertyDef> allMemberProperties = this.memberType.properties();
       
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.