/* * jbossddPaletteFactory.java * * Created on 04 May 2007, 18:16 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package org.netbeans.modules.jbosswebxml.palette; import org.netbeans.spi.palette.PaletteController; /** * * @author William */ public class jbossddPaletteFactory { public static final String JBOSS_PALETTE_FOLDER = "JBOSSPalette"; private static PaletteController palette = null; public static PaletteController getPalette() throws IOException(){ if(palette == null){ palette = PaletteFactory.createPalette(JBOSS_PALETTE_FOLDER, new jbossddPaletteActions()); } return palette; } }