recentWorkspacesMenu.getItem( recentWorkspacesMenu.getItemCount() - 1 ).setEnabled( true );
System.out.println( recentWorkspacesMenu.getItem( recentWorkspacesMenu.getItemCount() - 1 ).getText() );
String recent = SoapUI.getSettings().getString( RECENT_WORKSPACES_SETTING, null );
StringToStringMap history = recent == null ? new StringToStringMap() : StringToStringMap.fromXml( recent );
history.put( filePath, workspace.getName() );
SoapUI.getSettings().setString( RECENT_WORKSPACES_SETTING, history.toXml() );
if( isEmptyMarker( recentWorkspacesMenu.getItem( 0 ) ) )
recentWorkspacesMenu.remove( 0 );
recentEditorsMenu.removeAll();