Package org.exoplatform.webui.ext
Class UIExtensionEventListener<T extends UIComponent>
java.lang.Object
org.exoplatform.webui.event.EventListener<T>
org.exoplatform.webui.ext.UIExtensionEventListener<T>
The event listener dedicated to UIExtension
Created by The eXo Platform SAS
Author : eXoPlatform
nicolas.filotto@exoplatform.com
May 05, 2009
-
Field Summary
Fields inherited from class org.exoplatform.webui.event.EventListener
RESULT_OK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(Event<T> event) Create the context from the given eventvoidprotected abstract StringGives the type of the extensionprotected abstract voidprocessEvent(Event<T> event) All the filters passed so in this method, we can process the event without checking anything
-
Constructor Details
-
UIExtensionEventListener
public UIExtensionEventListener()
-
-
Method Details
-
execute
- Specified by:
executein classEventListener<T extends UIComponent>- Throws:
Exception
-
processEvent
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
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
Gives the type of the extension- Returns:
- the type of the extension
-