Examples of OverlayContainer


Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

    public final void open(String title, String caption) {
        getEditor().show(title, caption);
    }

    private Editor getEditor() {
        OverlayContainer overlayContainer = WidgetUtils.getOverlayContainerAncestor(tree);
        return overlayContainer != null ? new OverlayEditor(overlayContainer) : new DialogEditor();
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

    public OperationOptionsUiLauncher(OperationGraphController controller) {
        this.controller = controller;
    }

    public void showOptions(OperationWrapperNode opNode) {
        OverlayContainer container = getOverlayContainer();
        if (container != null) {
            showInOverlay(container, opNode);
        } else {
            showInDialog(opNode);
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

    }

    private OverlayContainer getOverlayContainer() {
        Operation mainOp = controller.getGraph().getModel().getStartNode().getDataObject().getActivity();
        OperationPage page = (OperationPage) controller.getView().getEditorForEntity(mainOp);
        OverlayContainer container = page.getOverlayContainer();
        return container;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

    }

    public void open() {
        OperationActivitySelector selector = createSelector();
        overlay = createOverlay(selector);
        OverlayContainer container = controller.getGraph().getOverlayContainer();
        OverlayPositioner positioner = getPositioner();
        overlay.show(container, positioner);
        selector.requestFocus();
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

        return btn;
    }

    private void showDisplayer() {
        FilterUiDisplayer<T> viewer = new FilterUiDisplayer<T>(filter, filterListener, title);
        OverlayContainer oc = WidgetUtils.getOverlayContainerAncestor(launchButton);
        if (oc != null) {
            viewer.showInOverlay(oc, launchButton);
        } else {
            openDialog(viewer);
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

        positioner = p;
    }

    @Override
    public final void actionPerformed(ActionEvent e) {
        OverlayContainer oc = trigger != null ? WidgetUtils.getOverlayContainerAncestor(trigger) : null;
        if (oc != null) {
            displayInOverlay(oc);
        } else {
            displayInDialog();
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

            currentEditor = null;
        }
    }

    private Editor getEditor() {
        OverlayContainer container = getOverlayContainer();
        return container != null ? new OverlayEditor(container, trigger) : new DialogEditor();
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

        this.trigger = trigger;
    }

    private Displayer getDisplayer() {
        if (OVERLAY_ENABLED) {
            OverlayContainer oc = WidgetUtils.getOverlayContainerAncestor(treeMapper);
            if (oc != null) {
                return new OverlayDisplayer(oc);
            }
        }
        return new DialogDisplayer();
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

        this.opNode = opNode;
    }
   
    @Override
    public void actionPerformed(ActionEvent e) {
        OverlayContainer container = getOverlayContainer();
        if (container != null && SUPPORTS_OVERLAY) {
            showInOverlay(container);
        } else {
            showInDialog();
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayContainer

    }

    private OverlayContainer getOverlayContainer() {
        Operation mainOp = controller.getGraph().getModel().getStartNode().getDataObject().getActivity();
        OperationPage page = (OperationPage) controller.getView().getEditorForEntity(mainOp);
        OverlayContainer container = page.getOverlayContainer();
        return container;
    }
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.