Examples of reflow()


Examples of org.eclipse.ui.forms.widgets.ScrolledForm.reflow()

        // Horizontal layout Action
        Action horizontalAction = new Action( "Horizontal layout", Action.AS_RADIO_BUTTON ) { //$NON-NLS-1$
            public void run()
            {
                sashForm.setOrientation( SWT.HORIZONTAL );
                form.reflow( true );
            }
        };
        horizontalAction.setChecked( true );
        horizontalAction.setToolTipText( "Horizontal Orientation" ); //$NON-NLS-1$
        horizontalAction.setImageDescriptor( Activator.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.ScrolledForm.reflow()

        // Vertical layout Action
        Action verticalAction = new Action( "Vertical Orientation", Action.AS_RADIO_BUTTON ) { //$NON-NLS-1$
            public void run()
            {
                sashForm.setOrientation( SWT.VERTICAL );
                form.reflow( true );
            }
        };
        verticalAction.setChecked( false );
        verticalAction.setToolTipText( "Vertical Orientation" ); //$NON-NLS-1$
        verticalAction.setImageDescriptor( Activator.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.SharedScrolledComposite.reflow()

        attributeEditors.setAttribute(AttributeList.ENABLE_VALIDATION_OVERLAYS, true);

        restoreGlobalState();

        this.mainControl = scroller;
        scroller.reflow(true);

        updateGroupingState(defaultGrouping);
        registerListeners();
    }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.preferences.ui.ScrolledPageContent.reflow()

  }

  protected final void expandedStateChanged(ExpandableComposite expandable) {
    ScrolledPageContent parentScrolledComposite = getParentScrolledComposite(expandable);
    if (parentScrolledComposite != null) {
      parentScrolledComposite.reflow(true);
    }
  }

  private void makeScrollableCompositeAware(Control control) {
    ScrolledPageContent parentScrolledComposite = getParentScrolledComposite(control);
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.