MPS Procedure Browser
The MPS Procedure Browser window is a hosted Microsoft Internet
Explorer window that displays the XML content of the current step
selected in the MPS Procedure Browser. Besides the general
functionality that the Internet Explorer window provides, the
window also allows the user to place the contents of the entire XML
data file currently displayed in the window onto the clipboard.
Figure: MPS Procedure Browser window
Find All Procedure References
The Find MPS Procedures tool window will allow the user to enter
in an MPS namespace name and the name of a procedure contained
within that namespace and will then return a list of all of the
places wherein that procedure is called (for currently registered
named procedures).
Figure: Find MPS Procedures
This tool window will implement the following features:
- Double-clicking any given node will "re-root" the MPS Procedure
Browser and the MPS Namespace Explorer. The namespace/procedure
represented by the node you double-click node will be selected
(become the active procedure) which will trigger a "refresh" of the
MPS Procedure Browser, which will cause it to become the top of the
tree.
- Right-clicking a procedure should present the user with the
option of "Executing" that procedure. This feature is only
available for named procedures that have an associated Extensible
Schema Definition (XSD) schema registered in the database. The code
will interrogate the XSD and generate a basic "form" which will pop
up. The user will fill out the required parameters and click
"submit". Details on the result of the submission will be available
via a standard output window in the integrated development
environment (IDE).
- Right-clicking a procedure should present the user with the
option of inserting a call to that procedure into the active
document at the current location of the cursor. This will cause an
<execute /> node with the appropriate references to be
inserted at the location of the current cursor
- Ability to select a procedure in the tree and use the
drag-and-drop feature to place it in the current code window. Doing
so will cause an <execute /> node with the appropriate
references to be inserted at the dropped location.
- Right-clicking a procedure should present the user with the
option of creating a request to call the procedure. Selecting this
option will cause a new XML file to be created in the IDE window
which will then be populated with calls an XML structure for the
required parameters based on the supplied schema. This feature will
only be available for named procedures that have an associated XSD
schema registered in the database.