Examples of orientation()


Examples of org.eclipse.sapphire.ui.forms.SplitFormPart.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

Examples of org.eclipse.sapphire.ui.forms.SplitFormPart.orientation()

        formMarginsComposite.setLayoutData( gdhspan( ( part.getScaleVertically() ? gdfill() : gdhfill() ), 2 ) );
       
        formMarginsComposite.setBackground( resources().color( part.getBackgroundColor() ) );
        formMarginsComposite.setBackgroundMode( SWT.INHERIT_DEFAULT );
       
        this.form = new SashForm( formMarginsComposite, ( part.orientation() == Orientation.HORIZONTAL ? SWT.HORIZONTAL : SWT.VERTICAL ) | SWT.SMOOTH );
       
        register( this.form );
       
        this.form.setLayoutData( gdfill() );
        this.form.setBackground( resources().color( part.getBackgroundColor() ) );
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.