The PlugIns used by JAXFront are listed in the JAXFront Preferences, under the Plug-in tab. Refer to chapter 3.6.3 in the XUIEditor Manual.
To let the XUIEditor find your plugin class, you need to add the compiled java class and all its dependent classes to the classpath of the starting XUIEditor. To do this, you need to copy your own jar (with all your plugin classes and dependencies) to the directory called "lib" under the JAXFront installation directory. Now you can edit the manifest file in the jaxfront-xuieditor.jar.
The file is located in the directory called "lib" in the JAXFront installation directory. Update the file /META-INF/MANIFEST.MF in the jaxfront-xuieditor.jar by adding your own jar(s) (e.q. myclasses.jar) where the plugin(s) are located.

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.1
Created-By: 1.4.2_03-b02 (Sun Microsystems Inc.)
Main-Class: com.jaxfront.xuieditor.XUIEditor
Class-Path: jaxfront-xuieditor.jar jaxfront-core.jar jaxfront-swing.ja
r jaxfront-html.jar jaxfront-pdf.jar xercesImpl.jar xml-apis.jar reso
lver.jar jimi.jar commons-logging.jar commons-collections.jar commons
-beanutils.jar log4j.jar jgoodiesLF.jar myclasses.jar
If you want to see your plugin listed in the XUIEditor plugin tab, you have to register the plugin class in the config/plugins.xml file.
To use your own plugin in the XUIEditor, please refer to chapter 3.4.2.5 in the XUIEditor Manual.

  • Keine Stichwörter