{
@Override
protected void handleTypedEvent( final PropertyEvent event )
{
final PropertyDef property = event.property().definition();
final IEventAttachment attachment = (IEventAttachment) element();
if( property == org.eclipse.sapphire.samples.calendar.IEventAttachment.PROP_LOCAL_COPY_LOCATION )
{
attachment.getLocalCopyLocation().refresh();
}
else if( property == org.eclipse.sapphire.samples.calendar.IEventAttachment.PROP_PUBLIC_COPY_LOCATION )
{
attachment.getPublicCopyLocation().refresh();
}
}
};
this.base.attach( listener );