Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Shell.open()


        Shell shell = new Shell(getParent(), getStyle());
        shell.setText(getText());
        shell.setImage(UIUtils.getImageRegistry().get("sfdc_icon")); //$NON-NLS-1$
        createContents(shell);
        shell.pack();
        shell.open();
        Display display = getParent().getDisplay();
        while (!shell.isDisposed()) {
            if (!display.readAndDispatch()) {
                display.sleep();
            }
View Full Code Here


    listenToDeactivate = false;
    listenToParentDeactivate = false;

    // open the window
    if (takeFocusOnOpen) {
      shell.open();
      getFocusControl().setFocus();
    } else {
      shell.setVisible(true);
    }
View Full Code Here

        createIssuesTable(shell);

        // display the shell...
        shell.setSize(600,600);
        shell.open();
        while (!shell.isDisposed()) {
            if (!display.readAndDispatch())
                display.sleep();
        }
        display.dispose();
View Full Code Here

   * PRE: Window is initialized Open the window in a new shell Open the
   * GameWindow inside a new shell
   */
  public void show() {
    Shell containingShell = getShell();
    containingShell.open();
    Display display = containingShell.getDisplay();
    // Listen to events
    while (!containingShell.isDisposed() && !display.isDisposed()) {
      if (!display.readAndDispatch())
        display.sleep();
View Full Code Here

          exit();
        }
      }
    });

    shell.open();
    refreshTables();
    while (!shell.isDisposed() && !this.isDisposed()) {
      if (!shell.getDisplay().readAndDispatch())
        display.sleep();
    }
View Full Code Here

        gridLayout.marginWidth = 0;
        parent.setLayout(gridLayout);

        new IssuesBrowser(parent);
        parent.setSize(640, 480);
        parent.open();

        while (!parent.isDisposed()) {
            if (!display.readAndDispatch()) {
                display.sleep();
            }
View Full Code Here

                        text.setText(createFormTextContent((IMessage[]) href), true, false);
                    }

                    shell.setLocation(hl);
                    shell.pack();
                    shell.open();
                } else if (href instanceof IMessage[]) {
                    IMessage oneMessage = ((IMessage[]) href)[0];
                    Set/* <IvyNodeElement> */conflicts = (Set/* <IvyNodeElement> */) oneMessage.getData();
                    if (conflicts != null) {
                        viewer.setSelection(new StructuredSelection(new ArrayList(conflicts)));
View Full Code Here

        .getActiveBindingsFor(commandBackward);

    final IContextService contextService = (IContextService) window
        .getWorkbench().getService(IContextService.class);
    try {
      dialog.open();
      addMouseListener(table, dialog);
      contextService.registerShell(dialog, IContextService.TYPE_NONE);
      addKeyListener(table, dialog);
      addTraverseListener(table);
View Full Code Here

      }
      grpIcons.pack();
    }

    s.pack();
    s.open();
    while(!s.isDisposed()) {
      if(!d.readAndDispatch())
        d.sleep();
    }
    d.dispose();
View Full Code Here

        shell.setDefaultButton(okButton);
        shell.pack();
        ViewUtility.centerChildInParentShell(parent, shell);
       
        shell.open();
    }

    protected boolean settingManagementRightsSupported()
    {
        //setting management access rights was supported until Qpid JMX API 1.12 / 2.3
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.