|
Re: Manipulating Working Sets - beginner's questions [message #667704 is a reply to message #667701] |
Sun, 01 May 2011 10:38  |
Eclipse User |
|
|
|
For the next question first some context information. I want to create a plugin that manages a generated file that contains project references and working set specifications.
This is somewhat like a solution (~Visual Studio).
When changing sources, particularly, CMake configuration files this 'solution' file can change. So, I want to control working sets and the selected working set automatically.
I found out how to create WorkingSets programmatically and how to change the Window Working Set.
Now, there is one setting remaining I can not control yet.
[Q 2] How can I set ' Select Working Set...'/'Window Working Set' (Radio) programmatically?
I currently use
window.getWorkbench().getActiveWorkbenchWindow().getActivePage().setWorkingSets(myWorkingSets);
projExplorer.setRootMode(ProjectExplorer.WORKING_SETS);
|
|
|
Powered by
FUDForum. Page generated in 0.03150 seconds