private void loadFromConf() {
ivyFilePathText.init(conf.ivyXmlPath);
confTableViewer.init(conf.confs);
IvyDEPreferenceStoreHelper helper = IvyPlugin.getPreferenceStoreHelper();
if (conf.isSettingsProjectSpecific()) {
settingsProjectSpecificButton.setSelection(true);
settingsEditor
.init(conf.ivySettingsPath, conf.propertyFiles, conf.loadSettingsOnDemand);
} else {
settingsProjectSpecificButton.setSelection(false);
settingsEditor.init(helper.getIvySettingsPath(), helper.getPropertyFiles(), helper
.getLoadSettingsOnDemand());
}
if (conf.isRetrieveProjectSpecific()) {
retrieveProjectSpecificButton.setSelection(true);
retrieveComposite.init(conf.doRetrieve, conf.retrievePattern, conf.retrieveConfs,
conf.retrieveTypes, conf.retrieveSync);
} else {
retrieveProjectSpecificButton.setSelection(false);
retrieveComposite.init(helper.getDoRetrieve(), helper.getRetrievePattern(), helper
.getRetrieveConfs(), helper.getRetrieveTypes(), helper.getRetrieveSync());
}
if (conf.isAdvancedProjectSpecific()) {
advancedProjectSpecificButton.setSelection(true);
acceptedSuffixesTypesComposite.init(conf.acceptedTypes, conf.sourceTypes,
conf.sourceSuffixes, conf.javadocTypes, conf.javadocSuffixes);
alphaOrderCheck.select(conf.alphaOrder ? 1 : 0);
resolveInWorkspaceCheck.setSelection(this.conf.resolveInWorkspace);
} else {
advancedProjectSpecificButton.setSelection(false);
acceptedSuffixesTypesComposite.init(helper.getAcceptedTypes(), helper.getSourceTypes(),
helper.getSourceSuffixes(), helper.getJavadocTypes(), helper.getJavadocSuffixes());
alphaOrderCheck.select(helper.isAlphOrder() ? 1 : 0);
resolveInWorkspaceCheck.setSelection(helper.isResolveInWorkspace());
}
updateFieldsStatusSettings();
updateFieldsStatusRetrieve();
updateFieldsStatusAdvanced();