com.jwebmp.plugins.skycons.SkyconFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-skycons Show documentation
Show all versions of jwebmp-skycons Show documentation
The JWebMP implementation for SkyCons
The newest version!
package com.jwebmp.plugins.skycons;
import com.jwebmp.core.Feature;
/**
* The actual feature for the given component
*/
public class SkyconFeature
extends Feature
{
public SkyconFeature(Skycon> component)
{
super("SkyconFeature", component);
setSortOrder(Integer.MAX_VALUE - 100);
}
@Override
protected void assignFunctionsToComponent()
{
addQuery("skycons.add(\"" + getComponent().getID() + "\", '" + getComponent().getIcon() + "');");
}
@Override
public Skycon> getComponent()
{
return (Skycon) super.getComponent();
}
public Feature setComponent(Skycon> component)
{
return super.setComponent(component);
}
}