Package edu.indiana.extreme.xbaya.gui

Examples of edu.indiana.extreme.xbaya.gui.GridPanel


        this.parameterPanel.getContentPanel().removeAll();
        this.parameterTextFields.clear();
    }

    private void initGUI() {
        this.parameterPanel = new GridPanel(true);

        this.topicTextField = new XBayaTextField();
        XBayaLabel topicLabel = new XBayaLabel("Notification topic",
                this.topicTextField);
        this.xRegistryTextField = new XBayaTextField();
        XBayaLabel xRegistryLabel = new XBayaLabel("XRegistry URL",
                this.xRegistryTextField);
        this.gfacTextField = new XBayaTextField();
        XBayaLabel gfacLabel = new XBayaLabel("GFac URL", this.gfacTextField);

        GridPanel infoPanel = new GridPanel();
        infoPanel.add(topicLabel);
        infoPanel.add(this.topicTextField);
        infoPanel.add(xRegistryLabel);
        infoPanel.add(this.xRegistryTextField);
        infoPanel.add(gfacLabel);
        infoPanel.add(this.gfacTextField);
        infoPanel.layout(3, 2, GridPanel.WEIGHT_NONE, 1);

        GridPanel mainPanel = new GridPanel();
        mainPanel.add(this.parameterPanel);
        mainPanel.add(infoPanel);
        mainPanel.layout(2, 1, 0, 0);

        JButton okButton = new JButton("OK");
        okButton.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                execute();
View Full Code Here


    this.dialog.hide();
  }

  private void initGUI() {

    GridPanel infoPanel = new GridPanel();
    XBayaTextField streamTxt = new XBayaTextField();
    streamTxt.setText(streams.toString());
    streamTxt.setEditable(false);

    outputStreamName = new XBayaTextField();
    XBayaLabel outputStreamNameLabel = new XBayaLabel("Output Stream Name",
        this.outputStreamName);

    rootElementName = new XBayaTextField();
    XBayaLabel rootElementNameLabel = new XBayaLabel("Root element",
        this.rootElementName);

    checkBox = new JCheckBox();

    infoPanel.add(new XBayaLabel("Event Streams", streamTxt));
    infoPanel.add(streamTxt);
    infoPanel.add(outputStreamNameLabel);
    infoPanel.add(this.outputStreamName);
    infoPanel.add(rootElementNameLabel);
    infoPanel.add(this.rootElementName);

    infoPanel
        .add(new XBayaLabel("Hot deploy during composition", checkBox));
    infoPanel.add(checkBox);

    infoPanel.layout(3, 2, 0, 0);

    JButton okButton = new JButton("OK");
    okButton.addActionListener(new AbstractAction() {
      public void actionPerformed(ActionEvent e) {
View Full Code Here

                    MyLeadLoadWindow.this.okButton.doClick();
                }
            }
        });

        GridPanel listPanel = new GridPanel();
        TitledBorder border = new TitledBorder(new EtchedBorder(),
                "Select a workflow to load");
        listPanel.add(this.list);
        listPanel.layout(1, 1, 0, 0);
        listPanel.getSwingComponent().setBorder(border);

        this.okButton = new JButton("Load");
        this.okButton.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                load();
View Full Code Here

        this.projectTextField = new XBayaTextField();
        XBayaLabel projectIdLabel = new XBayaLabel("Project ID",
                this.projectTextField);

        GridPanel infoPanel = new GridPanel();
        infoPanel.add(urlLabel);
        infoPanel.add(this.urlTextField);
        infoPanel.add(userIDLabel);
        infoPanel.add(this.userIDTextField);
        infoPanel.add(projectIdLabel);
        infoPanel.add(this.projectTextField);
        infoPanel.layout(3, 2, GridPanel.WEIGHT_NONE, 1);

        JButton okButton = new JButton("OK");
        okButton.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                setLeadConfiguration();
View Full Code Here

    this.myProxyChecker = new MyProxyChecker(this.engine);
    initGUI();
  }

  protected void initGUI() {
    this.parameterPanel = new GridPanel(true);

    this.topicTextField = new XBayaTextField();
    XBayaLabel topicLabel = new XBayaLabel("Notification Topic",
        this.topicTextField);

    this.xRegistryTextField = new XBayaTextField();
    XBayaLabel xRegistryLabel = new XBayaLabel("XRegistry URL",
        this.xRegistryTextField);

    this.gfacTextField = new XBayaTextField();
    XBayaLabel gfacLabel = new XBayaLabel("GFac URL", this.gfacTextField);

    this.inputFilepathField = new XBayaTextField();
    this.inputFilepathField.setText("/Users/fanye/Documents/fileList");
    XBayaLabel filePathLabel = new XBayaLabel("Input File",
        this.inputFilepathField);

    GridPanel infoPanel = new GridPanel();
    infoPanel.add(topicLabel);
    infoPanel.add(this.topicTextField);
    infoPanel.add(xRegistryLabel);
    infoPanel.add(this.xRegistryTextField);
    infoPanel.add(gfacLabel);
    infoPanel.add(this.gfacTextField);
    infoPanel.add(filePathLabel);
    infoPanel.add(this.inputFilepathField);

    infoPanel.layout(4, 2, GridPanel.WEIGHT_NONE, 1);

    GridPanel mainPanel = new GridPanel();
    mainPanel.add(this.parameterPanel);
    mainPanel.add(infoPanel);
    mainPanel.layout(2, 1, 0, 0);

    this.invokeButton = new JButton("Invoke");
    this.invokeButton.addActionListener(new AbstractAction() {
      public void actionPerformed(ActionEvent e) {
        execute();
View Full Code Here

    XBayaLabel proxyLable = new XBayaLabel("ODE proxy URL",
        this.proxyTextField);

    this.makePublicChkBox = new JCheckBox();

    GridPanel mainPanel = new GridPanel();
    mainPanel.add(uriLabel);
    mainPanel.add(this.odeUriField);

    mainPanel.add(xRegistryLabel);
    mainPanel.add(this.xRegistryTextField);

    mainPanel.add(proxyLable);
    mainPanel.add(this.proxyTextField);
   
    mainPanel.add(new JLabel("Make workflow public in X-registry"));
    mainPanel.add(this.makePublicChkBox);
    mainPanel.layout(4, 2, GridPanel.WEIGHT_NONE, 1);

    this.deploy = new JButton("Deploy");
    this.deploy.addActionListener(new AbstractAction() {
      public void actionPerformed(ActionEvent e) {
        try {
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.gui.GridPanel

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.