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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -