public void GetItemInfo(int pos, IItemDef itemDef)
		{
			//Commands for the menu - the object browser lists these commands
			switch (pos)
			{
				case 0:
					itemDef.ID = "esriControls.ControlsMapUpCommand";
					break;
				case 1:
					itemDef.ID = "esriControls.ControlsMapDownCommand";
					break;
				case 2:
					itemDef.ID = "esriControls.ControlsMapLeftCommand";
					break;
				case 3:
					itemDef.ID = "esriControls.ControlsMapRightCommand";
					break;
				case 4:
					itemDef.ID = "esriControls.ControlsMapPageUpCommand";
					itemDef.Group = true;
					break;
				case 5:
					itemDef.ID = "esriControls.ControlsMapPageDownCommand";
					break;
				case 6:
					itemDef.ID = "esriControls.ControlsMapPageLeftCommand";
					break;
				case 7:
					itemDef.ID = "esriControls.ControlsMapPageRightCommand";
					break;
			}
		}
Esempio n. 2
0
 public void GetItemInfo(int pos, IItemDef itemDef)
 {
     switch (pos)
     {
         case 0:
             itemDef.ID = "AddOsmLayerCommand1";
             itemDef.Group = false;
             break;
     }
 }
Esempio n. 3
0
 public void GetItemInfo(int pos, IItemDef itemDef)
 {
     switch (pos)
     {
         case 0:
             itemDef.ID = "AddMapQuestOpenAerialMapLayerCommand";
             itemDef.Group = false;
             break;
         case 1:
             itemDef.ID = "AddMapQuestOSMLayerCommand";
             itemDef.Group = false;
             break;
     }
 }
Esempio n. 4
0
        public void GetItemInfo(int pos, IItemDef itemDef)
        {
            switch (pos)
            {
                case 0:
                    itemDef.ID = "TileCacheCommand";
                    itemDef.Group = false;
                    break;
                case 1:
                    itemDef.ID = "AboutMeCommand";
                    itemDef.Group = false;
                    break;

            }
        }
Esempio n. 5
0
        public void GetItemInfo(int pos, IItemDef itemDef)
        {
            switch (pos)
            {
                case 0:
                    itemDef.ID = "AddGoogleRoadLayerCommand";
                    itemDef.Group = false;
                    break;
                case 1:
                    itemDef.ID = "AddGoogleArialCommand";
                    itemDef.Group = false;
                    break;

            }
        }
		public void GetItemInfo(int pos, IItemDef itemDef)
		{
			//Commands for the menu - the object browser lists these commands
			switch (pos)
			{
				case 0:
					itemDef.ID = "esriControls.ControlsSchematicRestoreDefaultLayerPropertiesCommand";
					break;
				case 1:
					itemDef.ID = "esriControls.ControlsSchematicPropagateLayerPropertiesCommand";
					break;
				case 2:
					itemDef.ID = "esriControls.ControlsSchematicImportLayerPropertiesCommand";
					break;
			}
		}
Esempio n. 7
0
 public void GetItemInfo(int pos, IItemDef itemDef)
 {
     switch (pos)
     {
         case 0:
             itemDef.ID = "AddServicesCommand";
             itemDef.Group = false;
             break;
         //case 1:
         //    itemDef.ID = "AddWmscCommand";
         //    itemDef.Group = false;
         //    break;
         case 1:
             itemDef.ID = "AboutBruTileCommand";
             itemDef.Group = true;
             break;
     }
 }
Esempio n. 8
0
 public void GetItemInfo(int pos, IItemDef itemDef)
 {
     switch (pos)
     {
         //case 0:
         //    itemDef.ID = "AddTDTRoadCommand";
         //    itemDef.Group = false;
         //    break;
         case 0:
             itemDef.ID = "AddTDTArialCommand";
             itemDef.Group = false;
             break;
         case 1:
             itemDef.ID = "AddTDTLabelCommand";
             itemDef.Group = false;
             break;
     }
 }
Esempio n. 9
0
 public void GetItemInfo(int pos, IItemDef itemDef)
 {
     switch (pos)
     {
         case 0:
             itemDef.ID = "AddOSMRoadCommand";
             itemDef.Group = false;
             break;
         case 1:
             itemDef.ID = "AddOSMBikeCommand";
             itemDef.Group = false;
             break;
         case 2:
             itemDef.ID = "AddOSMTrafficCommand";
             itemDef.Group = false;
             break;
     }
 }
Esempio n. 10
0
 public void GetItemInfo(int pos, IItemDef itemDef)
 {
     switch (pos)
     {
         case 0:
             itemDef.ID = "AddCloudMadeFreshLayerCommand";
             itemDef.Group = false;
             break;
         case 1:
             itemDef.ID = "AddCloudMadeMidnightCommanderLayerCommand";
             itemDef.Group = false;
             break;
         case 2:
             itemDef.ID = "AddCloudMadePaleDawnLayerCommand";
             itemDef.Group = false;
             break;
     }
 }
Esempio n. 11
0
        public void GetItemInfo(int pos, IItemDef itemDef)
        {
            switch (pos)
            {
                case 0:
                    itemDef.ID = "AddBingRoadLayerCommand";
                    itemDef.Group = false;
                    break;
                case 1:
                    itemDef.ID = "AddBingAerialLayerCommand";
                    itemDef.Group = false;
                    break;
                case 2:
                    itemDef.ID = "AddBingHybridLayerCommand";
                    itemDef.Group = false;
                    break;

            }
        }
Esempio n. 12
0
        public void GetItemInfo(int pos, IItemDef itemDef)
        {
            switch (pos)
            {
                case 0:
                    itemDef.ID = "AddMapBoxSatelliteLayerCommand";
                    itemDef.Group = false;
                    break;
                case 1:
                    itemDef.ID = "AddMapBoxStreetsLayerCommand";
                    itemDef.Group = false;
                    break;
                case 2:
                    itemDef.ID = "AddMapBoxTerrainLayerCommand";
                    itemDef.Group = false;
                    break;

            }
        }
Esempio n. 13
0
 public void GetItemInfo(int pos, IItemDef itemDef)
 {
     switch (pos)
     {
         case 0:
             itemDef.ID = "AddGaodeRoadLayerCommand";
             itemDef.Group = false;
             break;
         case 1:
             itemDef.ID = "AddGaodeArialCommand";
             itemDef.Group = false;
             break;
         case 2:
             itemDef.ID = "AddGaodeHybridCommand";
             itemDef.Group = false;
             break;
         case 3:
             itemDef.ID = "AddTDTLabelCommand";
             itemDef.Group = false;
             break;
     }
 }
		public void GetItemInfo(int pos, IItemDef itemDef)
		{
			//Commands for the menu - the object browser lists these commands
			switch (pos)
			{
				case 0:
					itemDef.ID = "esriControls.ControlsMapZoomInFixedCommand";
					break;
				case 1:
					itemDef.ID = "esriControls.ControlsMapZoomOutFixedCommand";
					break;
				case 2:
					itemDef.ID = "esriControls.ControlsMapFullExtentCommand";
					itemDef.Group = true;
					break;
				case 3:
					itemDef.ID = "esriControls.ControlsMapZoomToLastExtentBackCommand";
					break;
				case 4:
					itemDef.ID = "esriControls.ControlsMapZoomToLastExtentForwardCommand";
					break;
			}
		}
		public void GetItemInfo(int pos, IItemDef itemDef)
		{
			//Commands for the menu - the object browser lists these commands
			switch (pos)
			{
				case 0:
					itemDef.ID = "esriControls.ControlsSchematicStartEditCommand";
					break;
				case 1:
					itemDef.ID = "esriControls.ControlsSchematicStopEditCommand";
					break;
				case 2:
					itemDef.ID = "esriControls.ControlsSchematicSaveEditsCommand";
					itemDef.Group = true;
					break;
				case 3:
					itemDef.ID = "esriControls.ControlsSchematicRemoveLinkPointsCommand";
					itemDef.Group = true;
					break;
				case 4:
					itemDef.ID = "esriControls.ControlsSchematicSquareLinksCommand";
					break;
			}
		}
Esempio n. 16
0
        public void GetItemInfo(int pos, IItemDef itemDef)
        {
            // For now we only have the "batch" command.

            switch( pos )
            {
                case 0:
                    itemDef.ID = "mdna.DoAllCmd";
                    itemDef.Group = false;
                    break;
                case 1:
                    itemDef.ID = "mdna.AdjustGridCmd";
                    itemDef.Group = true;
                    break;
                case 2:
                    itemDef.ID = "mdna.CollarReplaceCmd";
                    itemDef.Group = false;
                    break;
                case 3:
                    itemDef.ID = "mdna.ShowPreferencesCmd";
                    itemDef.Group = true;
                    break;
            }
        }
Esempio n. 17
0
 /// <summary>
 /// 访问快捷菜单中每个Item的方法
 /// </summary>
 /// <param name="iIndex"></param>
 /// <param name="pItemDef"></param>
 public virtual void GetItemInfo(int iIndex, IItemDef pItemDef)
 {
     pItemDef.ID    = this.Items[iIndex].ID;
     pItemDef.Group = this.Items[iIndex].Group;
 }
 /// <summary>
 /// 访问快捷菜单中每个Item的方法
 /// </summary>
 /// <param name="iIndex"></param>
 /// <param name="pItemDef"></param>
 public virtual void GetItemInfo(int iIndex, IItemDef pItemDef)
 {
 }
Esempio n. 19
0
 public void GetItemInfo(int pos, IItemDef itemDef)
 {
     switch (pos)
     {
         case 0:
             itemDef.ID = "ISDUTLib.qa.ui.RunTestsCmd";
             break;
         case 1:
             itemDef.ID = "ISDUTLib.qa.ui.ErrorManagerCmd";
             break;
         case 2:
             itemDef.ID = "ISDUTLib.qa.ui.TestManagerCmd";
             break;
         case 3:
             itemDef.ID = "esriEditor.TraverseWindowCommand";
             itemDef.Group = true;
             break;
         case 4:
             itemDef.ID = "ISDUTLib.cogo.ui.AoCmdSpiralCurve";
             break;
         case 5:
             itemDef.ID = "ISDUTLib.cogo.ui.AoCmdStationing";
             break;
         case 6:
             itemDef.ID = "ISDUTLib.tools.ui.AoCmdCompilationLog";
             itemDef.Group = true;
             break;
         case 7:
             itemDef.ID = "ISDUTLib.tools.ui.AoCmdManageGPSPoints";
             break;
         case 8:
             // Wellsites removed from ISDUT for TANTALIS from 2012 revision
             itemDef.ID = "ISDUTLib.tools.CreateWellsiteBoxCmd";
             break;
         case 9:
             // Wellsites removed from ISDUT for TANTALIS from 2012 revision
             itemDef.ID = "ISDUTLib.tools.ui.AoCmdCreateWellsitePoint";
             break;
         case 10:
             itemDef.ID = "ISDUTLib.tools.GraphicToFeatureCmd";
             break;
         case 11:
             itemDef.ID = "ISDUTLib.tools.ui.AoToolQueryBearingDistance";
             break;
         case 12:
             itemDef.ID = "ISDUTLib.tools.SelectByPolygonTool";
             break;
         case 13:
             itemDef.ID = "ISDUTLib.tools.ui.AoCmdCreatePDFMapOutput";
             break;
         case 14:
             itemDef.ID = "ISDUTLib.qa.ui.PrimarySubdivCmd";
             itemDef.Group = true;
             break;
         case 15:
             itemDef.ID = "ISDUTLib.qa.ui.CompareAreaCmd";
             itemDef.Group = true;
             break;
         case 16:
             itemDef.ID = "ISDUTLib.tools.ui.AoCmdCreateFeature";
             itemDef.Group = true;
             break;
         case 17:
             itemDef.ID = "ISDUTLib.tools.ui.AoToolCntrlSelectSrcLayer";
             break;
         case 18:
             itemDef.ID = "ISDUTLib.tools.ui.AoToolMapAngle";
             itemDef.Group = true;
             break;
         case 19:
             itemDef.ID = "ISDUTLib.tools.AdjustLinkToolCmd";
             itemDef.Group = true;
             break;
     }
 }
Esempio n. 20
0
        public void GetItemInfo(int pos, IItemDef itemDef)
        {
            switch (pos)
            {
            case 0:
                itemDef.ID    = "AddMapBoxDarkCommand";
                itemDef.Group = false;
                break;

            case 1:
                itemDef.ID    = "AddMapBoxLightCommand";
                itemDef.Group = false;
                break;

            case 2:
                itemDef.ID    = "AddMapBoxComicCommand";
                itemDef.Group = false;
                break;

            case 3:
                itemDef.ID    = "AddMapBoxEmeraldCommand";
                itemDef.Group = false;
                break;

            case 4:
                itemDef.ID    = "AddMapBoxHighContrastCommand";
                itemDef.Group = false;
                break;

            case 5:
                itemDef.ID    = "AddMapBoxOutdoorsCommand";
                itemDef.Group = false;
                break;

            case 6:
                itemDef.ID    = "AddMapBoxPencilCommand";
                itemDef.Group = false;
                break;

            case 7:
                itemDef.ID    = "AddMapBoxPiratesCommand";
                itemDef.Group = false;
                break;

            case 8:
                itemDef.ID    = "AddMapBoxRunBikeHikeCommand";
                itemDef.Group = false;
                break;

            case 9:
                itemDef.ID    = "AddMapBoxSatelliteLayerCommand";
                itemDef.Group = false;
                break;

            case 10:
                itemDef.ID    = "AddMapBoxStreetsBasicCommand";
                itemDef.Group = false;
                break;

            case 11:
                itemDef.ID    = "AddMapBoxStreetsLayerCommand";
                itemDef.Group = false;
                break;

            case 12:
                itemDef.ID    = "AddMapBoxStreetsSatelliteCommand";
                itemDef.Group = false;
                break;

            case 13:
                itemDef.ID    = "AddMapBoxWheatpasteCommand";
                itemDef.Group = false;
                break;
            }
        }