1 /* 2 * Created on Jun 1, 2006 2:06:48 PM 3 * Copyright (C) Azureus Software, Inc, All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * You should have received a copy of the GNU General Public License 14 * along with this program; if not, write to the Free Software 15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 16 */ 17 package com.aelitis.azureus.ui.swt.skin; 18 19 /** 20 * @author TuxPaper 21 * @created Jun 1, 2006 22 * 23 */ 24 public class SWTSkinFactory 25 { 26 public static SWTSkin getInstance()27 getInstance() 28 { 29 return( SWTSkin.getDefaultInstance()); 30 } 31 32 public static SWTSkin getNonPersistentInstance( ClassLoader classLoader, String skinPath, String mainSkinFile)33 getNonPersistentInstance( 34 ClassLoader classLoader, 35 String skinPath, 36 String mainSkinFile) 37 { 38 return new SWTSkin(classLoader, skinPath, mainSkinFile); 39 } 40 } 41