com.ibm.portal.theme.plugin
Interface ThemeContext
- All Superinterfaces:
- Identifiable, org.eclipse.core.runtime.IExecutableExtension
-
public interface ThemeContext
- extends Identifiable, org.eclipse.core.runtime.IExecutableExtension
Describes the current theme context. This interface formalizes
the current context for a specific ThemeContent. An extension
can declare a custom context in the plugin.xml file by including the
context attribute in the markup describing the
extension.
- Since:
- 6.0
- Note:
This interface is designed to be implemented by clients. |
Method Summary
|
javax.servlet.http.HttpServletRequest |
getRequest()
|
javax.servlet.http.HttpServletResponse |
getResponse()
|
void |
initContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initialize the context with the necessary information. |
Methods inherited from interface org.eclipse.core.runtime.IExecutableExtension
|
setInitializationData |
initContext
void initContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws ThemeExtensionInitException
- Initialize the context with the necessary information.
- Parameters:
- request - the current request
- response - the current response
- Throws:
- ThemeExtensionInitException
getRequest
javax.servlet.http.HttpServletRequest getRequest()
getResponse
javax.servlet.http.HttpServletResponse getResponse()