allensoft.javacvs.client.ui.swing
Class CVSGUIBuilder
java.lang.Object
|
+--allensoft.javacvs.client.ui.swing.CVSGUIBuilder
- public class CVSGUIBuilder
- extends java.lang.Object
Builds GUI components from XML files. It will first look for a file in the user.home/.javacvs/name.xml
and if this fails it will try a file javacvs.home/lib/name.xml. If that fails too it will create the menus from a default
string that is provided.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CVSGUIBuilder
public CVSGUIBuilder()
buildToolBar
public static EnhancedToolBar buildToolBar(java.lang.String sName,
java.lang.String sDefault,
ActionPool actionPool)
buildMenuBar
public static javax.swing.JMenuBar buildMenuBar(java.lang.String sName,
java.lang.String sDefault,
ActionPool actionPool)
buildMenu
public static TearableMenu buildMenu(java.lang.String sName,
java.lang.String sDefault,
ActionPool actionPool)
getConfigurationFile
public static java.io.File getConfigurationFile(java.lang.String sName)
getDocument
public static org.w3c.dom.Document getDocument(java.lang.String sName,
java.lang.String sDefault)
- Gets the XML document for the supplied name.
writeConfigurationFile
public static void writeConfigurationFile(java.awt.Component component,
java.lang.String sName,
org.w3c.dom.Node document)