Exemplo n.º 1
0
        Terminate()
        {
            AppContextMenu.RemoveContextMenu();
            RemoveAndFreeTestFuncs();

            m_appDocReactor.DisableEvents();
        }
Exemplo n.º 2
0
        Initialize()
        {
            Utils.AcadUi.PrintToCmdLine("\nLoading MgdDbg...");

            // register any Snoop Collector Extension objects that we have
            Snoop.CollectorExts.Object            extObj               = new Snoop.CollectorExts.Object();
            Snoop.CollectorExts.RxObject          extRxObj             = new Snoop.CollectorExts.RxObject();
            Snoop.CollectorExts.DbObject          extObjects           = new Snoop.CollectorExts.DbObject();
            Snoop.CollectorExts.SymbolTable       extSymTbl            = new Snoop.CollectorExts.SymbolTable();
            Snoop.CollectorExts.Entity            extEnts              = new Snoop.CollectorExts.Entity();
            Snoop.CollectorExts.Color             extColor             = new Snoop.CollectorExts.Color();
            Snoop.CollectorExts.Geometry          extGeom              = new Snoop.CollectorExts.Geometry();
            Snoop.CollectorExts.GraphNodes        extGraphNodes        = new Snoop.CollectorExts.GraphNodes();
            Snoop.CollectorExts.DbMisc            extDbMisc            = new Snoop.CollectorExts.DbMisc();
            Snoop.CollectorExts.GraphicsInterface extGraphicsInterface = new Snoop.CollectorExts.GraphicsInterface();
            Snoop.CollectorExts.LayerManager      extLayerMgr          = new Snoop.CollectorExts.LayerManager();
            Snoop.CollectorExts.GraphicsSystem    extGraphicsSystem    = new Snoop.CollectorExts.GraphicsSystem();
            Snoop.CollectorExts.Publish           extPublish           = new Snoop.CollectorExts.Publish();
            Snoop.CollectorExts.Plotting          extPlotting          = new Snoop.CollectorExts.Plotting();
            Snoop.CollectorExts.EditorInput       extEdInput           = new Snoop.CollectorExts.EditorInput();

            AppContextMenu.AddContextMenu();    // add our commands to the App right-click menu

            CreateAndAddTestFuncs();            // populate the TestFramework with our functions

            m_appDocReactor = new AppDocReactor();
            m_appDocReactor.EnableEvents();

            AddFilterForSnoopClasses();
        }