All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jwebmp.plugins.skycons.SkyconFeature Maven / Gradle / Ivy

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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy