Examples of ViewForm


Examples of org.eclipse.swt.custom.ViewForm

        folder.setUnselectedCloseVisible(false);
        folder.setEnabled(false);
        folder.setMaximizeVisible(true);
        folder.setMinimizeVisible(true);

        viewForm = new ViewForm(folder, SWT.NONE);
        viewForm.marginHeight = 0;
        viewForm.marginWidth = 0;
        viewForm.verticalSpacing = 0;
        viewForm.setBorderVisible(false);
        toolBar = new ToolBar(viewForm, SWT.FLAT | SWT.WRAP);
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

            layout.marginWidth = 0;
            layout.marginHeight = 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.marginWidth = 0;
            layout.marginHeight = 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

    gridData2.grabExcessHorizontalSpace = true;
    gridData2.horizontalSpan = 3;
    gridData2.grabExcessVerticalSpace = false;
    gridData2.verticalAlignment = GridData.BEGINNING;

    viewForm = new ViewForm(this, SWT.NONE);
    viewForm.setLayout(gridLayout);
    viewForm.setLayoutData(gridData2);

    createCompositeLegend(viewForm);
    viewForm.setTopLeft(compositeLegend);
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

   * Setup the pattern viewer.
   *
   * @param parent the parent composite
   */
  private void createPatternForm(Composite parent) {
    ViewForm viewForm= new ViewForm(parent, SWT.NONE);
    viewForm.setBorderVisible(false);
    CLabel previewLabel= new CLabel(viewForm, SWT.NONE);
    previewLabel.setText(TemplatesMessages.TemplatesPage_preview);
    previewLabel.setImage(TemplatesPageImages.get(TemplatesPageImages.IMG_OBJ_PREVIEW));
    viewForm.setTopLeft(previewLabel);

    fPatternViewer= createPatternViewer(viewForm);
    viewForm.setContent(fPatternViewer.getControl());
    viewForm.addControlListener(new ControlListener() {
      public void controlMoved(ControlEvent e) {
      }

      public void controlResized(ControlEvent e) {
        int[] weights= fControl.getWeights();
View Full Code Here

Examples of org.eclipse.swt.custom.ViewForm

      getLOGGER().info("createPartControl: completed");
    }
  }

  private TableViewer createParamsViewer(SashForm sash) {
    ViewForm trayForm= new ViewForm(sash, SWT.NONE);
    Label label= new Label(trayForm, SWT.NONE);
    label.setText("Parameters:"); //$NON-NLS-1$
    trayForm.setTopLeft(label);

    paramsViewer = createViewer(trayForm);
   
    trayForm.setContent(paramsViewer.getTable());
    return paramsViewer;
  }
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
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.