Set Eclipse "Refresh using native hooks or polling" to true through java code? -
is there way set "preferences -> general -> workspace -> refresh using native hooks or polling" true through java code? i'm developing eclipse plugin changes resources lot , therefore, projects out of sync.
found answer:
ieclipsepreferences prefs = instancescope.instance.getnode("org.eclipse.core.resources"); prefs.putboolean(resourcesplugin.pref_auto_refresh, true); prefs.flush();
thanks all.
Comments
Post a Comment