@Override protected void saveSettingsTo(NodeSettingsWO settings) throws InvalidSettingsException { config.setWpId(wpId.getText()); config.setWpKind(wpKind.getText()); config.setWpSelfLink(wpSelfLink.getText()); config.setWpAccountId(wpAccountId.getText()); config.setWpInternalWebPropertyId(wpInternalWebPropertyId.getText()); config.setWpName(wpName.getText()); config.setWpWebsiteUrl(wpWebsiteUrl.getText()); config.setWpLevel(wpLevel.getText()); config.setWpProfileCount(Integer.parseInt(wpProfileCount.getText())); config.setWpIndustryVertical((String) wpIndustryVertical.getSelectedItem()); config.setWpDefaultProfileId(Long.parseLong(wpDefaultProfileId.getText(), 10)); config.setWpPermissionsEffective(wpPermissionsEffective.getText()); config.setParentLinkType(parentLinkType.getText()); config.setParentLinkHref(parentLinkHref.getText()); config.setChildLinkType(childLinkType.getText()); config.setChildLinkHref(childLinkHref.getText()); config.save(settings); }