|Automaticlly Updates pref checkbox default enable [message #554695]
||Tue, 24 August 2010 06:39
Registered: July 2010
Does anyone know how to make "Automaticlly Updates" in preferences defaultly on? It's off by default. I searched the codes and found that the pref is managed by class " org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUp datesPreferencePage ", and the pref key was org.eclipse.equinox.internal.p2.ui.sdk.scheduler.PreferenceC onstants.PREF_AUTO_UPDATE_ENABLED. I could use hard codes to make it true when the bundle is started.|
However this plugin is early-startup, the codes must be under the IApplication.start(), sometimes this method isn't accessible when developing based on plugins. Does anyone know a better way to finish this, like modifying the eclipse style using "org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS = true" in the "plugin_customization.ini" file?
And I wrote these codes in the plugin_customization.ini:
# automatic update options are defined in org.eclipse.equinox.p2.sdk.scheduler.PreferenceConstants
# check for updates on startup
# remind the user every 4 hours
# see AutomaticUpdatesPopup, values can be "30 minutes", "Hour", "4 Hours"
# download updates before notifying the user
However, it desn't work. Anyone knows a solution?
I'm using e3.5.
[Updated on: Tue, 24 August 2010 06:51]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01797 seconds