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
* @see
	 * org.eclipse.jface.preference.IPreferencePageContainer#updateButtons()
	 */
	public void updateButtons( )
	{
		PropertyPage propertyPage = this.getCurrentPropertyPage( );
		if ( propertyPage != null && getOkButton( ) != null )
		{
			getOkButton( ).setEnabled( propertyPage.okToLeave( ) );
		}
	}
	
	public void updateOKButtonStatus( boolean isEnabled )
	{
		getOkButton( ).setEnabled( isEnabled );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.jface.preference.IPreferencePageContainer#updateMessage()
	 */
	public void updateMessage( )
	{
		PropertyPage propertyPage = getCurrentPropertyPage( );
		if ( propertyPage != null )
			setMessage( propertyPage.getMessage( ),
					propertyPage.getMessageType( ) );
	}
	/*