Examples of XBayaLabel


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

    /**
     * Initializes the GUI.
     */
    private void initGui() {
        this.memoTextArea = new XBayaTextArea();
        XBayaLabel memoLabel = new XBayaLabel("Memo", this.memoTextArea);

        GridPanel gridPanel = new GridPanel();
        gridPanel.add(memoLabel);
        gridPanel.add(this.memoTextArea);
        gridPanel.layout(1, 2, 0, 1);
View Full Code Here

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

    /**
     * Initializes the GUI.
     */
    private void initGui() {
        this.wsdlTextField = new XBayaTextField();
        this.wsdlLabel = new XBayaLabel("The EPR of the Stream Source", this.wsdlTextField);

        this.descriptionTextField = new XBayaTextField();
        this.descriptionLabel = new XBayaLabel("Description",
                this.descriptionTextField);



        this.gridPanel = new GridPanel();
View Full Code Here

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

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

    reinitHostComboBox();
    this.resourceSelectionLabel = new XBayaLabel("Select a Compute Resource", this.resourceSelectionComboBox);

    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.interactChkBox = new JCheckBox();
    this.interactChkBox.setSelected(false);
    XBayaLabel interactLabel = new XBayaLabel("Enable Service Interactions", this.interactChkBox);

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

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

  private void initGUI() {

    GridPanel infoPanel = new GridPanel();
    this.eplStatement = new XBayaTextField();
    XBayaLabel operationLabel = new XBayaLabel("EPL Statement",
        this.eplStatement);
    XBayaTextField streamTxt = new XBayaTextField();
    streamTxt.setText(streams);
    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);

    xpaths = new XBayaTextField();
    XBayaLabel xpathsLabel = new XBayaLabel(
        "Comma seperated xpath expressions", this.xpaths);

    properties = new XBayaTextField();
    XBayaLabel propertiesLabel = new XBayaLabel(
        "Comma seperated xpath property name", this.properties);

    types = new XBayaTextField();
    XBayaLabel typesLabel = new XBayaLabel(
        "Comma seperated property Data Type", this.types);

    checkBox = new JCheckBox();

    infoPanel.add(new XBayaLabel("Event Streams", streamTxt));
    infoPanel.add(streamTxt);
    infoPanel.add(operationLabel);
    infoPanel.add(this.eplStatement);
    infoPanel.add(outputStreamNameLabel);
    infoPanel.add(this.outputStreamName);
    infoPanel.add(rootElementNameLabel);
    infoPanel.add(this.rootElementName);
    infoPanel.add(xpathsLabel);
    infoPanel.add(this.xpaths);
    infoPanel.add(propertiesLabel);
    infoPanel.add(this.properties);
    infoPanel.add(typesLabel);
    infoPanel.add(this.types);

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

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

    JButton okButton = new JButton("OK");
View Full Code Here

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

    }

    private void initGui() {

        this.brokerTextField = new XBayaTextField();
        XBayaLabel brokerLabel = new XBayaLabel("Broker URL",
                this.brokerTextField);

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

        this.pullCheckBox = new JCheckBox("Pull Mode");
        JLabel dummyLabel = new JLabel();

        this.messageBoxTextField = new XBayaTextField();
        XBayaLabel msgBoxLabel = new XBayaLabel("Message Box URL",
                this.messageBoxTextField);

        this.messageBoxTextField.setEnabled(false);
        this.pullCheckBox.addItemListener(new ItemListener() {
            public void itemStateChanged(ItemEvent event) {
View Full Code Here

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

    /*
     * Name
     */
    this.nameTextField = new XBayaTextField();
    XBayaLabel nameLabel = new XBayaLabel("Name", this.nameTextField);
    this.nameTextField.setEditable(false);

    /*
     * Radio button
     */
    this.amiButton = new JRadioButton("Start new instance");
    this.amiButton.setSelected(true);
    this.amiButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent paramActionEvent) {
        InstanceConfigurationDialog.this.instanceTypeComboBox.getJComboBox().setEnabled(true);
      }
    });   
    this.instanceTypeComboBox = new XBayaComboBox(new DefaultComboBoxModel(AmazonUtil.INSTANCE_TYPE));
    this.instanceTypeComboBox.setSelectedItem(AmazonUtil.INSTANCE_TYPE[1]);
    GridPanel amiPanel = new GridPanel();   
    amiPanel.add(this.amiButton);
    amiPanel.add(this.instanceTypeComboBox);
    amiPanel.layout(1, 2, GridPanel.WEIGHT_NONE, 1);
   
    this.idButton = new JRadioButton("Use existing instance");
    this.idButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent paramActionEvent) {
        InstanceConfigurationDialog.this.instanceTypeComboBox.getJComboBox().setEnabled(false);
      }
    });
    ButtonGroup serviceTypeButtonGroup = new ButtonGroup();
    serviceTypeButtonGroup.add(this.amiButton);
    serviceTypeButtonGroup.add(this.idButton);
    XBayaLabel radioLabel = new XBayaLabel("Options", this.amiButton);

    /*
     * AMI/Instance ID
     */
    this.idTextField = new XBayaTextField();
    XBayaLabel idLabel = new XBayaLabel("AMI/Instance ID", this.amiButton);
   
    /*
     * Username
     */
    this.usernameTextField = new XBayaTextField();
    XBayaLabel usernameLabel = new XBayaLabel("Username", this.amiButton);
   
    GridPanel gridPanel = new GridPanel();
    gridPanel.add(nameLabel);
    gridPanel.add(this.nameTextField);
    gridPanel.add(radioLabel);
View Full Code Here

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

  }

  private void initGUI() {
    GridPanel infoPanel = new GridPanel();
    this.applicationNameTextField = new XBayaTextField();
    this.applicationNameLabel = new XBayaLabel("Application Name", this.applicationNameTextField);

    this.hostNameComboBox = new XBayaComboBox(new DefaultComboBoxModel(initHostNameList()));
    this.hostNameComboBox.setEditable(false);
    this.hostNameLabel = new XBayaLabel("Host Name", this.hostNameComboBox);

    this.executableTextField = new XBayaTextField();
    this.executableLabel = new XBayaLabel("Executable", this.executableTextField);

    this.workDirectoryTextField = new XBayaTextField("/tmp");
    this.workDirectoryLabel = new XBayaLabel("Work Directory", this.workDirectoryTextField);

    this.tempDirTextField = new XBayaTextField("/tmp");
    this.tempDirLabel = new XBayaLabel("Temp Dir", this.tempDirTextField);

    this.projectNameComboBox = new XBayaComboBox(new DefaultComboBoxModel());
    this.projectNameComboBox.setEditable(true);
    this.projectNameLabel = new XBayaLabel("TeraGrid Project Name (optional)", this.projectNameComboBox);

    this.jobTypeComboBox = new XBayaComboBox(new DefaultComboBoxModel(new String[] { "single", "mpi", "multiple", "condor" }));
    this.jobTypeComboBox.setEditable(false);
    this.jobTypeLabel = new XBayaLabel("Job Type (optional)", this.jobTypeComboBox);

    this.queueTextField = new XBayaTextField();
    this.queueLabel = new XBayaLabel("Queue (optional)", this.queueTextField);

    this.maxWallTimeTextField = new XBayaTextField();
    this.maxWallTimeLabel = new XBayaLabel("Max Wall Time (optional)", this.maxWallTimeTextField);

    this.procsCountTextField = new XBayaTextField();
    this.procsCountLabel = new XBayaLabel("Processors Count (optional)", this.procsCountTextField);

    this.appParaFileTextField = new XBayaTextField();
    this.appParaFileLabel = new XBayaLabel("Application Parameter File (optional)", this.appParaFileTextField);

    this.minMemoryTextField = new XBayaTextField();
    this.minMemoryLabel = new XBayaLabel("Min Memory (optional)", this.minMemoryTextField);

    this.hostCountTextField = new XBayaTextField();
    this.hostCountLabel = new XBayaLabel("Host Count (optional)", this.hostCountTextField);

    this.rslParamNameTextField = new XBayaTextField();
    this.rslParaNameLabel = new XBayaLabel("RSL Param Name (optional)", this.rslParamNameTextField);

    this.rslParamValueTextField = new XBayaTextField();
    this.rslParamValueLabel = new XBayaLabel("RSL Param Value (optional)", this.rslParamValueTextField);

    this.isPublicCheckBox = new JCheckBox();
    this.isPublicLabel = new XBayaLabel("Is Public (optional)", this.isPublicCheckBox);

    infoPanel.add(this.applicationNameLabel);
    infoPanel.add(this.applicationNameTextField);
    infoPanel.add(this.hostNameLabel);
    infoPanel.add(this.hostNameComboBox);
View Full Code Here

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

        SearchAndEditWindow.this.deleteButton.setEnabled(false);
        SearchAndEditWindow.this.saveButton.setEnabled(false);
      }

    });
    XBayaLabel docTypeLabel = new XBayaLabel("Document Type",
        this.docTypeComboBox);
    this.nameTextField = new XBayaTextField();
    XBayaLabel nameLabel = new XBayaLabel("Name", this.nameTextField);
    JLabel dummyLabel = new JLabel("");
    this.searchButton = new JButton("search");
    this.searchButton.addActionListener(new AbstractAction() {
      @Override
      public void actionPerformed(ActionEvent e) {
View Full Code Here

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

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

    this.topicTextField = new XBayaTextField();
    XBayaLabel topicLabel = new XBayaLabel("Notification topic",
        this.topicTextField);
    this.workflowInterpreterTextField = new XBayaTextField();
    XBayaLabel workflowInterpreterLabel = new XBayaLabel("Workflow Interpreter URL",
        this.workflowInterpreterTextField);
    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(workflowInterpreterLabel);
View Full Code Here

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

   * Intialize UI
   */
  private void initGUI() {
   
    this.nameTextField = new XBayaTextField();
    XBayaLabel nameLabel = new XBayaLabel("Name", this.nameTextField);

    this.descriptionTextArea = new XBayaTextArea();
    XBayaLabel descriptionLabel = new XBayaLabel("Description",
        this.descriptionTextArea);
   
    JPanel buttonPanel = new JPanel();
        this.okButton = new JButton("OK");
        this.okButton.addActionListener(new AbstractAction() {
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.