private void updateTableDetails( final ProjectDetailsDto projectDetailsDto, final TableEntry tableEntry, final String value) { String key = tableEntry.getElementName(); System.out.println(key + "value : " + value); if (PROJECT_NAME.equals(key)) { projectDetailsDto.setProjectName(value); changeRootNodeName(value); } else if (PROJECT_SHORT_NAME.equals(key)) { projectDetailsDto.setProjectShortName(value); } else if (PROJECT_DETAILS.equals(key)) { projectDetailsDto.setProjectDescription(value); } CommonUiActions.projectChanged(); }
private void updateTableDetails( final SoapServiceVirtualizeDto srv, final TableEntry tableEntry, final String value) { String key = tableEntry.getElementName(); System.out.println(key + "value : " + value); if (VIRTUAL_NAME.equals(key)) { srv.setSoapServiceVirtualizeName(value); changeTabTitle(value, srv.getSoapVirtualReferenceId()); changeProjectPanelNodeName(srv.getSoapVirtualReferenceId(), value); } else if (RESPONSE_DELAY.equals(key)) { srv.getResponseStub().setFixedDelayMilliseconds(Integer.parseInt(value)); } else if (PRIORITY.equals(key)) { srv.getRequesStub().setPriority(Integer.parseInt(value)); } CommonUiActions.projectChanged(); }