Object value = getValue();
if ( value != null && value instanceof ACIItemValueWithContext )
{
ACIItemValueWithContext context = (ACIItemValueWithContext)value;
ACIItemDialog dialog = new ACIItemDialog( shell, context );
if ( dialog.open() == ACIItemDialog.OK && !"".equals( dialog.getACIItemValue() ) ) //$NON-NLS-1$
{
setValue( dialog.getACIItemValue() );
return true;
}
}
return false;
}