Bug 319963 Refactor data set editor pages' codes[28800]
Build Identifier: 20100712 Refactor data set editor pages' codes[28800]. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetColumnPage.java
( (ITreeRefreshListener) iter.next( ) ).treeChanged( );
		}
	}
	protected void updateButtons( )
	{
		boolean upEnabled, downEnabled, deleteEnabled, editEnabled;
		upEnabled = downEnabled = deleteEnabled = editEnabled = false;
		if ( !columnTable.getSelection( ).isEmpty( ) )
		{
			ResultSetColumnModel model = getSelectedColumn( );
			int selectedIndex = columnList.indexOf( model );
			if ( selectedIndex != -1 )
			{
				upEnabled = ( selectedIndex != 0 );
				downEnabled = ( selectedIndex != columnList.size( ) - 1 );
				deleteEnabled = true;
				editEnabled = true;
			}
		}
		up.setEnabled( upEnabled );
		down.setEnabled( downEnabled );
		delete.setEnabled( deleteEnabled );
		edit.setEnabled( editEnabled );
	}
	/**
	 * make custom control accessible
	 * 
	 */
	void initAccessible( )
	{