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
if ( !applicationsStarted )
		{
			
			return;
		}
		AppServerWrapper.getInstance( ).getAppServer( ).stop( webappName );
	}
	/**
	 * Returns the port number the app server listens on.
	 * 
	 * @return integer port number, 0 if server not started
	 */
	public static int getPort( )
	{
		try
		{
			return AppServerWrapper.getInstance( ).getAppServer( ).getPort( );
		}
		catch ( CoreException e )
		{
			return 0;
		}
	}
	/**
	 * Returns the host name or ip the app server runs on.
	 * 
	 * @return String representaion of host name of IP, null if server not
	 *         started yet
	 */
	public static String getHost( )