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

net.sourceforge.squirrel_sql.plugins.laf.DefaultLookAndFeelController Maven / Gradle / Ivy

Go to download

This plugin gives SQuirreLSQL client the ability to configure alternate LaFs provided by the plugin as well as others that the user can provide. All dependencies listed with a groupId of net.sf.squirrel-sql and artifactId starting with squirrelsql-lf- are externally available open-source look and feels whose project maintainers have decided to not use maven, or those which were built and maintained only before the introduction of maven. Maven's central repository policy requires any pom that is deployed there to reference only artifacts which are also hosted in central. And a project may only use the groupId that is related to that project. So, this only leaves us with one option which is to host these external third-party artifacts using our groupId. The hope is that someday these projects will start using maven and the need for this will no longer be.

There is a newer version: 3.5.0
Show newest version
package net.sourceforge.squirrel_sql.plugins.laf;
/*
 * Copyright (C) 2002-2006 Colin Bell
 * [email protected]
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
import javax.swing.LookAndFeel;
/**
 * Behaviour of a look and feel that has no special behaviour.
 *
 * @author  Colin Bell
 */
class DefaultLookAndFeelController implements ILookAndFeelController
{
	/**
	 * Initialization.
	 */
	public void initialize()
	{
	}
	/**
	 * This Look and Feel is about to be installed.
	 */
	public void aboutToBeInstalled(LAFRegister lafRegister, LookAndFeel laf)
	{
	}
	/**
	 * This Look and Feel has just been installed.
	 */
	public void hasBeenInstalled(LAFRegister lafRegister, LookAndFeel laf)
	{
	}
	/**
	 * Assume that Look and Feel implementations don't require extra
	 * configuration so return null.
	 * 
	 * @return		null
	 */
	public BaseLAFPreferencesPanelComponent getPreferencesComponent()
	{
		return null;
	}
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy