public void GetItemInfo(int pos, MyPluginEngine.ItemDef itemDef) { switch (pos) { case 0: itemDef.ID = "MyDatapreMenu.cFeatureToRaster"; itemDef.Group = false; break; case 1: itemDef.ID = "MyDatapreMenu.cRasterToPolygon"; itemDef.Group = false; break; case 2: itemDef.ID = "MyDatapreMenu.cProject"; itemDef.Group = false; break; case 3: itemDef.ID = "MyDatapreMenu.cResample"; itemDef.Group = false; break; case 4: itemDef.ID = "MyDatapreMenu.cKriging"; itemDef.Group = false; break; case 5: itemDef.ID = "MyDatapreMenu.cSpline"; itemDef.Group = false; break; case 6: itemDef.ID = "MyDatapreMenu.cIdw"; itemDef.Group = false; break; case 7: itemDef.ID = "MyDatapreMenu.cRasterCalculator"; itemDef.Group = false; break; case 8: itemDef.ID = "MyDatapreMenu.cDBConnection"; itemDef.Group = false; break; case 9: itemDef.ID = "MyDatapreMenu.cRasterReClass"; itemDef.Group = false; break; default: break; } }
public void GetItemInfo(int pos, MyPluginEngine.ItemDef itemDef) { switch (pos) { case 0: itemDef.ID = "TrendAnalyze.frmTEMPCmd"; itemDef.Group = false; break; case 1: itemDef.ID = "TrendAnalyze.frmPRECmd"; itemDef.Group = false; break; //case 2: // itemDef.ID = "TrendAnalyze.frmTableCmd"; // itemDef.Group = false; // break; default: break; } }