{
PasswordValueEditorRawValueWrapper wrapper = ( PasswordValueEditorRawValueWrapper ) value;
if ( wrapper.password != null && wrapper.password instanceof byte[] )
{
byte[] pw = ( byte[] ) wrapper.password;
PasswordDialog dialog = new PasswordDialog( shell, pw, wrapper.entry );
if ( dialog.open() == TextDialog.OK )
{
setValue( dialog.getNewPassword() );
return true;
}
}
}
return false;