Skip to main content



      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 07:39 Go to next message
Eclipse UserFriend
Hi,

I'd like to programatically set

Windows->Preferences->General->Workspace->Refresh automatically
and
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 08:09 Go to previous message
Eclipse UserFriend
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).

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:Eclipse Automated Tests 3.6
Next Topic:can we integrate dreamweaver with eclipse like we do in netbeans?
Goto Forum:
  


Current Time: Tue Jul 22 20:15:27 EDT 2025

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

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

Back to the top