Examples of PopupWindow


Examples of org.activiti.explorer.ui.custom.PopupWindow

    RepositoryService repositoryService = ProcessEngines.getDefaultProcessEngine().getRepositoryService();
    return ExplorerApp.get().getSimpleWorkflowJsonConverter().readWorkflowDefinition(repositoryService.getModelEditorSource(model.getId()));
  }
 
  protected void showSelectEditorPopupWindow() {
    final PopupWindow selectEditorPopupWindow = new PopupWindow();
    selectEditorPopupWindow.setModal(true);
    selectEditorPopupWindow.setResizable(false);
    selectEditorPopupWindow.setWidth("350px");
    selectEditorPopupWindow.setHeight("250px");
    selectEditorPopupWindow.addStyleName(Reindeer.PANEL_LIGHT);
    selectEditorPopupWindow.center();
   
    final SelectEditorComponent selectEditorComponent = new SelectEditorComponent(false);
    selectEditorComponent.getModelerDescriptionLabel().setValue(
            ExplorerApp.get().getI18nManager().getMessage(Messages.PROCESS_EDITOR_CONVERSION_WARNING_MODELER));
    selectEditorComponent.getModelerDescriptionLabel().addStyleName(ExplorerLayout.STYLE_LABEL_RED);
    selectEditorComponent.preferTableDrivenEditor();
    selectEditorPopupWindow.getContent().addComponent(selectEditorComponent);
   
    selectEditorComponent.setEditorSelectedListener(new EditorSelectedListener() {
      public void editorSelectionChanged() {
       
        try {

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

        window.show();
        buttons.requestFocus();
    }
   
    private PopupWindow createWindow(Component owner, int x, int y) {
        PopupWindow window = PopupWindow.newWindow(owner, InvisiblePanel.newPanel(buttons), new Point(x, y));
        window.setTitle(createTitle(), true);
        window.setGiveFocusToOwnerWhenClosed(false);
        return window;
    }

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

        String info = registry.getFunctionInfo(token);
        if (info == null) {
            return null;
        }
        JComponent html = createHtmlDisplayer(info);
        PopupWindow w = createPopupWindow(html, range, evt);
        w.setPreferredSize(new Dimension(440, 320));
        w.setResizable(true);
        w.show();
        return w;
    }

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

    }

    private PopupWindow createPopupWindow(JComponent html, Interval range, MouseEvent evt) {
        JComponent content = new JScrollPane(html);
        Point locationOnScreen = getLocationOnScreenForPopup(range, evt);
        PopupWindow w = PopupWindow.newWindow(target, content, locationOnScreen);
        w.setGiveFocusToOwnerWhenClosed(false);
        w.setFocusable(false);
        return w;
    }

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

        DataElement de = lookupDataElement(name, scope);
        if (de == null) {
            return null;
        }
        JComponent displayer = createDataElementValueDisplayer(de);
        PopupWindow w = createPopupWindow(displayer, evt);
        w.show();
        return w;
    }

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

    }

    private PopupWindow createPopupWindow(JComponent ui, MouseEvent evt) {
        JComponent content = new JScrollPane(ui);
        Point locationOnScreen = getLocationOnScreenForPopup(evt);
        PopupWindow w = PopupWindow.newWindow(target, content, locationOnScreen);
        w.setGiveFocusToOwnerWhenClosed(false);
        w.setFocusable(false);
        return w;
    }

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

    private static JLabel createLabel(String key) {
        return TextStyles.DefaultTextSmall.makeLabel(Strings.get(key));
    }
   
    private PopupWindow createPopupWindow(JComponent source) {
        PopupWindow w = PopupWindow.newWindow(source, displayer, null);
        w.setResizable(true);
        LabelDecorator title = createTitle();
        w.setTitle(title, true);
        return w;
    }

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

        popup.show(onScreen);
    }
   
    private PopupWindow createPopupWindow(Component source) {
        JComponent content = createPopupWindowContent();
        PopupWindow popup = PopupWindow.newWindow(source, content, null);
        addPopupWindowTitle(popup);
        popup.setMaximumSize(new Dimension(600, 400));
        popup.setResizable(true);
        return popup;
    }

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

        return editor;
    }

    private PopupWindow createWindow(JEditorPane pane) {
        JScrollPane scroll = new JScrollPane(pane);
        PopupWindow popup = PopupWindow.newWindow(parent, scroll, null);
        Dimension prefSize = scroll.getPreferredSize();
        popup.setPreferredSize(new Dimension(prefSize.width, Math.max(parent.getHeight(), 250)));
        popup.setResizable(true);
        popup.setFocusable(false);
        popup.setGiveFocusToOwnerWhenClosed(false);
        popup.setConsumeEscapeWhileVisible(false);
        return popup;
    }

Examples of org.rhq.coregui.client.PopupWindow

        textArea.setHeight("*");

        form.setItems(textArea);
        layout.addMember(form);

        PopupWindow window = new PopupWindow(layout);
        window.setIsModal(false);
        window.setTitle(path + ":" + version);

        return window;
    }
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.