|
|
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 Messages: 153 Registered: November 2010 |
Senior Member |
|
|
Hi Paul,
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,
|
|
|
Re: How to change the view from Projects to Working Sets programmatically? [message #666547 is a reply to message #666097] |
Wed, 20 April 2011 20:37 |
|
On 4/19/2011 2:43 AM, Kivanc Muslu wrote:
> I want to change the view of the user from projects to working sets
> programmatically. This way some of the extra projects I create for my
> plug-in will not be directly visible to the user.
> Is this possible?
You might want to rethink why you need those projects. I wouldn't want
the view settings changed on me as a user.
--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04160 seconds