new StructuredSelection( vdEvent.getDeletedValue().getAttribute().getValues()[0] ), true );
}
}
else if ( event instanceof EmptyValueAddedEvent )
{
EmptyValueAddedEvent evaEvent = ( EmptyValueAddedEvent ) event;
// show operational attributes if an operational attribute was added
if ( evaEvent.getAddedValue().getAttribute().isOperationalAttribute()
&& !BrowserCommonActivator.getDefault().getPreferenceStore().getBoolean(
BrowserCommonConstants.PREFERENCE_ENTRYEDITOR_SHOW_OPERATIONAL_ATTRIBUTES ) )
{
BrowserCommonActivator.getDefault().getPreferenceStore().setValue(
BrowserCommonConstants.PREFERENCE_ENTRYEDITOR_SHOW_OPERATIONAL_ATTRIBUTES, true );
}
// select the added value and start editing
viewer.setSelection( new StructuredSelection( evaEvent.getAddedValue() ), true );
if ( startEditAction.isEnabled() )
{
startEditAction.run();
}
}