ArcFM Desktop Developer Guide
Tree Tools

Resource Center Home

In ArcFM, Tree tools are found in right-click utility menus. Users can right-click items in list trees to access tree tools (or utility tools). An example of tree tools in ArcFM is found in the Locator tool. When the user right clicks a feature in the results window, a list of tree tools is displayed (e.g., Zoom To, Highlight, Add to Selection).

Tree tools are created with the IMMTreeTool interface. This interface provides the Category property which allows you to specify in which right-click menu(s) your custom tree tool will appear. IMMTreeTool::Category utilizes the mmToolCategory enumeration. The IMMTreeTool::Enabled property allows you to determine when the tree tool is enabled. This property uses the mmToolState enumeration.

 

In order for ArcFM to recognize your custom tree tool, it must be registered in the appropriate component category using IMMRegInCat. Tree tools use the following component categories from the mmCategories enumeration.


Interfaces:
    IMMTreeTool
    IMMTreeViewSelection

Component Category:
    see table below

Developer Samples
    C# Tree Tools

 

mmCategories Value

Description

MMCreateCompositeContextMenu

Context menu items that appear when a Composite Favorite is selected

MMFavoritesContextMenu

Context menu items that appear when a Favorite is selected on the Features tab

MMFeatureClassTreeViewTool

Context menu items that appear on the Features tab

MMLocatorContextMenu

Context menu items that appear in the Results window of the Locator tool

MMProcessMgrContextMenu

Context menu items that appear when a node is selected in a Process Framework extension

MMQAQCTreeViewTool

Context menu items that appear on the QA/QC tab of the Attribute Editor

D8SelectionTreeTool

Context menu items that appear on the Selection tab of the Attribute Editor

These values are Designer only

MMFCFavoritesAdminTool

Context menu items that appear in the Compatible Units tab in the System Favorites Manager window in ArcCatalog

D8DesignTreeViewTool

Context menu items that appear on the Design tab of the Attribute Editor

D8CUTreeViewTool

Context menu items that appear on the CUs tab

D8SelectedCuTreeTool

Context menu items that appear when a CU is selected

MMCUFavoritesAdminTool

Context menu items that appear on the Features tab in the System Favorites Manager window in ArcCatalog

MMTemplatesContextMenu

Context menu items that appear when a Template is selected on the CUs tab

MMCUFavoritesContextMenu

Context menu items that appear when a CU Favorite is selected on the CUs tab

MMWorkFunctionToolContextMenu

Context menu items that appear when a node is selected in the Work Function Tool

Note: The IMMTreeTool interface replaced the IMMTreeViewTool, IMMTreeViewTool2, and IMMHotKey interfaces in the 8.2.1 release of the ArcFM Solution. The older interfaces will continue to be supported by the MMListTree control, but future customizations of tree tools should use IMMTreeTool.

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com