Plugin LookAndFell

Mikaël Marche

LookAndFell is a plugin which makes it possible to change the appearance of Salome-TMF by using Java LookAndFeel.

Contents


Change the LAF

The plugin LookAndFell proposes several LookAndFeel available in opensource. To charge LookAndFeel installed beforehand, it should be selected in tool menu "Tools->Modify the look and feel".

Image menuLAF


Install a LAF

The plugin LookAndFell enables you to install other LookAndFeel. for that, it is necessary to modify the file plugin.xml of the plugin to indicate the jar library of the LookAndFeel, for example

<?xml version="1.0" ?>
<!DOCTYPE plugin PUBLIC "-//JPF//Java Plug-in Manifest 0.2" "http://jpf.sourceforge.net/plugin_0_2.dtd">
<plugin id="lookAndfeel" version="1" class="salomeTMF_plug.lookAndfeel.LookAndFeelPlugin">
    <requires>
		<import plugin-id="core"/>
	</requires>
    
    <runtime>
                <library id="lookAndfeel" path="lookAndfeel/lookAndfeel.jar" type="code"/> 
                <!-- Add your laf library here -->
                <library id="Metouia" path="lookAndfeel/libs/Metouia.jar" type="code"/> 
	</runtime>
    
	<extension plugin-id="core" point-id="Common" id="lookAndfeel.Common">
		<parameter id="class" value="salomeTMF_plug.lookAndfeel.LookAndFeelPlugin"/>
		<parameter id="name" value="lookAndfeel"/>
		<parameter id="description" value="Plugin for change the laf of salome-tmf"/>
	</extension>
</plugin>
Then, it is necessary to modify the file laf.properties to indicate the name of the LookAndFeel, the systems compatible (Mac, Unix, Windows, All, for Linux use Unix), and the class of the LookAndFeel, for example:

Gtk=Unix:com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Liquid=Unix:com.birosoft.liquid.LiquidLookAndFeel
Metal=All:javax.swing.plaf.metal.MetalLookAndFeel
Motif=All:com.sun.java.swing.plaf.motif.MotifLookAndFeel
Windows=Windows:com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Compiere=All:org.compiere.plaf.CompiereLookAndFeel
JGoodies=All:
Goodies=Windows:com.jgoodies.looks.windows.WindowsLookAndFeel
GoodiesPlastic=All:com.jgoodies.looks.plastic.PlasticLookAndFeel
GoodiesPlastic3D=All:com.jgoodies.looks.plastic.Plastic3DLookAndFeel
GoodiesPlasticXP=Windows:com.jgoodies.looks.plastic.PlasticXPLookAndFeel
Metouia=All:net.sourceforge.mlf.metouia.MetouiaLookAndFeel
Napkin=All:napkin.NapkinLookAndFeel
OfficeXP=Windows:org.fife.plaf.Office2003.Office2003LookAndFeel
Pago=All:com.pagosoft.plaf.PgsLookAndFeel
Subtance=Windows:org.jvnet.substance.theme.SubstanceBrownTheme
Warning ! When loading a LookAndFeel, an Java security Exception may be raised. To solve this problem, you must sign the jar file which contains the classes of the LookAndFeel.

About this document ...

Plugin LookAndFell

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 1 -no_navigation -dir ../.././src_lookAndfeel/plugins/lookAndfeel/docs/html/en -no_footnode en/lookAndfeel.tex

The translation was initiated by on 2005-11-04


2005-11-04