Bug 130495 Get rid of SessionHandleAdapter
Now, we use SessionHandleAdapter to keep current active report deisng. That's a bad practive for editor swith and rebuild will cuase lots of problmes. Need find way to replace it.
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/SessionHandleAdapter.java
throws DesignFileException
	{
		if ( getReportDesignHandle( ) != null
				&& fileName.equalsIgnoreCase( getReportDesignHandle( ).getFileName( ) ) )
		{
			return;
		}
		init( fileName, input, type, true );
	}
	public void init( String fileName, InputStream input, int type,
			boolean reLoad ) throws DesignFileException
	{
		try
		{
			ModuleHandle handle = null;
			if ( type == DESIGNEFILE || type == TEMPLATEFILE )
			{
				handle = getSessionHandle( ).openDesign( fileName, input );
			}
			else if ( type == LIBRARYFILE )
			{
				handle = getSessionHandle( ).openLibrary( fileName );
			}
			else
			{
				throw new RuntimeException( "Not support this type of file" );
			}
			postInit( handle );
			designHandleAdapter = new ReportDesignHandleAdapter( handle );
		}