bug TDI-23383 fixed : Merge reference project can not work

git-svn-id: http://talendforge.org/svn/tos/trunk@93012 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
wchen
2012-10-30 10:06:21 +00:00
parent 119d11621d
commit eb35ccccca
3 changed files with 12 additions and 2 deletions

View File

@@ -50,6 +50,16 @@ public final class RepositoryManager {
return CoreRuntimePlugin.getInstance().getDesignerCoreService().getDesignerCorePreferenceStore();
}
/**
*
* DOC wchen DesignerCorePreference disappear in some case ,so i change to use repository preference store.
*
* @return
*/
public static IPreferenceStore getRepositoryPreferenceStore() {
return CoreRuntimePlugin.getInstance().getRepositoryService().getRepositoryPreferenceStore();
}
public static boolean isRefreshManually() {
return getPreferenceStore().getBoolean(IRepositoryPrefConstants.MANUALLY_REFRESH);
}