prefStore.setValue(PreferenceConstants.RETRIEVED_CLASSPATH_TYPES,
retrieveSetup.getRetrieveTypes());
}
public MappingSetup getMappingSetup() {
MappingSetup setup = new MappingSetup();
setup.setSourceTypes(IvyClasspathUtil.split(prefStore
.getString(PreferenceConstants.SOURCES_TYPES)));
setup.setJavadocTypes(IvyClasspathUtil.split(prefStore
.getString(PreferenceConstants.JAVADOC_TYPES)));
setup.setSourceSuffixes(IvyClasspathUtil.split(prefStore
.getString(PreferenceConstants.SOURCES_SUFFIXES)));
setup.setJavadocSuffixes(IvyClasspathUtil.split(prefStore
.getString(PreferenceConstants.JAVADOC_SUFFIXES)));
setup.setMapIfOnlyOneSource(prefStore
.getBoolean(PreferenceConstants.MAP_IF_ONLY_ONE_SOURCE));
setup.setMapIfOnlyOneJavadoc(prefStore
.getBoolean(PreferenceConstants.MAP_IF_ONLY_ONE_JAVADOC));
return setup;
}