Bug 193231 RCP designer does not display Preview tab and View menu.
On RCP designer, Preview tab is missing and View Report menus. Please check the attached screen shot for detail.
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebappAccessor.java
new Object[]{pluginId} ), null ) );
		}
		
		
		URL webappURL = Platform.find( bundle, path );
		if ( webappURL == null )
		{
			throw new CoreException( new Status( IStatus.ERROR,
					ViewerPlugin.PLUGIN_ID, IStatus.OK,
					ViewerPlugin.getFormattedResourceString(
							"viewer.appserver.cannotfindpath", 
							new Object[]{pluginId, path.toOSString( )} ), null ) );
		}
		try
		{
			String webappLocation = Platform.asLocalURL(
					Platform.resolve( webappURL ) ).getFile( );
			webappLocation += "birt/"; 
			return new Path( webappLocation );
		}
		catch ( IOException ioe )
		{
			throw new CoreException( new Status( IStatus.ERROR,
					ViewerPlugin.PLUGIN_ID, IStatus.OK,
					ViewerPlugin.getFormattedResourceString(
							"viewer.appserver.cannotresolvepath", 
							new Object[]{pluginId, path.toOSString( )} ), ioe ) );
		}
	}
}