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.ui.ide/src/org/eclipse/birt/report/designer/ui/editors/IDEMultiPageReportEditor.java
}
		super.dispose( );
	}
	/**
	 * Deletes all markers
	 * 
	 * @throws CoreException
	 */
	protected void clearMarkers( ) throws CoreException
	{
		IResource resource = getFile( getEditorInput( ) );
		if ( resource.exists( ) )
		{
			resource.deleteMarkers( IMarker.PROBLEM, true, IResource.DEPTH_ONE );
		}
	}
	public Object getAdapter( Class type )
	{
		if ( type == IReportProvider.class && isWorkspaceResource )
		{
			return FileReportProvider.getInstance( );
		}
		if ( type == ILibraryProvider.class )
		{
			return new LibraryProvider();
		}
		return super.getAdapter( type );
	}
}