public class HGAtomRemoveRequestEvent extends HGAtomEvent
A HGAtomRemoveRequestEvent is triggered when an attempt is made to remove
an from HyperGraph, but before the removal process proceeds. This event gives a chance to
an application to cancel the removal of an atom. A listener to this event may return
the
HGListener.Result.cancel
code which will prevent the removal from happening.
On the other hand, if an application needs to perform some action as a result to an already
completed removal, the application should then listen to the HGAtomRemovedEvent
.
Constructor and Description |
---|
HGAtomRemoveRequestEvent(HGHandle handle)
Construct a new
HGAtomRemoveRequestEvent for the
given atom. |
public HGAtomRemoveRequestEvent(HGHandle handle)
Construct a new HGAtomRemoveRequestEvent
for the
given atom.
handle
- The HGHandle
of the atom.Copyright © 2015. All rights reserved.