String filePath = ( ( WsdlProject )project ).getPath();
String recent = SoapUI.getSettings().getString( RECENT_PROJECTS_SETTING, null );
StringToStringMap history = recent == null ? new StringToStringMap() : StringToStringMap.fromXml( recent );
history.put( filePath, project.getName() );
SoapUI.getSettings().setString( RECENT_PROJECTS_SETTING, history.toXml() );
DefaultActionMapping<WorkspaceImpl> mapping = new DefaultActionMapping<WorkspaceImpl>(
ImportWsdlProjectAction.SOAPUI_ACTION_ID, null, null, false, filePath );
mapping.setName( project.getName() );
mapping.setDescription( "Switches to the [" + project.getName() + "] project" );