Package org.exoplatform.webui.ext
Class UIExtensionEventListener<T extends org.exoplatform.webui.core.UIComponent>
- java.lang.Object
-
- org.exoplatform.webui.event.EventListener<T>
-
- org.exoplatform.webui.ext.UIExtensionEventListener<T>
-
public abstract class UIExtensionEventListener<T extends org.exoplatform.webui.core.UIComponent> extends org.exoplatform.webui.event.EventListener<T>The event listener dedicated to UIExtension Created by The eXo Platform SAS Author : eXoPlatform nicolas.filotto@exoplatform.com May 05, 2009
-
-
Constructor Summary
Constructors Constructor Description UIExtensionEventListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Map<String,Object>createContext(org.exoplatform.webui.event.Event<T> event)Create the context from the given eventvoidexecute(org.exoplatform.webui.event.Event<T> event)protected abstract StringgetExtensionType()Gives the type of the extensionprotected abstract voidprocessEvent(org.exoplatform.webui.event.Event<T> event)All the filters passed so in this method, we can process the event without checking anything
-
-
-
Method Detail
-
processEvent
protected abstract void processEvent(org.exoplatform.webui.event.Event<T> event) throws Exception
All the filters passed so in this method, we can process the event without checking anything- Parameters:
event- the event to process- Throws:
Exception- if an exception occurs
-
createContext
protected abstract Map<String,Object> createContext(org.exoplatform.webui.event.Event<T> event) throws Exception
Create the context from the given event- Parameters:
event- the event to convert into a context- Returns:
- the context
- Throws:
Exception- if an exception occurs
-
getExtensionType
protected abstract String getExtensionType()
Gives the type of the extension- Returns:
- the type of the extension
-
-