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
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 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).

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: Fri Apr 19 03:38:28 GMT 2024

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

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

Back to the top