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.editors.schematic/src/org/eclipse/birt/report/designer/ui/editors/pages/ReportXMLSourceEditorFormPage.java
break;
				case 2 :
					return false;
			}
		}
		int errorLine = getErrorLIine( );
		if ( errorLine > -1 )
		{
			MessageDialog.openError( Display.getCurrent( ).getActiveShell( ),
					Messages.getString( "XMLSourcePage.Error.Dialog.title" ), 
					Messages.getString( "XMLSourcePage.Error.Dialog.Message.InvalidFile" ) ); 
			setFocus( );
			setHighlightLine( errorLine );
			return false;
		}
		return true;
	}
	private void setHighlightLine( int errorLine )
	{
		try
		{
			IRegion region = getDocumentProvider( ).getDocument( getEditorInput( ) )
					.getLineInformation( errorLine );
			setHighlightRange( region.getOffset( ), region.getLength( ), true );
		}
		catch ( BadLocationException e )
		{
		}
	}
	/*