if ( valueEditor instanceof AbstractDialogValueEditor )
{
AbstractDialogValueEditor cellEditor = ( AbstractDialogValueEditor ) valueEditor;
cellEditor.setValue( rawValue );
cellEditor.activate();
Object newValue = cellEditor.getValue();
if ( newValue != null && newValue instanceof String || newValue instanceof byte[] )
{
IDocument document = editor.getDocumentProvider().getDocument( editor.getEditorInput() );