Package org.eclipse.sapphire.ui.forms

Examples of org.eclipse.sapphire.ui.forms.GroupPart


        {
            part = new StaticTextFieldPart();
        }
        else if( definition instanceof GroupDef )
        {
            part = new GroupPart();
        }
        else if( definition instanceof WithDef )
        {
            final String path = ( (SapphirePart) parent ).substituteParams( ( (WithDef) definition ).getPath().text() );
           
View Full Code Here


            try
            {
                dialogPart.init( null, element, definition.resolve(), Collections.<String,String>emptyMap() );
                dialogPart.initialize();
               
                final GroupPart groupPart = (GroupPart) dialogPart.children().all().get( 0 );
                final PropertyEditorPart propertyEditorPart = (PropertyEditorPart) groupPart.children().all().get( 0 );
               
                testForExpectedValue( new PartFunctionContext( propertyEditorPart, element ), "${ Part }", propertyEditorPart );
                testForExpectedValue( new PartFunctionContext( propertyEditorPart, element ), "${ Part.Parent }", groupPart );
                testForExpectedValue( new PartFunctionContext( propertyEditorPart, element ), "${ Part.Parent.Parent }", dialogPart );
            }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.forms.GroupPart

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.