Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to get identifiers of Workspace Preferences?
How to get identifiers of Workspace Preferences? [message #549290] Mon, 26 July 2010 11:39 Go to next message
Alex is currently offline AlexFriend
Messages: 114
Registered: June 2010
Senior Member

I'd like to programatically set

Windows->Preferences->General->Workspace->Refresh automatically
Windows->Preferences->General->Startup and Shutdown->Refresh workspace on startup

How do I get the identifiers for these two options?

For the workbench for example there are some constants in IWorkbenchPreferenceConstants. Is there something similar for the workspace?

And is it the right way to set these options via new InstanceScope().getNode(... ?

- Alex
Re: How to get identifiers of Workspace Preferences? [message #549311 is a reply to message #549290] Mon, 26 July 2010 12:09 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If you use Plug-in Spy (ALT+SHIFT+F1) on a preference page, it'll give
you its implementing class. Then you would need to map the preference
to the checkbox or combo (or whatever).


Paul Webster .platform.doc.isv/guide/workbench.htm

Previous Topic:@user.home does not resolve
Next Topic:can we integrate dreamweaver with eclipse like we do in netbeans?
Goto Forum:

Current Time: Tue May 22 18:02:37 GMT 2018

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

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

Back to the top