}
public void run(IAction action) {
if (selected != null && window != null) {
Shell parent = JavaPlugin.getActiveWorkbenchShell();
dialog = new RooInplaceDialog(parent);
dialog.setSelectedProject(selected);
dialog.setWorkbenchPart(JavaPlugin.getActiveWorkbenchWindow().getActivePage().getActivePart());
dialog.open();
}
}