protected boolean openDialog( Shell shell )
{
Object value = getValue();
if ( value != null && value instanceof String )
{
AddressDialog dialog = new AddressDialog( shell, ( String ) value );
if ( dialog.open() == TextDialog.OK && !"".equals( dialog.getText() ) )
{
setValue( dialog.getText() );
return true;
}
}
return false;
}