使用方法:
PrefUtil.getAPIPreferenceStore().setValue(name, val);
PrefUtil.getAPIPreferenceStore().getString(name);
存放路径目录结构
---workspace1
|-------.metadata
|-------workspace2
|-------.metadata
|-------我使用的工程文件夹
|-------runtime-easy.app.product
|----------.metadata
这样从第一个父工作空间到子工作空间总共3个.metadata。
切记我们要存的内容在插件运行时环境中的.metadata/.plugins/org.eclipse.core.runtime/.settings目录下的org.eclipse.ui.prefs文件
即-runtime-easy.app.product目录下的.metadata里面