Examples of moveAbove()


Examples of org.eclipse.swt.widgets.Control.moveAbove()

            }
        });

       
        isvToolBar.addListener(SWT.Activate, this);
        isvToolBar.moveAbove(control);
    }

    public void dispose() {
        super.dispose();
View Full Code Here

Examples of org.eclipse.swt.widgets.Control.moveAbove()

        if (isvToolBarMgr != null) {
            Control bar = isvToolBarMgr.getControl2();
            if (bar != null) {
                bar.setParent(newParent);
                bar.moveAbove(control);
            }
        }
    }

    /* (non-Javadoc)
 
View Full Code Here

Examples of org.eclipse.swt.widgets.Control.moveAbove()

        super.moveAbove(refControl);

        Control toolbar = internalGetToolbar();
       
        if (toolbar != null) {
            toolbar.moveAbove(control);
        }
    }

    /* (non-Javadoc)
     * @see org.eclipse.ui.internal.LayoutPart#setVisible(boolean)
View Full Code Here

Examples of org.eclipse.swt.widgets.Control.moveAbove()

            // and moves somewhere else
            boolean enabled = control.getEnabled();
            control.setEnabled(false);
            control.setParent(newParent);
            control.setEnabled(enabled);
            control.moveAbove(null);
        }
    }

    /**
     * Returns true if this part was set visible. This returns whatever was last passed into
View Full Code Here

Examples of org.eclipse.swt.widgets.Label.moveAbove()

        errorMessageGridData.heightHint = convertHeightInCharsToPixels(2);
        errorMessageText.setLayoutData(errorMessageGridData);
       
        // now add the node type dropbox-combo
        Label label = new Label(composite, SWT.WRAP);
        label.moveAbove(errorMessageText);
        label.setText("Define node type");
        GridData data = new GridData(GridData.GRAB_HORIZONTAL
                | GridData.GRAB_VERTICAL | GridData.HORIZONTAL_ALIGN_FILL
                | GridData.VERTICAL_ALIGN_CENTER);
        data.widthHint = convertHorizontalDLUsToPixels(IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH);
View Full Code Here

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

        /*
         * Avoids flickering when replacing hovers, especially on Vista in
         * ON_CLICK mode. Causes flickering on GTK. Carbon does not care.
         */
        if ("win32".equals(SWT.getPlatform())) {
            shell.moveAbove(null);
        }

        super.setVisible(true);
    }

View Full Code Here

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

                            Shell windowShell = window.getShell();
                            if (windowShell.getMinimized()) {
                windowShell.setMinimized(false);
              }
                            windowShell.setActive();
                            windowShell.moveAbove(null);
                        }
                    });
                    mi.setSelection(window == workbenchWindow);
                }
            }
View Full Code Here

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

    /*
     * Avoids flickering when replacing hovers, especially on Vista in ON_CLICK mode.
     * Causes flickering on GTK. Carbon does not care.
     */
    if ("win32".equals(SWT.getPlatform())) //$NON-NLS-1$
      shell.moveAbove(null);
   
        super.setVisible(true);
  }

  /*
 
View Full Code Here

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

                        .getPage();
                Shell s = p.getWorkbenchWindow().getShell();
                if (s.getMinimized()) {
          s.setMinimized(false);
        }
                s.moveAbove(null);
                p.getWorkbenchWindow().setActivePage(p);
                p.activate(editor);
            } else {
                IWorkbenchPage p = window.getActivePage();
                if (p != null) {
View Full Code Here

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

    /*
     * Avoids flickering when replacing hovers, especially on Vista in ON_CLICK mode.
     * Causes flickering on GTK. Carbon does not care.
     */
    if ("win32".equals(SWT.getPlatform())) //$NON-NLS-1$
      shell.moveAbove(null);

    super.setVisible(true);
  }

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