01: /*
02: * Copyright 2005-2008 Kirill Grouchnikov, based on work by
03: * Sun Microsystems, Inc. All rights reserved.
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation; either
08: * version 2.1 of the License, or (at your option) any later version.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library; if not, write to the Free Software
17: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18: */
19: package org.jvnet.substance.baseline;
20:
21: import org.jvnet.lafplugin.LafComponentPlugin;
22:
23: /**
24: * Substance plugin for <a href="https://swing-layout.dev.java.net">Swing Layout</a>
25: * baseline.
26: *
27: * @author Kirill Grouchnikov
28: */
29: public class SubstanceBaselinePlugin implements LafComponentPlugin {
30:
31: /**
32: * Creates a plugin instance.
33: */
34: public SubstanceBaselinePlugin() {
35: }
36:
37: public Object[] getDefaults(Object theme) {
38: Object[] defaults = new Object[] { "Baseline.instance",
39: new SubstanceBaseline() };
40:
41: return defaults;
42: }
43:
44: public void initialize() {
45: }
46:
47: public void uninitialize() {
48: }
49: }
|