Hi In eclipse when we open:-
**File-Import-General-Existing Project into workspace then it prompt a import window. Where We have to select a Root project Directory(Browse)..so in this i want to hardcode the Browse path. By default it goes to workspace directory..but i want a fix path like.. C:\Tmp ..while click on browse button it should go to C:\Tmp directory....Can anyone help me in this.. how to do this i have tried setfilterpath() but it is not supporting in wizard case..i have done my code like this:
public class OpenImportWizardAction extends Action {
public void run() {
IWorkbench workbench = PlatformUI.getWorkbench();
Shell shell = workbench.getActiveWorkbenchWindow().getShell();
ExternalProjectImportWizard wizard= new ExternalProjectImportWizard();
wizard.init(workbench,new StructuredSelection());
WizardDialog dialog= new WizardDialog(shell, wizard);
dialog.create();
dialog.open();
}
}