-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathConfig.Designer.cs
244 lines (213 loc) · 15.4 KB
/
Config.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.269
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace CHAMP {
using ESRI.ArcGIS.Framework;
using ESRI.ArcGIS.ArcMapUI;
using System;
using System.Collections.Generic;
using ESRI.ArcGIS.Desktop.AddIns;
/// <summary>
/// A class for looking up declarative information in the associated configuration xml file (.esriaddinx).
/// </summary>
internal class ThisAddIn {
internal static string Name {
get {
return "CHaMP Transformation Tool";
}
}
internal static string AddInID {
get {
return "{39da1482-4bbf-4421-bdc8-33b394618abc}";
}
}
internal static string Company {
get {
return "USU ET-AL and RS/GIS Lab";
}
}
internal static string Version {
get {
return "1.1";
}
}
internal static string Description {
get {
return "Transforms and projects CHaMP field survey data into a UTM coordinate system give" +
"n GPS coordinates from three benchmarks.";
}
}
internal static string Author {
get {
return "Chris Garrard";
}
}
internal static string Date {
get {
return "7/6/2012";
}
}
/// <summary>
/// A class for looking up Add-in id strings declared in the associated configuration xml file (.esriaddinx).
/// </summary>
internal class IDs {
/// <summary>
/// Returns 'USU_ET-AL_and_CHAMP_ChampButton', the id declared for Add-in Button class 'ChampButton'
/// </summary>
internal static string ChampButton {
get {
return "USU_ET-AL_and_CHAMP_ChampButton";
}
}
/// <summary>
/// Returns 'USU_ET-AL_and_CHAMP_ChampInfoButton', the id declared for Add-in Button class 'ChampInfoButton'
/// </summary>
internal static string ChampInfoButton {
get {
return "USU_ET-AL_and_CHAMP_ChampInfoButton";
}
}
/// <summary>
/// Returns 'USU_ET-AL_and_CHAMP_ChampApplyButton', the id declared for Add-in Button class 'ChampApplyButton'
/// </summary>
internal static string ChampApplyButton {
get {
return "USU_ET-AL_and_CHAMP_ChampApplyButton";
}
}
/// <summary>
/// Returns 'USU_ET-AL_and_CHAMP_ChampExtension', the id declared for Add-in Extension class 'ChampExtension'
/// </summary>
internal static string ChampExtension {
get {
return "USU_ET-AL_and_CHAMP_ChampExtension";
}
}
/// <summary>
/// Returns 'USU_ET-AL_and_CHAMP_ChampDockableWindow', the id declared for Add-in DockableWindow class 'ChampDockableWindow+AddinImpl'
/// </summary>
internal static string ChampDockableWindow {
get {
return "USU_ET-AL_and_CHAMP_ChampDockableWindow";
}
}
/// <summary>
/// Returns 'USU_ET-AL_and_CHAMP_ChampInfoDockableWindow', the id declared for Add-in DockableWindow class 'ChampInfoDockableWindow+AddinImpl'
/// </summary>
internal static string ChampInfoDockableWindow {
get {
return "USU_ET-AL_and_CHAMP_ChampInfoDockableWindow";
}
}
/// <summary>
/// Returns 'USU_ET-AL_and_CHAMP_ChampApplyDockableWindow', the id declared for Add-in DockableWindow class 'ChampApplyDockableWindow+AddinImpl'
/// </summary>
internal static string ChampApplyDockableWindow {
get {
return "USU_ET-AL_and_CHAMP_ChampApplyDockableWindow";
}
}
}
}
internal static class ArcMap
{
private static IApplication s_app = null;
private static IDocumentEvents_Event s_docEvent;
public static IApplication Application
{
get
{
if (s_app == null)
s_app = Internal.AddInStartupObject.GetHook<IMxApplication>() as IApplication;
return s_app;
}
}
public static IMxDocument Document
{
get
{
if (Application != null)
return Application.Document as IMxDocument;
return null;
}
}
public static IMxApplication ThisApplication
{
get { return Application as IMxApplication; }
}
public static IDockableWindowManager DockableWindowManager
{
get { return Application as IDockableWindowManager; }
}
public static IDocumentEvents_Event Events
{
get
{
s_docEvent = Document as IDocumentEvents_Event;
return s_docEvent;
}
}
}
namespace Internal
{
[StartupObjectAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public sealed partial class AddInStartupObject : AddInEntryPoint
{
private static AddInStartupObject _sAddInHostManager;
private List<object> m_addinHooks = null;
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
public AddInStartupObject()
{
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
protected override bool Initialize(object hook)
{
bool createSingleton = _sAddInHostManager == null;
if (createSingleton)
{
_sAddInHostManager = this;
m_addinHooks = new List<object>();
m_addinHooks.Add(hook);
}
else if (!_sAddInHostManager.m_addinHooks.Contains(hook))
_sAddInHostManager.m_addinHooks.Add(hook);
return createSingleton;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
protected override void Shutdown()
{
_sAddInHostManager = null;
m_addinHooks = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
internal static T GetHook<T>() where T : class
{
if (_sAddInHostManager != null)
{
foreach (object o in _sAddInHostManager.m_addinHooks)
{
if (o is T)
return o as T;
}
}
return null;
}
// Expose this instance of Add-in class externally
public static AddInStartupObject GetThis()
{
return _sAddInHostManager;
}
}
}
}