コード例 #1
0
 public CreateLineAndSplitIntersectingLines()
 {
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #2
0
 public SampleTraceTool1()
 {
     // Get the editor
       m_editor = ArcMap.Editor as IEditor3;
       m_editEvents = m_editor as IEditEvents_Event;
       m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #3
0
 public CreatePointAndRefPoint()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #4
0
 public AddLineWithEndPoints()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #5
0
 public CreateLineAndSplitIntersectingLines()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #6
0
 public ParcelConstruction()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #7
0
 public AddPointSplitLine()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #8
0
 public AddLateralsConstructionTool()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #9
0
 public ConnectClosestsConstructTool()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #10
0
 public AddLateralsConstructionTool()
 {
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #11
0
 public PointsAlongLineTool()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #12
0
 public SampleTraceTool1()
 {
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #13
0
 public CreatePointAndRefPoint()
 {
     ConfigUtil.type = "address";
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #14
0
 public PointsAlongLineTool()
 {
     ConfigUtil.type = "water";
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #15
0
 public AddPointSplitLine()
 {
     ConfigUtil.type = "water";
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #16
0
 public ConnectClosestsConstructTool()
 {
     ConfigUtil.type = "water";
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #17
0
 public AddLateralsConstructionTool()
 {
     ConfigUtil.type = "water";
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #18
0
 public AddLateralsConstructionTool()
 {
     ConfigUtil.type = "water";
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #19
0
 public CreateLineAndSplitIntersectingLines()
 {
     ConfigUtil.type = "address";
     // Get the editor
     m_editor      = ArcMap.Editor as IEditor3;
     m_editEvents  = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #20
0
        public AddLateralsFromMainPointConstructionTool()
        {
            ConfigUtil.type = "gas";

            // Get the editor
            m_editor      = ArcMap.Editor as IEditor3;
            m_editEvents  = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #21
0
        public ConnectClosestsConstructTool()
        {
            ConfigUtil.configFileName = "gas.config";

            // Get the editor
            m_editor      = ArcMap.Editor as IEditor3;
            m_editEvents  = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #22
0
        public AddPointSplitLine()
        {
            ConfigUtil.configFileName = "gas.config";

            // Get the editor
            m_editor      = ArcMap.Editor as IEditor3;
            m_editEvents  = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #23
0
        public AddLateralsConstructionTool()
        {
            ConfigUtil.configFileName = "gas.config";

            // Get the editor
            m_editor      = ArcMap.Editor as IEditor3;
            m_editEvents  = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #24
0
        public AddLineWithEndPoints()
        {
            ConfigUtil.type = "gas";

            // Get the editor
            m_editor      = ArcMap.Editor as IEditor3;
            m_editEvents  = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #25
0
        public PointsAlongLineTool()
        {
            ConfigUtil.configFileName = "gas.config";

            // Get the editor
            m_editor      = ArcMap.Editor as IEditor3;
            m_editEvents  = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #26
0
        public AddLateralsConstructionTool()
        {
            ConfigUtil.configFileName = "gas.config";

            // Get the editor
            m_editor = ArcMap.Editor as IEditor3;
            m_editEvents = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #27
0
        /// <summary>
        /// Occurs when this tool is created
        /// </summary>
        /// <param name="hook">Instance of the application</param>
        public override void OnCreate(object hook)
        {
            m_application = hook as IApplication;

            //get the editor
            UID editorUid = new UID();

            editorUid.Value = "esriEditor.Editor";
            m_editor        = m_application.FindExtensionByCLSID(editorUid) as IEditor3;
            m_editEvents    = m_editor as IEditEvents_Event;
            m_editEvents5   = m_editor as IEditEvents5_Event;
        }
コード例 #28
0
 public AddLineWithEndPoints()
 {
     ConfigUtil.type = "water";
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #29
0
 public CreatePointAndRefPoint()
 {
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #30
0
        public PointsAlongLineTool()
        {
            ConfigUtil.type = "gas";

            // Get the editor
            m_editor = ArcMap.Editor as IEditor3;
            m_editEvents = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #31
0
        public ConnectClosestsConstructTool()
        {
            ConfigUtil.type = "gas";

            // Get the editor
            m_editor = ArcMap.Editor as IEditor3;
            m_editEvents = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #32
0
        public AddPointSplitLine()
        {
            ConfigUtil.type = "gas";

            // Get the editor
            m_editor = ArcMap.Editor as IEditor3;
            m_editEvents = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #33
0
        public AddLateralsFromMainPointConstructionTool()
        {
            ConfigUtil.type = "gas";

            // Get the editor
            m_editor = ArcMap.Editor as IEditor3;
            m_editEvents = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #34
0
 public AddLineWithEndPoints()
 {
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #35
0
 public AddPointSplitLine()
 {
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #36
0
 public ConnectClosestsConstructTool()
 {
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #37
0
 public PointsAlongLineTool()
 {
     // Get the editor
     m_editor = ArcMap.Editor as IEditor3;
     m_editEvents = m_editor as IEditEvents_Event;
     m_editEvents5 = m_editor as IEditEvents5_Event;
 }
コード例 #38
0
ファイル: AddVectorTool.cs プロジェクト: 609878415/fff12138
        /// <summary>
        /// Occurs when this tool is created
        /// </summary>
        /// <param name="hook">Instance of the application</param>
        public override void OnCreate(object hook)
        {
            m_application = hook as IApplication;

            //get the editor
            UID editorUid = new UID();
            editorUid.Value = "esriEditor.Editor";
            m_editor = m_application.FindExtensionByCLSID(editorUid) as IEditor3;
            m_editEvents = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }
コード例 #39
0
        public AddLineWithEndPoints()
        {
            ConfigUtil.configFileName = "gas.config";

            // Get the editor
            m_editor = ArcMap.Editor as IEditor3;
            m_editEvents = m_editor as IEditEvents_Event;
            m_editEvents5 = m_editor as IEditEvents5_Event;
        }