Examples of initDialog()


Examples of org.beryl.gui.widgets.Dialog.initDialog()

  public static int showYesNoCancelDialog(Frame frame, String title, String message) throws GUIException {
    YesNoCancelEventListener listener = new YesNoCancelEventListener();
    Dialog dialog = (Dialog) WidgetFactory.getInstance().constructWidget(DialogUtils.class, "YesNoCancelDialog", listener);
    Label label = (Label) dialog.getWidget("DialogCaption");
    label.setProperty("text", message);
    dialog.initDialog(frame);
    dialog.setProperty("title", title);
    dialog.show();
    return listener.getResult();
  }
View Full Code Here

Examples of org.beryl.gui.widgets.Dialog.initDialog()

            } catch (Exception e) {
              new MessageDialog(e);
            }
          }
        }, new MapDataModel());
        dialog.initDialog(frame);
        dialog.show();
      } else if (name.equals("popup")) {
        PopupMenu popup = (PopupMenu) constructWidget("PropertyPopup");
        popup.popup(event);
      } else if (name.equals("delete")) {
View Full Code Here

Examples of org.beryl.gui.widgets.Dialog.initDialog()

    widget.finalizeConstruction();

    if (widget instanceof Dialog) {
      /* Dialogs get treated a little bit differently */
      Dialog dialog = (Dialog) widget;
      dialog.initDialog(null);
      dialog.show();
    }

    return widget;
  }
View Full Code Here

Examples of org.beryl.gui.widgets.Dialog.initDialog()

    parentObject.element.appendChild(childWidget);

    if (widget instanceof Dialog) {
      Dialog dialog = (Dialog) widget;
      dialog.initDialog(null);
      dialog.show();
    }

    if (parentWidget != null)
      revalidate(parentWidget);
View Full Code Here

Examples of org.openbp.swing.components.JMsgBox.initDialog()

      JMsgBox msgBox = new JMsgBox(WizardResultPage.this, title, text, JMsgBox.TYPE_YESNOCANCEL);
      msgBox.setResource(resourceCollection);
      msgBox.setResourcePrefix("wizard.result.mergedialog.");

      msgBox.initDialog();
      SwingUtil.show(msgBox);

      int choice = msgBox.getUserChoice();
      int mode = TemplateWriter.MODE_UNDEFINED;
View Full Code Here

Examples of org.openbp.swing.components.JMsgBox.initDialog()

        JMsgBox msgBox = new JMsgBox(null, title, text, JMsgBox.TYPE_YESNOCANCEL);
        msgBox.setResource(res);
        msgBox.setResourcePrefix("placeholder.referencedialog.");

        msgBox.initDialog();
        SwingUtil.show(msgBox);

        int choice = msgBox.getUserChoice();

        Model model = node.getOwningModel();
View Full Code Here

Examples of org.openbp.swing.components.JMsgBox.initDialog()

        JMsgBox msgBox = new JMsgBox(null, title, text, msgType);
        msgBox.setResource(res);
        msgBox.setResourcePrefix("node.addparam.");

        msgBox.initDialog();
        SwingUtil.show(msgBox);

        choice = msgBox.getUserChoice();
      }
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.