[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Programmatically importing Existing project into workspace

Hi

I am creating a cheat sheet where I want to automate the import existing project process (programmatically importing Existing project into workspace ). I am able to get the wizard and but not able to get all the options/the <b>Existing projects into workspace</b> option(Which is under General catagory) I am able to see only four options out of which 3 comes under Others catagory. The options are

1)Existing Websphere Studio 4.x clearcase project into workspace
2) HTTP
3)FTP
4)Project Interchange
 
The code is as follows, Please see the code and advice how I can get the <b>Existing project into workspace</b> option under General Catagory.


IWorkbench workbench = PlatformUI.getWorkbench();
Shell shell = workbench.getActiveWorkbenchWindow().getShell(); 
ImportWizard wizard = new ImportWizard();	 
wizard.init(workbench, new StructuredSelection());
WizardDialog dialog = new WizardDialog(shell, wizard); 
dialog.create();  
dialog.open();     

Thanks and Regards
Abinash