com.ibm.portal.theme.plugin
Interface ThemeContent
- All Superinterfaces:
- com.ibm.portal.ActiveFlag, org.eclipse.core.runtime.IExecutableExtension, Localized
- All Known Subinterfaces:
- ThemeInclude, ThemeItem, ThemeJspInclude, ThemeLinkItem, ThemeTextItem
- All Known Implementing Classes:
- DefaultThemeContent, DefaultThemeItem, DefaultThemeJspInclude, DefaultThemeLinkItem, DefaultThemeTextItem
public interface ThemeContent
- extends com.ibm.portal.ActiveFlag, org.eclipse.core.runtime.IExecutableExtension, Localized
A generic interface for theme content. ThemeContent
describes
any element which contributes content to the theme via a defined
extension point in the theme.
- Since:
- 6.0
- Note:
This interface is designed to be implemented by clients. |
Methods inherited from interface com.ibm.portal.ActiveFlag |
isActive |
Methods inherited from interface org.eclipse.core.runtime.IExecutableExtension |
setInitializationData |
init
void init(ThemeContext context)
throws ThemeExtensionInitException
- Initializes the
ThemeContent
object with the current
context.
- Parameters:
context
- the initialized current context
- Throws:
ThemeExtensionInitException
getOrdinal
int getOrdinal()
- Gets the ordinal value. If no value has been specified, this method
should return -1. The lower the value of the ordinal, the higher the
priority.
- Returns:
- the ordinal value or -1 as a default value