|Re: How to change the view from Projects to Working Sets programmatically? [message #666274 is a reply to message #666175]
||Tue, 19 April 2011 17:17
| Kivanc Muslu
Registered: November 2010
Thanks for the suggestion. I tried using it, however for some reason it does not change the current view.
What I mean is the following: as you know the default view in Eclipse is that you see all the projects (even if the working sets exist, it is not the default view).This can be changed from the package explorer by hitting the down arrow (on the top right of package explorer) and then selecting Top Level Elements => Working Sets. This lets you to select the working sets you want to make visible and also changes the view.
What I need is to make this switch programmatically. In other words, I want to:
1- Detect whether the current view is working sets or projects.
2- If it is projects, change it to working sets.
3- If it is working sets, change it is projects (not need it, just to learn).
4- If a particular workspace (the one I created), is not visible (i.e., the user removed it), make it visible again.
How can I (or can I) do these?
Thanks, best regards,
Powered by FUDForum
. Page generated in 0.02153 seconds