01: /*
02: * @(#)VsnetMetalLookAndFeel.java
03: *
04: * Copyright 2002 JIDE Software Inc. All rights reserved.
05: */
06: package com.jidesoft.plaf.eclipse;
07:
08: import javax.swing.*;
09: import javax.swing.plaf.metal.MetalLookAndFeel;
10:
11: /**
12: * MetalLookAndFeel with Eclipse extension
13: *
14: * @deprecated Due to the change in LookAndFeelFactory, this class is no longer needed.
15: * The best way to set any L&F is to use UIManager.setLookAndFeel() as usual. then call
16: * installJideExtension() or installJideExtension(int style) to add UIDefaults needed by JIDE products.
17: */
18: public class EclipseMetalLookAndFeel extends MetalLookAndFeel {
19: @Override
20: public String getName() {
21: return "Eclipse";
22: }
23:
24: @Override
25: public String getDescription() {
26: return "The Eclipse Look And Feel";
27: }
28:
29: @Override
30: public String getID() {
31: return "Eclipse";
32: }
33:
34: @Override
35: protected void initClassDefaults(UIDefaults table) {
36: super .initClassDefaults(table);
37: EclipseMetalUtils.initClassDefaults(table);
38: }
39:
40: @Override
41: protected void initComponentDefaults(UIDefaults table) {
42: super.initComponentDefaults(table);
43: EclipseMetalUtils.initComponentDefaults(table);
44: }
45: }
|