Bug 316674 Refactor data set editor pages' codes[26569]
Build Identifier: 20100610 Refactor data set editor pages' codes[26569]. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetEditor.java
{
		protected DataSetHandle ds = null;
		protected boolean itemModelChanged = true;
		protected boolean linkedParameterChanged = true;
		protected DataSetViewData[] savedItemModel = null;
		protected String savedQueryText = null;
		protected ClassLoader oldContextLoader = null;
		/**
		 * Start action
		 * 
		 * @param ds
		 *            model to be listened
		 */
		public void start( DataSetHandle dataSet, boolean needToFocusOnOutput )
		{
			assert dataSet != null;
			this.ds = dataSet;
			if ( ds instanceof OdaDataSetHandle )
				this.savedQueryText = ( (OdaDataSetHandle) ds ).getQueryText( );
			setContextLoader( dataSet );
			this.savedItemModel = DataSetProvider.getCurrentInstance( )
					.getCachedDataSetItemModel( ds , needToFocusOnOutput );
			this.ds.addListener( this );
		}
		/**
		 * 
		 * @param dataSet
		 */
		protected void setContextLoader( DataSetHandle dataSet )
		{