The VMDeleteCtx is a DeleteCtx with specializations for use
in the virtual machine. A DeleteCtx is the context for an
executed delete operation. It defines the delete operation
that was executed, what frame executed the operation and
defines what element(s) was/were marked for deletion.
handleDiscreteEvent(gov.nasa.arc.brahms.vm.events.DiscreteEvent evt)
Process the specified discrete event.
boolean
handleDiscreteEvent(gov.nasa.arc.brahms.vm.events.DiscreteEvent evt,
gov.nasa.arc.brahms.vm.events.IDiscreteEventHandlerFactory ehf)
Handles the specified discrete event by selecting the appropriate
event handler from the specified event handler factory.
protected void
onExecute(gov.nasa.arc.brahms.vm.events.DiscreteEvent evt)
Executes the delete operation
Methods inherited from class gov.nasa.arc.brahms.common.rt.DeleteCtx
public boolean handleDiscreteEvent(gov.nasa.arc.brahms.vm.events.DiscreteEvent evt,
gov.nasa.arc.brahms.vm.events.IDiscreteEventHandlerFactory ehf)
Handles the specified discrete event by selecting the appropriate
event handler from the specified event handler factory. The specified
event contains as its data the object implementing this interface.
The following should be the case: evt.getData() == this
Specified by:
handleDiscreteEvent in interface gov.nasa.arc.brahms.vm.events.IDiscreteEventData
Parameters:
evt - the DiscreteEvent to be handled
ehf - the EventHandlerFactory containing handlers from which this
DiscreteEventData selects the appropriate handler
Returns:
boolean true if the event could be processed, false if not
handleDiscreteEvent
public boolean handleDiscreteEvent(gov.nasa.arc.brahms.vm.events.DiscreteEvent evt)
Process the specified discrete event.
Specified by:
handleDiscreteEvent in interface gov.nasa.arc.brahms.vm.events.IDiscreteEventHandler
Parameters:
evt - the DiscreteEvent to be processed.
Returns:
boolean true if the event could be processed, false if not