Package org.mockcentral.editor.nodes

Contains classes and interfaces used for constructing, editing, copying and pasting the MockCentralNode instances that comprise the data modelled from a MockCentral configuration file.

See:
          Description

Interface Summary
IMockCentralClipboard Interface for classes used for copying and pasting MockCentralNode instances within IMockCentralNodeGroupViewer controls.
IMockCentralGroupNodeModelObserver Interface for classes interested in changes to the list of child MockCentralNode instances modeled in a MockCentralGroupNodeModel.
IMockCentralNodeTransfer Marker Interface for classes used to transfer MockCentralNode instance data to and from the IMockCentralClipboard implementation.
IMockCentralNodeView Interface for view classes used to display and edit the data modeled in MockCentralNodeModel instances.
 

Class Summary
ElementNames Utility class defining the JDOM Element names used within configuration files and application code.
JDomUtils Utility class providing methods for inspecting JDOM Element data.
MockCentralGroupNodeController The controller component within the MVC structure that includes the MockCentralGroupNodeModel and IMockCentralNodeView classes.
MockCentralGroupNodeModel The model component within the MVC structure that includes the MockCentralGroupNodeController and IMockCentralNodeView classes.
MockCentralNode Base for the classes which store the JDOM Element instances that are used to construct the domain model.
MockCentralNodeFactory Factory class for instances of the MockCentralNode class.
MockCentralNodeModel Base for classes representing the model in the MVC structure used for editing the data in the JDOM Element instances that comprise the domain model.
 

Enum Summary
MockCentralNodeType An enum specifying the various types of MockCentralNode.
 

Package org.mockcentral.editor.nodes Description

Contains classes and interfaces used for constructing, editing, copying and pasting the MockCentralNode instances that comprise the data modelled from a MockCentral configuration file. Relying heavily on an MVC structure, this package defines a MockCentralNodeModel class and an interface (IMockCentralNodeView) to cleanly separate functionality for the editor. Concrete editors should principally need only to implement the view components. Much logical code that pertains to managing and editing "group" nodes (ie the nodes for all Fixtures in the document, all Mock Object definitions within Fixtures and all method expectations within Mock Object definitions) has been abstracted to the MockCentralGroupNodeModel and MockCentralGroupNodeController classes.