Package org.eclipse.sapphire.ui.def

Examples of org.eclipse.sapphire.ui.def.Orientation


    @Override
    public void render()
    {
        final SplitFormSectionPart part = part();
        final SplitFormPart parent = part.parent();
        final Orientation orientation = parent.orientation();
        final int sectionCount = parent.children().all().size();
        final int sectionIndex = parent.children().all().indexOf( part );
       
        this.control = new Composite( composite(), SWT.NONE );
View Full Code Here


    @Override
    public void dispose()
    {
        if( this.children != null )
        {
            final Orientation orientation = part().orientation();
           
            for( final SplitFormSectionPresentation child : this.children )
            {
                final Point size = child.control().getSize();
                final int weight = ( orientation == Orientation.HORIZONTAL ? size.x : size.y );
View Full Code Here

            {
                final Property property = part.property();
               
                if( property instanceof Value && property.definition().isOfType( Enum.class ) )
                {
                    Orientation orientation = null;
                   
                    if( style.equals( "Sapphire.PropertyEditor.RadioButtonGroup" ) || style.equals( "Sapphire.PropertyEditor.RadioButtonGroup.Horizontal" ) )
                    {
                        orientation = Orientation.HORIZONTAL;
                    }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.def.Orientation

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.