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
public boolean modelChanged( )
	{
		return this.itemModelManager.modelChanged( );
	}
	/**
	 * 
	 * @return
	 * @throws OdaException
	 */
	public DataSetDesign getCurrentDataSetDesign( ) throws OdaException
	{
		if ( m_designSession != null )
		{
			DesignSessionResponse response = m_designSession.flush( )
					.getResponse( );
			if ( response.getSessionStatus( ) != SessionStatus.OK_LITERAL )
				return null;
			DataSetDesign dataSetDesign = response.getDataSetDesign( );
			return dataSetDesign;
		}
		else
			return null;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.dialogs.Dialog#okPressed()
	 */
	protected void okPressed( )
	{