Package org.jitterbit.ui.widget.window

Examples of org.jitterbit.ui.widget.window.WindowCornerPosition


    @Override
    public final EditorSelectorWindow openEditorSelector(ApplicationWindow appWin, EditorCategory category,
                    KongaDialog dialog) {
        EditorSelectorWindow window = createEditorSelector(category, dialog);
        WindowCornerPosition position = getSelectorWindowPosition(category, window);
        window.open(appWin.getFrame(), position);
        for (Component blindSpot : getAllCategoryComponents()) {
            window.addBlindSpot(blindSpot);
        }
        return window;
View Full Code Here


        } else {
            corner = RectangleCorner.UPPER_LEFT;
            location = new Point(horizontalShift, source.getHeight() + verticalGap);
        }
        SwingUtilities.convertPointToScreen(location, source);
        return new WindowCornerPosition(corner, location);
    }
View Full Code Here

     */
    protected abstract Component getActiveArea();

    @Override
    public final void openGlobalEditorSelector() {
        WindowCornerPosition position = getEditorListPosition();
        QuickSwitchEditorWindow window = QuickSwitchEditorWindow.openAt(model.getAppWin(), position);
        if (window != null) {
            Component activeArea = getActiveArea();
            window.setActiveArea(activeArea);
        }
View Full Code Here

        } else {
            corner = RectangleCorner.UPPER_LEFT;
            location = new Point(-80, globalEditorSelectorTrigger.getHeight() - 2);
        }
        SwingUtilities.convertPointToScreen(location, globalEditorSelectorTrigger);
        return new WindowCornerPosition(corner, location);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.window.WindowCornerPosition

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.