Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Automaticlly Updates pref checkbox default enable
Automaticlly Updates pref checkbox default enable [message #554695] Tue, 24 August 2010 06:39
salever  is currently offline salever Friend
Messages: 3
Registered: July 2010
Junior Member
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
org.eclipse.equinox.p2.ui.sdk.scheduler/remindOnSchedule=tru e
# see AutomaticUpdatesPopup, values can be "30 minutes", "Hour", "4 Hours"
org.eclipse.equinox.p2.ui.sdk.scheduler/remindElapsedTime=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

Previous Topic:Resource loading with HttpService
Next Topic:Re: Product extensions in Eclipse 3.6
Goto Forum:

Current Time: Tue Apr 24 05:19:41 GMT 2018

Powered by FUDForum. Page generated in 0.01797 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software