VIF Skins

The VIF application leverages the OSGi declarative service (DS) functionality for skinning. VIF skins are OSGi services that implement the org.hip.vif.web.interfaces.ISkin interface.

In addition, you have to create a Vaadin theme, i.e. a OSGi fragment bundle for the host plug-in com.vaadin.

ISkin interface

String getSkinID()
The skin bundle's ID, i.e. symbolic name, e.g. com.my.skin. The skin ID must be the name of the Vaadin theme you provide in your theme host bundle.
String getSkinName()
the name of the skin, displayed in the skin select view
String getWelcomeForum()
welcome title for the application's forum part
String getWelcomeAdmin()
welcome title for the application's admin part
com.vaadin.ui.Component getHeader()
creates the skin's header component
com.vaadin.ui.Component getFooter()
creates the skin's footer component

After installing the two bundles, your new skin will be displayed in the list of available skins in the application's administration part.