public interface SkinAction extends Action
Page
#PAGE_TYPE_* constants) in the context attribute "page-type".
Actions are recommended to have an "ID" value, in which case a hidden 'div'
section is included with all dynamic attributes set on the action.
Scripts and style sheets that are set by the action factory are included as
usual. Since 'favicon' can't be modified via css this is the only other
property that is included in this interface. Note that the first extension
that sets a favicon "wins".Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFavicon()
Get the full path to a favicon for the BASE site.
|
java.lang.String |
getId()
Get the ID of the extension.
|
void |
remapImages(ImageRemapper mapper)
Remap images to another location.
|
java.lang.String getId()
DynamicActionAttributes
interface).java.lang.String getFavicon()
void remapImages(ImageRemapper mapper)
ImageRemapper.map(String, String)
to re-map an image from a source location to a destination location. Note that
this method is not called on every use of the skin, but only after
something has changed due to installation/uninstallation or enabling/disabled
skins. The re-mapped images are then cached.