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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -