Examples of ViewForm


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

      }
    });
    fViewer.addFilter(fNonRelevantFilter);
   
   
    ViewForm trayForm= new ViewForm(fSash, SWT.NONE);
    Label label= new Label(trayForm, SWT.NONE);
    label.setText(" Comparison Tray (* = selection in the upper tree):"); //$NON-NLS-1$
    trayForm.setTopLeft(label);
   
    fTray= new TreeViewer(trayForm, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    trayForm.setContent(fTray.getTree());
   
   
    makeActions();
    hookContextMenu();
    hookTrayContextMenu();
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm


    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

     * @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 ) );

        // 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

  /**
   * This method initializes viewForm 
   *
   */
  private void createViewForm() {
    viewForm = new ViewForm(tabFolder, SWT.NONE);
  }
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

//    m_treeViewer = new TreeViewer(m_sashForm, SWT.SINGLE);

    //
    // Stack trace (FailureComponent)
    //
    ViewForm stackTraceForm = new ViewForm(m_sashForm, SWT.NONE);
    stackTraceForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
    CLabel label = new CLabel(stackTraceForm, SWT.NONE);
    label.setText(ResourceUtil.getString("TestRunnerViewPart.label.failure")); //$NON-NLS-1$
    label.setImage(m_stackViewIcon);
    stackTraceForm.setTopLeft(label);

    ToolBar failureToolBar = new ToolBar(stackTraceForm, SWT.FLAT | SWT.WRAP);
    stackTraceForm.setTopCenter(failureToolBar);
    m_failureTraceComponent = new FailureTrace(stackTraceForm, m_testRunnerPart, failureToolBar);
    stackTraceForm.setContent(m_failureTraceComponent.getComposite());

    m_sashForm.setWeights(new int[] { 50, 50 });

    initImages();
    initMenu();
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

   * @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
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.