| Home >> All >> org >> merlotxml >> [ merlot Javadoc ] |
| | org.merlotxml.merlot.appicons.* (1) | | org.merlotxml.merlot.icons.* (1) | | org.merlotxml.merlot.plugin.* (26) |
| | org.merlotxml.merlot.plugins.* (8) |
org.merlotxml.merlot: Javadoc index of package org.merlotxml.merlot.
Package Samples:
org.merlotxml.merlot.plugins.action.configeditor
org.merlotxml.merlot.plugins.configeditor
org.merlotxml.merlot.appicons
org.merlotxml.merlot.plugin.dtd
org.merlotxml.merlot.plugin.action
org.merlotxml.merlot.plugin
org.merlotxml.merlot.icons
Classes:
XMLEditorFrame: The main frame for the application. This sets up the menus and toolbars. This also manages the internal frames via the JDesktopPane. It is a singleton instance class similar to XMLEditor. You get the singleton instance with the getSharedInstance() method. Methods of interest in this class are the addInternalFrame() methods for displaying a JInternalFrame within this main frame. This class also includes some of the main operation methods which are called by their cooresponding Action in XMLEditorActions. These include quit(), newFile(), openFile(), revert(), save(), saveAs(), cut(), copy(), paste() ...
PluginClassLoader: This classloader loads plugin classes and resources from merlot plugin jar files or plugin development directories. When loading a class or a resource from a jar file, it first looks in the jar directly (as the normal class loader does), then it checks the classes directory, and lastly, it checks for embedded jar files located in a lib directory within the plugin jar file. To load classes and resource from embedded jar files, the PluginClassLoader must write out jars in the lib directory to a temporary location to be used by ZipFile.
XMLEditor: This is the main class for Merlot. It provides the entry point to the application with the main static method. This starts by loading up the XMLEditorSettings which handles parsing the command line options, and reading in the application properties files. Next, this loads plugins via the PluginManager, and finally it initializes and opens up the main XMLEditorFrame. XMLEditor is a Singleton class. Use getSharedInstance to get the singleton instance of this class.
MerlotDOMEditor: This is an interface which every Node editor panel must implement. Node editors provide a way to change information contained in a DOM node within an xml file. This includes special menu items to add to the right-click popup menu and an editing panel to change attributes and sub-nodes. DOMEditors can also specify what types of nodes should not show up in the tree view (this functionality may move into the plugin classes instead of here... it doesn't really belong here.)
ConfigEditorCfgPanel: This is a generic node editing panel which provides a component for each attribute listed with the element it's created to edit, along with a text box for PCDATA. This class can be extended to change what the user sees for each attribute field. Typically the easiest methods to overload for this type of custom editors are getEditComponent() and sometimes save().
ConfigEditorRecordPanel: This is a generic node editing panel which provides a component for each attribute listed with the element it's created to edit, along with a text box for PCDATA. This class can be extended to change what the user sees for each attribute field. Typically the easiest methods to overload for this type of custom editors are getEditComponent() and sometimes save().
GenericDOMEditPanel: This is a generic node editing panel which provides a component for each attribute listed with the element it's created to edit, along with a text box for PCDATA. This class can be extended to change what the user sees for each attribute field. Typically the easiest methods to overload for this type of custom editors are getEditComponent() and sometimes save().
CommentEditPanel: This is a generic node editing panel which provides a component for each attribute listed with the element it's created to edit, along with a text box for PCDATA. This class can be extended to change what the user sees for each attribute field. Typically the easiest methods to overload for this type of custom editors are getEditComponent() and sometimes save().
DNDJScrollPane: JScrollPane that delegates drag and drop events to it's viewport component if the viewport supports drag and drop. This is usefull for things like tables or trees that might not fill their scrollpane, but you still want to be able to drop stuff within the full pane and have it go to the component. XXX I don't thinks this works currently
MerlotTransferableListener: This interface allows for certain operations like cut, copy, paste, etc. to be performed at the top level (the XMLEditorFrame) and be passed on to the correct internal frame that needs to handle it. This is so we don't have a myriad of actions to enable/disable when the all do basically the same thing.
MerlotEditorFactory: Factory singleton to get editors for particular types of nodes and elements. This is the class that gets editor panels from plugins for whatever element type they want to handle. otherwise, this produces a generic Xml component editor
MerlotDOMDocument: DOM document container for Merlot. Contains a DOM node, handles getting an icon for a particular node, getting the editor for a node, etc. Also implements transferable so that the node can be drag and dropped, or cut and pasted.
MerlotDOMDoctype: DOM document container for Merlot. Contains a DOM node, handles getting an icon for a particular node, getting the editor for a node, etc. Also implements transferable so that the node can be drag and dropped, or cut and pasted.
MerlotDOMElement: DOM element container for Merlot. Contains a DOM node, handles getting an icon for a particular node, getting the editor for a node, etc. Also implements transferable so that the node can be drag and dropped, or cut and pasted.
MerlotDOMNode: DOM node container for Merlot. Contains a DOM node, handles getting an icon for a particular node, getting the editor for a node, etc. Also implements transferable so that the node can be drag and dropped, or cut and pasted.
XMLFile: An XML file. This provides an internface into a particular XML file, including its dtd and its file location. It provides methods for loading and parsing a file, saving a file, and accessing the content model in the dtd.
ActionPluginConfig: Merlot Action Plugin Configuration An action plugin can contain multiple actions. Similarly, an action plugin config can contain multiple action configs.
MerlotNodeRenderer: This is a special encapsulation of a DOM Node because we need to override the toString() method to return the proper representation for the JTreeTable.
XMLEditorDoc: XMLEditorDoc contains information and classes for a single XML file. It provides the actions for a specific document such as cut, copy, paste.
MerlotNodeListener: This interface provides a listener pattern for things that want to observe the DOM object model and be notified of changes in that.
MerlotOptionPane: Special wrapper interface to JOptionPane that allows this to make the parent frame grab focus after the option pane goes away.
PluginManager: Merlot Plugin Manager Responsible for locating and loading all Merlot plugins, and keeping track of them.
MerlotLibraryTreeTableModel: Tree model for the library. A library document consists of sections (shelves) which contain library elements.
| Home | Contact Us | Privacy Policy | Terms of Service |