All pastes #471056 Raw Edit

Anonymous

public java v1 · immutable
·published 2007-05-04 18:00 UTC
rendered paste body
/* * 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;}}