Package org.eclipse.albireo.core

Examples of org.eclipse.albireo.core.SwingControl


            x += parent.getX();
            y += parent.getY();
            parent = parent.getParent();
        }
        if (parent != null) {
            SwingControl swtParent = getSwtParent(parent);
            int xAbsolute = x;
            int yAbsolute = y;
            showPopupMenu(swtParent, component, x, y, xAbsolute, yAbsolute);
        }
    }
View Full Code Here


        Control focusControl = display.getFocusControl();
        if (verboseTraverseOut) {
            trace("SWT: traversing, control=" + focusControl);
        }
        SwingControl activeBorderless = globalHandler.getActiveEmbedded();
        if ((focusControl == null) && (activeBorderless != null)) {
            focusControl = activeBorderless;
            if (verboseTraverseOut) {
                trace("SWT: current focus control is null; using=" + focusControl);
            }
View Full Code Here

     */
    public void activateEmbeddedFrame() {
        assert Display.getCurrent() != null;
       
        Shell activeShell = globalHandler.getActiveShell();
        SwingControl activeBorderless = globalHandler.getActiveEmbedded();
       
        if (!borderless.isDisposed() &&
               
            // Make sure that this control is in the active shell, so focus is not stolen from other windows.
            // (Note: display.getActiveShell() is not always accurate here, so we use the static instead)
View Full Code Here

TOP

Related Classes of org.eclipse.albireo.core.SwingControl

Copyright © 2018 www.massapicom. 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.