Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Composite.layout()


        Menu menu = menuMgr.createContextMenu(canvas);
        canvas.setMenu(menu);
        getSite().registerContextMenu(menuMgr, theController.getSelectionProvider());       
        canvasListener = new CanvasListener(canvas);
       
        composite.layout();
        updateContentDescription(" ");
        configureToolbar();
        configureActionBar();
        theController.onOpenView();
    }
View Full Code Here


        }
        catch (CoreException e) {
          validateLabel.setText(e.getMessage());
        }
        buttonComposite.layout(new Control[] { validateButton });
        validateComposite.layout(new Control[] { validateLabel });
      }
    });

    // Create signup button only if the server is not local or micro
    if (CloudFoundryURLNavigation.canEnableCloudFoundryNavigation(cfServer)) {
View Full Code Here

    final Composite groupContent = createGroupContainer(parent, "Projects",
        1);

    getList(groupContent);
    createRadioButtonGroup(groupContent);
    groupContent.layout();
  }

  private void createRadioButtonGroup(Composite parent) {
    final Composite groupContent = createGroupContainer(parent, "", 2);
    getSelectButton(groupContent);
View Full Code Here

  private void createRadioButtonGroup(Composite parent) {
    final Composite groupContent = createGroupContainer(parent, "", 2);
    getSelectButton(groupContent);
    getDeSelectButton(groupContent);
    groupContent.layout();
  }

  private void createModelSelectionGroup(Composite parent) {
    final Composite groupContent = createGroupContainer(parent, "Models:",
        2);
View Full Code Here

    realCache = createModelSelectionButton(groupContent,
        "Physical caching", PHYSICAL);
    realCacheGC = createModelSelectionButton(groupContent,
        "Physical caching with GC (not implemented yet)", PHYSICAL);
    realCacheGC.setEnabled(false);// not implemented yet
    groupContent.layout();
  }

  private void createBidingSwitchGroup(Composite parent) {
    final Composite groupContent = createGroupContainer(parent,
        "Bindings:", 2);
View Full Code Here

  private void createBidingSwitchGroup(Composite parent) {
    final Composite groupContent = createGroupContainer(parent,
        "Bindings:", 2);
    getBindingSwitch(groupContent);
    groupContent.layout();
  }

  private List getList(Composite groupContent) {
    list = new List(groupContent, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL);
View Full Code Here

        backgroundColour.addSelectionListener(this);

        /*
         * layout
         */
        c.layout();
        Point size = c.computeSize(SWT.DEFAULT, SWT.DEFAULT);
        c.setSize(size);
        scrollComposite.setContent(c);
    }

View Full Code Here

   
            try {
                UIStats.start(UIStats.CREATE_PART_CONTROL, editorID);
                part.createPartControl(content);
           
                parent.layout(true);
            } finally {
                UIStats.end(UIStats.CREATE_PART_CONTROL, part, editorID);
            }
   
            // The editor should now be fully created. Exercise its public interface, and sanity-check
View Full Code Here

                {
                    int count = Integer.parseInt(addMoreButton.getData("rowCount").toString());
                    createARowForCreatingHeadersBinding(composite, ++count);
                    addMoreButton.setData("rowCount", count);
                    scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
                    composite.layout();
                    _form.layout();
                }
            });
         
        scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
View Full Code Here

                    _form.layout();
                }
            });
         
        scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
        composite.layout();
    }
   
    /**
     * Adds a row for adding a binding for Headers Exchange. Used by the method, which creates the customized
     * layout and widgest for Header's exchange method createNewBinding.
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.