public class PreferenceInitializer extends AbstractPreferenceInitializer {
@Override
public void initializeDefaultPreferences() {
EditorPlugin plugin = EditorPlugin.getDefault();
IPreferenceStore store = plugin.getPreferenceStore();
String path = EditorPlugin.getDefault().getStateLocation().toFile().getAbsolutePath();
File file = new File(path+Path.SEPARATOR+"editors");
file.mkdirs();
path = file.getAbsolutePath();