OliviaAddIn/OliviaAddIn/Config.Designer.cs

197 lines
11 KiB
C#
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace OliviaAddIn {
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 static class ThisAddIn {
internal static string Name {
get {
return "OLIVIA AddIn";
}
}
internal static string AddInID {
get {
return "{0718b3b3-5422-4d80-97ad-f72b18a3e476}";
}
}
internal static string Company {
get {
return "VSM";
}
}
internal static string Version {
get {
return "2.0.0.0";
}
}
internal static string Description {
get {
return "Add-In de ArcMap para la herramienta de optimización de la limpieza viaria, OLIVI" +
"A.";
}
}
internal static string Author {
get {
return "VSM";
}
}
internal static string Date {
get {
return "15/12/2019";
}
}
internal static ESRI.ArcGIS.esriSystem.UID ToUID(this System.String id) {
ESRI.ArcGIS.esriSystem.UID uid = new ESRI.ArcGIS.esriSystem.UIDClass();
uid.Value = id;
return uid;
}
/// <summary>
/// A class for looking up Add-in id strings declared in the associated configuration xml file (.esriaddinx).
/// </summary>
internal class IDs {
/// <summary>
/// Returns 'Intergeo_Tecnología_OliviaAddIn_ButtonInicio', the id declared for Add-in Button class 'ButtonInicio'
/// </summary>
internal static string ButtonInicio {
get {
return "Intergeo_Tecnología_OliviaAddIn_ButtonInicio";
}
}
}
}
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;
}
}
}
}