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
Post a Comment