This plug-in will provide you with access to ModelMaker Code Explorer from CodeRush. It exposes the MMX API so you can create CodeRush shortcuts for your favorite MMX features.
Upon installation this plug-in registers a set of CodeRush commands for interacting with ModelMaker Code Explorer; these are MME_ListCommands, MME_FocusMME, MME_ExecuteCommand, and MME_ReloadPlugin.
Binding a keystroke to MME_ListCommands allows you to invoke a dialog that displays a list of all Code Explorer commands accessible by CodeRush via the plug-in. You can use the entries in this list when defining your own CodeRush shortcuts.
The MME_FocusMME command displays the ModelMaker Code Explorer main window and focuses its class tree.
The MME_ReloadPlugin command is only needed in rare circumstances. Basically, in order for this plug-in to work, ModelMaker Code Explorer needs to exist on the machine (DUH). There is one additional requirement. When Delphi loads, Code Explorer must load BEFORE this plug-in so that the API can be properly referenced. If, for some reason, ModelMaker Code Explorer loads AFTER this plug-in, you can invoke MME_ReloadPlugin to attempt to re-load the Code Explorer commands (so your CodeRush shortcuts will function).
Finally, MME_ExecuteCommand is the command that does all the magic. This command accepts a single parameter, this parameter being the name of an existing Code Explorer function (one of the commands displayed in the MME_ListCommands dialog, above). You use this command as follows:
MME_ExecuteCommand(AddProperty) - Opens the Code Explorer "Add Property" dialog.
MME_ExecuteCommand(LocateEditorPos) - Finds the current method in the Code Explorer tree.
MME_ExecuteCommand(Rearrange) - Opens the "Rearrange Code" wizard.
MME_ExecuteCommand(SyncDeclImpl) - Synchronizes the current method's interface and implementation declarations.
These shortcuts appear in CodeRush to be exactly the same as any other shortcut you use. They will appear in the Shortcuts list on the CodeRush Options page, see below:
Copyright 2004 Ackerson Software, All Rights Reserved.
ModelMaker Explorer API
Author: Tor Langlo
Created: July 8, 2002
Plug-In Type: Standard
Options Page: No
This plug-in is NOT currently supported.
This plug-in is not the property of Developer Express; it is the sole property of its author. As such, Developer Express cannot be held liable for any incidental damages that may be related to the usage of this plug-in.