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

wicket.extensions.markup.html.form.palette.PaletteInitializer Maven / Gradle / Ivy

/*
 * $Id: PaletteInitializer.java 4268 2006-02-10 06:57:04Z ivaynberg $
 * $Revision: 4268 $ $Date: 2006-02-10 07:57:04 +0100 (Fri, 10 Feb 2006) $
 * 
 * ==============================================================================
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package wicket.extensions.markup.html.form.palette;

import wicket.Application;
import wicket.IInitializer;
import wicket.markup.html.PackageResource;

/**
 * Initializes palette-related resources
 * @see IInitializer
 * @author Igor Vaynberg ( ivaynberg )
 *
 */
public class PaletteInitializer implements IInitializer
{

	/** 
	 * @see wicket.IInitializer#init(wicket.Application)
	 */
	public void init(Application application)
	{
		PackageResource.bind(application, Palette.class, "palette.js");
		PackageResource.bind(application, Palette.class, "add.gif");
		PackageResource.bind(application, Palette.class, "remove.gif");
		PackageResource.bind(application, Palette.class, "up.gif");
		PackageResource.bind(application, Palette.class, "down.gif");
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy