eclipse - Enable only Java working sets in IWorkingSetSelectionDialog -


i using iworkingsetselectiondialog created iworkingsetmanager. default, clicking on "new..." button in dialog asks user type of working set should created. restrict java working sets, in package explorer. know how achieved?

i think if use the:

public iworkingsetselectiondialog createworkingsetselectiondialog(         shell parentshell, boolean multi, string[] workingssetids) 

method , specify java working set id (org.eclipse.jdt.ui.javaworkingsetpage in final parameter:

new string [] {"org.eclipse.jdt.ui.javaworkingsetpage"} 

you want.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -