Examples of XBayaLabel


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

            HostDescriptionRegistrationWindow.this.gridFTPEndPointComboBox
                .setModel(new javax.swing.DefaultComboBoxModel(
                    initGridFtpEndPoint()));
          }
        });
    this.hostNameLabel = new XBayaLabel("Host Name", this.hostNameComboBox);

    this.serviceTypesScrollPanel = new JScrollPane();
    this.serviceTypesList = new JList();
    this.serviceTypesList.setModel(new javax.swing.AbstractListModel() {
      String[] strings = { "gram5", "ws-gram" };

      @Override
      public int getSize() {
        return this.strings.length;
      }

      @Override
      public Object getElementAt(int i) {
        return this.strings[i];
      }
    });
    this.serviceTypesScrollPanel.setViewportView(this.serviceTypesList);
    this.serviceTypesLabel = new XBayaLabel("Service Types",
        this.serviceTypesList);

    this.hostEnvTextField = new XBayaTextField();
    this.hostEnvLabel = new XBayaLabel("Host Environment",
        this.hostEnvTextField);

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

    this.sshEnabledCheckBox = new JCheckBox();
    this.sshEnabledCheckBox.setSelected(false);
    this.sshEnabledLabel = new XBayaLabel("SSH Enabled",
        this.sshEnabledCheckBox);

    this.jobManagerComboBox = new XBayaComboBox(
        new javax.swing.DefaultComboBoxModel(new String[] { "PBS",
            "FORK", "LSF", "MULTI", "CONDOR", "SPRUCE",
            "LoadLeveler" }));
    this.jobManagerLabel = new XBayaLabel("Gate Keeper JobManager",
        this.jobManagerComboBox);

    this.gateKeeprEndpointComboBox = new XBayaComboBox(
        new javax.swing.DefaultComboBoxModel(gateWayEndPoint()));
    this.gateKeeperEndPointLabel = new XBayaLabel("GateKeeper EndPoint",
        this.gateKeeprEndpointComboBox);

    this.wsGramPresentCheckBox = new JCheckBox();
    this.wsGramPresentCheckBox.setSelected(false);
    this.wsGramLabel = new XBayaLabel("WSGram Present",
        this.wsGramPresentCheckBox);

    this.gridFTPEndPointComboBox = new XBayaComboBox(
        new javax.swing.DefaultComboBoxModel(initGridFtpEndPoint()));
    this.gridFTPendpointLabel = new XBayaLabel("GridFtp Endpoint",
        this.gridFTPEndPointComboBox);

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

    this.gfacPathTextField = new XBayaTextField();
    this.gfacPathLabel = new XBayaLabel("GFac Path (Optional)",
        this.gfacPathTextField);

    this.jdkNameComboBox = new XBayaComboBox(
        new javax.swing.DefaultComboBoxModel(new String[] { "jdk 1.4",
            "jdk 1.5", "jdk 1.6" }));
    this.jdkNameComboBox.setSelectedItem("jdk 1.5");
    this.jdkNameLabel = new XBayaLabel("JDK Name (Optional)", this.jdkNameComboBox);
   
    this.jdkPathTextField = new XBayaTextField();
    this.jdkPathLabel = new XBayaLabel("JDK Path (Optional)", this.jdkPathTextField);

    infoPanel.add(this.hostNameLabel);
    infoPanel.add(this.hostNameComboBox);
    infoPanel.add(this.serviceTypesLabel);
    infoPanel.add(this.serviceTypesScrollPanel);
View Full Code Here

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

    GridPanel mainPanel = new GridPanel();

    MonitorPanel monitorPanel = new MonitorPanel(this.engine, this.nodeID);
    this.consoleTextArea = new XBayaTextArea();
    XBayaLabel consoleLabel = new XBayaLabel("Console",
        this.consoleTextArea);

    this.commandField = new XBayaTextField();
    XBayaLabel commandLabel = new XBayaLabel("Command", this.commandField);

    mainPanel.add(monitorPanel);
    mainPanel.add(consoleLabel);
    mainPanel.add(this.consoleTextArea);
    mainPanel.add(commandLabel);
View Full Code Here

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

  private void initGUI() {
    GridPanel infoPanel = new GridPanel();

    this.serviceNameTextField = new XBayaTextField();
    this.serviceNameLabel = new XBayaLabel("Service Name", this.serviceNameTextField);

    this.inactivityLimitTextField = new XBayaTextField("15");
    this.inactivityLimitLabel = new XBayaLabel("Inactivity Limit", this.inactivityLimitTextField);

    this.methodNameTextField = new XBayaTextField();
    this.methodNameLabel = new XBayaLabel("Method Name", this.methodNameTextField);

    this.methodDescTextField = new XBayaTextField();
    this.methodDescLabel = new XBayaLabel("Method Description", this.methodDescTextField);

    this.appNameComboBox = new XBayaComboBox(new DefaultComboBoxModel(initApplicationNameList()));
    this.appNameLabel = new XBayaLabel("Application Name", this.appNameComboBox);

    this.inputNumSpinner = new JSpinner(new SpinnerNumberModel(0, 0, Integer.MAX_VALUE, 1));
    this.inputNumLabel = new XBayaLabel("Number of Inputs", this.inputNumSpinner);

    JLabel inputDumpLabel = new JLabel();
    this.configInputsButton = new JButton("Config Inputs");
    this.configInputsButton.addActionListener(new java.awt.event.ActionListener() {
      @Override
      public void actionPerformed(java.awt.event.ActionEvent evt) {
        configInputsButtonActionPerformed();
      }
    });

    this.outputNumSpinner = new JSpinner(new SpinnerNumberModel(0, 0, Integer.MAX_VALUE, 1));
    this.outputNumLabel = new XBayaLabel("Number of Outputs", this.outputNumSpinner);

    JLabel outputDumpLabel = new JLabel();
    this.configOutputsButton = new JButton("Config Outputs");
    this.configOutputsButton.addActionListener(new java.awt.event.ActionListener() {
      @Override
View Full Code Here

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

  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.resourceMappingField = new XBayaTextField();
    XBayaLabel resourceMappingLabel = new XBayaLabel(
        "Resource Mapping (optional)", this.resourceMappingField);

    this.gatekeeperField = new XBayaTextField();
    XBayaLabel gatekeeperLabel = new XBayaLabel("Gatekeeper (optional)",
        this.gatekeeperField);

    this.jobManagerField = new XBayaTextField();
    XBayaLabel jobMagerLabel = new XBayaLabel("Job Manager (optional)",
        this.jobManagerField);

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

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

  private void initGUI() {
    GridPanel infoPanel = new GridPanel();
    this.docTypeComboBox = new XBayaComboBox(
        new javax.swing.DefaultComboBoxModel(new String[] { "Host",
            "Application", "Service" }));
    XBayaLabel docTypeLabel = new XBayaLabel("Document Type",
        this.docTypeComboBox);
    this.fileLocationField = new XBayaTextField();
    XBayaLabel fileLocationLabel = new XBayaLabel("File Location",
        this.fileLocationField);
    JLabel dummyLabel = new JLabel("");
    this.fileChooserButton = new JButton("Choose File...");
    this.fileChooserButton.addActionListener(new AbstractAction() {
      @Override
View Full Code Here

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

        this.registerer.register(url, id, rate);
    }

    private void initGui() {
        this.urlTextField = new XBayaTextField();
        XBayaLabel brokerLabel = new XBayaLabel("Karma URL", this.urlTextField);
        this.idTextField = new XBayaTextField();
        XBayaLabel idLabel = new XBayaLabel("Workflow Instance ID",
                this.idTextField);

        GridPanel infoPanel = new GridPanel();
        infoPanel.add(brokerLabel);
        infoPanel.add(this.urlTextField);
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.gfacTextField = new XBayaTextField();
    XBayaLabel gfacLabel = new XBayaLabel("GFac URL", this.gfacTextField);
   
    /*
     * extend
     */
    this.gridchemBridgeTextField = new XBayaTextField();
    this.usernameTextField = new XBayaTextField();
    XBayaLabel gridchemBridgeLabel = new XBayaLabel("GridChem Bridge URL", this.gridchemBridgeTextField);
    XBayaLabel usernameLabel = new XBayaLabel("Username", this.usernameTextField);
   
    //default value
    gridchemBridgeTextField.setText("http://129.79.49.227:8080/ogce-gridchem-bridge/");
   

View Full Code Here

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

    /*
     * Upload Panel
     */
    this.fileTextField = new XBayaTextField();
    XBayaLabel fileLabel = new XBayaLabel("Upload File Path", this.fileTextField);

    this.uploadBucketTextField = new XBayaTextField();
    XBayaLabel uploadBucketLabel = new XBayaLabel("Bucket Name", this.uploadBucketTextField);

    GridPanel uploadPanel = new GridPanel();
    uploadPanel.getSwingComponent().setBorder(BorderFactory.createTitledBorder("Upload"));
    uploadPanel.add(fileLabel);
    uploadPanel.add(this.fileTextField);
    uploadPanel.add(uploadBucketLabel);
    uploadPanel.add(this.uploadBucketTextField);
    uploadPanel.layout(2, 2, GridPanel.WEIGHT_NONE, 1);

    /*
     * Download Panel
     */        if (AmazonCredential.getInstance().getAwsAccessKeyId().equals("AKIAI3GNMQVYA5LSQNEQ")) { // Avoid to use default Aws Access Key
        JOptionPane.showMessageDialog(AmazonS3UtilsWindow.this.dialog.getDialog(),
            "Aws Access Key not set!", "Error",
            JOptionPane.ERROR_MESSAGE);
        return;
      }
    this.downloadBucketTextField = new XBayaTextField();
    XBayaLabel downloadBucketLabel = new XBayaLabel("Bucket Name", this.downloadBucketTextField);

    this.keyTextField = new XBayaTextField();
    XBayaLabel keyLabel = new XBayaLabel("Key Name", this.keyTextField);

    this.folderTextField = new XBayaTextField();
    XBayaLabel folderLabel = new XBayaLabel("Download Location", this.folderTextField);

    GridPanel downloadPanel = new GridPanel();
    downloadPanel.getSwingComponent().setBorder(BorderFactory.createTitledBorder("Download"));
    downloadPanel.add(downloadBucketLabel);
    downloadPanel.add(this.downloadBucketTextField);
View Full Code Here

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

  }

  protected void initGUI() {

    this.accessKeyIDTextField = new XBayaTextField();
    XBayaLabel accessKeyIDLabel = new XBayaLabel("Access Key", this.accessKeyIDTextField);

    this.secretAccessKeyTextField = new XBayaTextField();
    XBayaLabel secretAccessKeyLabel = new XBayaLabel("Secret Access Key", this.secretAccessKeyTextField);

    GridPanel infoPanel = new GridPanel();
    infoPanel.add(accessKeyIDLabel);
    infoPanel.add(this.accessKeyIDTextField);
    infoPanel.add(secretAccessKeyLabel);
View Full Code Here

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

  }
 
  protected void initGUI() {

    this.accessKeyIDTextField = new XBayaTextField();
    XBayaLabel accessKeyIDLabel = new XBayaLabel("Access Key",
        this.accessKeyIDTextField);
   
    this.secretAccessKeyTextField = new XBayaTextField();
    XBayaLabel secretAccessKeyLabel = new XBayaLabel("Secret Access Key",
        this.secretAccessKeyTextField);
   
    this.keyPairNameTextField = new XBayaTextField();
    XBayaLabel keyPairNameLabel = new XBayaLabel("Key Pair Name",
        this.keyPairNameTextField);
   
    this.numOfInstancesTextField = new XBayaTextField();
    XBayaLabel numOfInstancesLabel = new XBayaLabel("Number of Instances",
        this.numOfInstancesTextField);
   
    this.jobFlowNameTextField = new XBayaTextField();
    XBayaLabel jobFlowNameLabel = new XBayaLabel("Job Flow Name",
        this.jobFlowNameTextField);
   
    this.logLocationOnS3TextField = new XBayaTextField();
    XBayaLabel logLocationOnS3Label = new XBayaLabel("Log Location(S3)",
        this.logLocationOnS3TextField);
   
    this.inputLocationOnS3TextField = new XBayaTextField();
    XBayaLabel inputLocationOnS3Label = new XBayaLabel("Input Location(S3)",
        this.inputLocationOnS3TextField);
   
    this.outputLocationOnS3TextField = new XBayaTextField();
    XBayaLabel outputLocationOnS3Label = new XBayaLabel("Output Location(S3)",
        this.outputLocationOnS3TextField);
   
    this.jarFilePathOnS3TextField = new XBayaTextField();
    XBayaLabel jarFilePathOnS3Label = new XBayaLabel("Jar File Location(S3)",
        this.jarFilePathOnS3TextField);
   
    this.mainClassNameTextField = new XBayaTextField();
    XBayaLabel mainClassNameLabel = new XBayaLabel("Main Class Name",
        this.mainClassNameTextField);
   
    this.accessKeyIDTextField.setText("AKIAI3GNMQVYA5LSQNEQ");
    this.secretAccessKeyTextField.setText("CcdJtCELevu03nIsyho6bb0pZv6aRi034OoXFYWl");
    this.keyPairNameTextField.setText("XbayaHadoopTest");
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.