Examples of ViewForm


Examples of org.eclipse.swt.custom.ViewForm

     */
    private void createContent() {

        this.setLayout(new FillLayout());

        viewForm = new ViewForm(this, SWT.NONE);
        viewForm.setLayout(new FillLayout());

        infoComposite = new Composite(viewForm, SWT.NONE);

        createCompositeInformation();
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

        layout.marginHeight = 0;
        // layout.horizontalSpacing = 0;
        layout.verticalSpacing = 0;
        composite.setLayout( layout );

        control = new ViewForm( composite, SWT.NONE );
        control.setLayoutData( new GridData( GridData.FILL_BOTH ) );

        // infoText = BaseWidgetUtils.createLabeledText(control, "", 1);
        Composite connectionComboControl = BaseWidgetUtils.createColumnContainer( control, 1, 1 );
        // connectionComboControl.setLayoutData(new
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

        layout.marginHeight = 0;
        // layout.horizontalSpacing = 0;
        layout.verticalSpacing = 0;
        composite.setLayout( layout );

        control = new ViewForm( composite, SWT.NONE );
        control.setLayoutData( new GridData( GridData.FILL_BOTH ) );

        Composite browserConnectionWidgetControl = BaseWidgetUtils.createColumnContainer( control, 2, 1 );
        browserConnectionWidget = new BrowserConnectionWidget();
        browserConnectionWidget.createWidget( browserConnectionWidgetControl );
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

     * @param parent the parent composite
     */
    public void createWidget( Composite parent )
    {

        control = new ViewForm( parent, SWT.NONE );
        // control.marginWidth = 0;
        // control.marginHeight = 0;
        // control.horizontalSpacing = 0;
        // control.verticalSpacing = 0;
        control.setLayoutData( new GridData( GridData.FILL_BOTH ) );
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

        layout.marginHeight = 0;
        // layout.horizontalSpacing = 0;
        layout.verticalSpacing = 0;
        composite.setLayout( layout );

        control = new ViewForm( composite, SWT.NONE );
        control.setLayoutData( new GridData( GridData.FILL_BOTH ) );

        Composite browserConnectionWidgetControl = BaseWidgetUtils.createColumnContainer( control, 2, 1 );
        browserConnectionWidget = new BrowserConnectionWidget();
        browserConnectionWidget.createWidget( browserConnectionWidgetControl );
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

        layout.marginHeight = 0;
        // layout.horizontalSpacing = 0;
        layout.verticalSpacing = 0;
        composite.setLayout( layout );

        control = new ViewForm( composite, SWT.NONE );
        control.setLayoutData( new GridData( GridData.FILL_BOTH ) );

        // infoText = BaseWidgetUtils.createLabeledText(control, "", 1);
        Composite connectionComboControl = BaseWidgetUtils.createColumnContainer( control, 1, 1 );
        // connectionComboControl.setLayoutData(new
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

     * @param parent the parent composite
     */
    public void createWidget( Composite parent )
    {

        control = new ViewForm( parent, SWT.NONE );
        // control.marginWidth = 0;
        // control.marginHeight = 0;
        // control.horizontalSpacing = 0;
        // control.verticalSpacing = 0;
        control.setLayoutData( new GridData( GridData.FILL_BOTH ) );
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

   * @return a new {@link ViewForm}
   * @since 3.6
   */
  public static ViewForm createViewform(Composite parent, int style,
      int cols, int span, int fill, int marginwidth, int marginheight) {
    ViewForm form = new ViewForm(parent, style);
    form.setFont(parent.getFont());
    GridLayout layout = new GridLayout(cols, false);
    layout.marginWidth = marginwidth;
    layout.marginHeight = marginheight;
    form.setLayout(layout);
    GridData gd = new GridData(fill);
    gd.horizontalSpan = span;
    form.setLayoutData(gd);
    return form;
  }
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

      tabFolder.addDisposeListener(tabFolderDisposeListener);
    }

    // Initialize view form
    {
      viewForm = new ViewForm(tabFolder, SWT.NO_BACKGROUND);

      // Only attach these to the viewForm when there's actually a control
      // to display
      viewFormTopLeftProxy = new ProxyControl(viewForm);
      viewFormTopCenterProxy = new ProxyControl(viewForm);
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

    public NativeTabFolder(Composite parent) {
        control = new TabFolder(parent, SWT.BOTTOM);
        control.addListener(SWT.Selection, selectionListener);
        attachListeners(control, false);
       
        viewForm = new ViewForm(control, SWT.FLAT);
        attachListeners(viewForm, false);
        systemToolbar = new StandardSystemToolbar(viewForm, true, false, true, true, true);
        systemToolbar.addListener(systemToolbarListener);
        viewForm.setTopRight(systemToolbar.getControl());
       
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.