MockCentralEditor-Plugin

The MockCentralEditor Eclipse Plug-in provides an easy-to-use, fully featured editor for MockCentral configuration files.

See:
          Description

Packages
org.mockcentral.editor Contains a top-level Interface and Classes for the plug-in editor.
org.mockcentral.editor.components Contains the main ui components for building the editor display.
org.mockcentral.editor.dialogs Contains a factory Class for Dialog display and a custom input Dialog class.
org.mockcentral.editor.logging Contains an implementation of the MockCentralEditor-Core IMockCentralLogger interface for the plug-in editor.
org.mockcentral.editor.new_wizard Contains Classes used to create new MockCentral configuration files for the plug-in editor.
org.mockcentral.editor.nodes Contains classes used for copying and pasting MockCentralNode instances in the plug-in editor.
org.mockcentral.editor.nodes.actions Contains Action classes that define actions relating to MockCentralNode instances for the plug-in editor.
org.mockcentral.editor.nodes.expectation Contains Plug-in-specific view components to handle user input and interact with the logical elements defined the MockCentralEditor-Core's corresponding package.
org.mockcentral.editor.nodes.expectation_group Contains Plug-in-specific view components to handle user input and interact with the logical elements defined the MockCentralEditor-Core's corresponding package.
org.mockcentral.editor.nodes.expectation.operations Contains Operation classes that define undoable operations relating to editing ExpectationNode data for the plug-in editor.
org.mockcentral.editor.nodes.expectation.part.wizard Provides components used to display a wizard for creating or editing a method expectation element definition.
org.mockcentral.editor.nodes.expectation.wizard Provides components used to display a wizard for creating or editing a Mock Object method expectation definition.
org.mockcentral.editor.nodes.fixture Contains Plug-in-specific view components to handle user input and interact with the logical elements defined the MockCentralEditor-Core's corresponding package.
org.mockcentral.editor.nodes.fixture_group Contains Plug-in-specific view components to handle user input and interact with the logical elements defined the MockCentralEditor-Core's corresponding package.
org.mockcentral.editor.nodes.fixture.wizard Provides components used to display a wizard for creating or editing a Mock Objects Fixture definition.
org.mockcentral.editor.nodes.mockobject Contains Plug-in-specific view components to handle user input and interact with the logical elements defined the MockCentralEditor-Core's corresponding package.
org.mockcentral.editor.nodes.mockobject_group Contains Plug-in-specific view components to handle user input and interact with the logical elements defined the MockCentralEditor-Core's corresponding package.
org.mockcentral.editor.nodes.mockobject.wizard Provides components used to display a wizard for creating or editing a Mock Object definition.
org.mockcentral.editor.nodes.operations Contains Operation classes that define undoable operations relating to editing MockCentralNode data for the plug-in editor.
org.mockcentral.editor.outline Contains an implementation of the MockCentralEditor-Core IMockCentralOutline interface for the plug-in editor.
org.mockcentral.editor.preferences Contains Classes used to initialize and edit user preferences for the plug-in editor.
org.mockcentral.editor.search Contains logical and UI classes used for searching for java types, using a FilteredItemsSelectionDialog extension to get user input.
org.mockcentral.editor.viewers Contains implementations of MockCentralEditor-Core interfaces defined in the corresponding package.
org.mockcentral.editor.wizards Contains a base class for the various WizardDialog settings managers.

 

The MockCentralEditor Eclipse Plug-in provides an easy-to-use, fully featured editor for MockCentral configuration files. It is designed to provide straightforward and intuitive controls and conforms to standard Eclipse editor behaviour and conventions.

The plug-in is built on top of the MockCentralEditor-Core library, upon which it relies for all of the logical code for reading and updating the xml elements, data validation, communcation between different components of the editor structure and message resource management. This application is principally responsible for implementing interfaces and providing view components that function specifically within the Eclipse environment. "Extras" supplied by the plug-in which do not directly correspond to parts of the core library include the undoable Operation and Action classes, display helpers such as ContentProviders and LabelProviders, the "new file wizard" capability and the Classes in the org.mockcentral.editor.components package that contribute to the FormEditor Class that provides the main editor component.

Mock Central is an easy-to-use, fully-featured set of tools that provides a new approach to java software testing using Mock Objects. It enables the developer to create and access libraries of Mock Objects defined in xml files external to the testing code, allowing for cleaner Test Cases and easy Mock Object organization and reuse. For a complete introduction to MockCentral including discussions of the architecture and concepts plus examples visit mockcentral.org to view or download the full documentation.