I am developing an Eclipse plugin which would create a new Java project and few classes inside it. Once the plugin wizard closes (after I click finish in the final page), i need the Project Properties window of this particular project to be opened automatically.
I must achieve that through code, any examples please?
I got the final answer. This is how it goes:
Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
MessageDialog.openInformation(shell, "Project Proeperties", "Properties window will open next");
String propertyPageId = "org.eclipse.jdt.ui.propertyPages.BuildPathsPropertyPage";
PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn(shell, iProject, propertyPageId, null, null);
dialog.open();