StructuredSelection selection = ( StructuredSelection ) indexedAttributesTableViewer.getSelection();
if ( !selection.isEmpty() )
{
IndexedAttribute indexedAttribute = ( IndexedAttribute ) selection.getFirstElement();
IndexedAttributeDialog dialog = new IndexedAttributeDialog( indexedAttribute );
if ( Dialog.OK == dialog.open() && dialog.isDirty() )
{
indexedAttributesTableViewer.refresh();
masterDetailsBlock.setEditorDirty();
dirty = true;
}