Package edu.indiana.extreme.xbaya.gui

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


  }

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

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

    GridPanel infoPanel = new GridPanel();
    infoPanel.add(topicLabel);
View Full Code Here


        .getGraph());
    final org.xmlpull.v1.builder.XmlElement inputs = builder
        .newFragment("inputs");
    for (int i = 0; i < inputNodes.size(); i++) {
      InputNode inputNode = inputNodes.get(i);
      XBayaTextField parameterTextField = this.parameterTextFields.get(i);
      String id = inputNode.getID();
      String value = parameterTextField.getText();
      org.xmlpull.v1.builder.XmlElement input = inputs.addElement(id);
      input.addChild(value);
    }

    final String scriptString = this.script.getScript();
View Full Code Here

        for (InputNode node : inputNodes) {
            String id = node.getID();
            QName parameterType = node.getParameterType();
            JLabel nameLabel = new JLabel(id);
            JLabel typeField = new JLabel(parameterType.getLocalPart());
            XBayaTextField paramField = new XBayaTextField();
            Object value = node.getDefaultValue();

            String valueString;
            if (value == null) {
                valueString = "";
            } else {
                if (value instanceof XmlElement) {
                    XmlElement valueElement = (XmlElement) value;
                    valueString = XMLUtil.xmlElementToString(valueElement);
                } else {
                    // Only string comes here for now.
                    valueString = value.toString();
                }
            }
            paramField.setText(valueString);
            this.parameterPanel.add(nameLabel);
            this.parameterPanel.add(typeField);
            this.parameterPanel.add(paramField);
            this.parameterTextFields.add(paramField);
        }
View Full Code Here

    }

    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);
View Full Code Here

        List<InputNode> inputNodes = GraphUtil.getInputNodes(this.workflow
                .getGraph());
        final org.xmlpull.v1.builder.XmlElement inputs = builder.newFragment("inputs");
        for (int i = 0; i < inputNodes.size(); i++) {
            InputNode inputNode = inputNodes.get(i);
            XBayaTextField parameterTextField = this.parameterTextFields.get(i);
            String id = inputNode.getID();
            String value = parameterTextField.getText();
            org.xmlpull.v1.builder.XmlElement input = inputs.addElement(id);
            input.addChild(value);
        }
        
       
View Full Code Here

  }

  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();
View Full Code Here

    /**
     * Initializes the GUI.
     */
    private void initGUI() {

        this.urlTextField = new XBayaTextField();
        XBayaLabel urlLabel = new XBayaLabel("MyLead Agent URL",
                this.urlTextField);

        this.userIDTextField = new XBayaTextField();
        XBayaLabel userIDLabel = new XBayaLabel("User DN", this.userIDTextField);

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

        GridPanel infoPanel = new GridPanel();
        infoPanel.add(urlLabel);
View Full Code Here

  }

  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();
View Full Code Here

  /**
   * Initializes the GUI
   */
  private void initGUI() {
    this.odeUriField = new XBayaTextField();
    XBayaLabel uriLabel = new XBayaLabel("ODE URL", this.odeUriField);

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

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

    this.makePublicChkBox = new JCheckBox();

View Full Code Here

TOP

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

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.