@Override public void handle(final ActionEvent event) { operationList.getItems().removeAll(); for (String st : SoapUIUtil.getOperationName(wsdrlUrlTextField.getText().trim(), wireMockOptions)) { operationList.getItems().add(st); } for (String st : SoapUIUtil.getEndPoint(wsdrlUrlTextField.getText(), wireMockOptions)) { serviceEndPointUrl.setText(st); } }
@Override public void handle(final ActionEvent event) { @SuppressWarnings("unchecked") ComboBox<String> ls = (ComboBox<String>) event.getSource(); // ls.setCursor(new Cursor(Cursor.WAIT_CURSOR)); String selectedItem = ls.getSelectionModel().getSelectedItem(); System.out.println("The selected Item" + selectedItem); String str = wsdrlUrlTextField.getText(); requestTextArea.setText( SoapUIUtil.getServiceRequestString(str, selectedItem, wireMockOptions)); responseTextArea.setText( SoapUIUtil.getServiceResponseString(str, selectedItem, wireMockOptions)); }