Package com.iizix.event
Interface IPostEventProcessing
- All Known Implementing Classes:
- AssetEvent,- BubbleEvent,- CommonDesignerEvent,- GEvent,- JavaClassEvent,- JavaMethodEvent,- KStringEvent,- ParentCnrAddedEvent,- ParentCnrMoveEvent,- ParentCnrNameEvent,- PostProcessing,- ProjectNameEvent,- PropAttrEvent,- PropCnrEvent,- PropCnrFocusEvent,- PropCopyEvent,- PropDisposeEvent,- PropErrorAttrEvent,- PropFocusEvent,- PropMoveEvent,- PropNameEvent,- PropReorderEvent,- PropValueEvent,- QueryDesignerPropEvent,- QueryReferences,- RefreshEvent,- RemoteEvent,- ResolveReferencesEvent,- SinkEvent,- VSReferenceEvent
 - public interface IPostEventProcessingInterface for a post processing of events.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - void- addPostProcessor(EventListener postProcessor)Adds a post-event processor that will be called when the event has completed its notification process.- EventListener[]- getPostProcessors(GProp<?> dispatcher)Gets the post-processors.- void- setInitialProperty(GProp<?> initialDispatcher)Assigns the initial sender property that should perform post processing of events.
 
- Method Detail- addPostProcessor- void addPostProcessor(EventListener postProcessor) Adds a post-event processor that will be called when the event has completed its notification process. This method can be called at any time during the event notification phase, but calls to this method when post-processing is executing is not going to change the post-processors, thus will the- postProcessornot be called.- Note: the post-processors are called no matter if the event has been canceled, so the processor may have to check the cancel state. - Calling this method with the same - postProcessormore than once does not add it again.- Parameters:
- postProcessor- Processor to add.
- Throws:
- java.lang.NullPointerException- If the- postProcessoris null.
 
 - setInitialProperty- void setInitialProperty(GProp<?> initialDispatcher) Assigns the initial sender property that should perform post processing of events. This method should only be called from the initial GProp that sends the event the first time. This is done from the GProp.onEvent method and should not be called elsewhere.- Parameters:
- initialDispatcher- The initial dispatcher.
 
 - getPostProcessors- EventListener[] getPostProcessors(GProp<?> dispatcher) Gets the post-processors.- Parameters:
- dispatcher- The property retrieving the post-processors, null for none.
- Returns:
- An array of the post-processors to call after all normal event notification, null for none.