public JComponent getComponent() {
return mainPanel;
}
public void applyChanges() throws ConfigurationException {
DataEditorRecordNavigationSettings configuration = getConfiguration();
RecordNavigationTarget navigationTarget =
viewerRadioButton.isSelected() ? RecordNavigationTarget.VIEWER :
editorRadioButton.isSelected() ? RecordNavigationTarget.EDITOR :
askRadioButton.isSelected() ? RecordNavigationTarget.ASK :
RecordNavigationTarget.VIEWER;
configuration.setNavigationTarget(navigationTarget);
}