14using System.Runtime.InteropServices;
19 private Object locker =
new Object();
20 private HandleRef swigCPtr;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 swigCPtr =
new HandleRef(
this, cPtr);
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
29 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
38 global::System.GC.SuppressFinalize(
this);
41 protected virtual void Dispose(
bool disposing) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
48 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
55 SwigDirectorConnect();
113 private void SwigDirectorConnect() {
114 if (SwigDerivedClassHasMethod(
"OnToolbarItemCreated", swigMethodTypes0))
116 if (SwigDerivedClassHasMethod(
"OnItemDefinitionCreated", swigMethodTypes1))
118 if (SwigDerivedClassHasMethod(
"OnMenuItemCreated", swigMethodTypes2))
120 if (SwigDerivedClassHasMethod(
"OnToolbarItemAboutToDestroy", swigMethodTypes3))
122 if (SwigDerivedClassHasMethod(
"OnItemDefinitionAboutToDestroy", swigMethodTypes4))
124 if (SwigDerivedClassHasMethod(
"OnMenuItemAboutToDestroy", swigMethodTypes5))
126 if (SwigDerivedClassHasMethod(
"OnToolbarVisibilityChanged", swigMethodTypes6))
128 if (SwigDerivedClassHasMethod(
"OnSubMenuAboutToShow", swigMethodTypes7))
130 if (SwigDerivedClassHasMethod(
"OnInterfaceAboutToReload", swigMethodTypes8))
132 if (SwigDerivedClassHasMethod(
"OnInterfaceReloaded", swigMethodTypes9))
134 if (SwigDerivedClassHasMethod(
"OnRibbonControlCreated", swigMethodTypes10))
136 PCADGlobalsPINVOKE.
CFxUIReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
139 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
140 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
141 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
CFxUIReactor));
142 return hasDerivedMethod;
145 private void SwigDirectorMethodOnToolbarItemCreated(global::System.IntPtr pToolBarItem) {
146 OnToolbarItemCreated((pToolBarItem == global::System.IntPtr.Zero) ?
null :
new CFxUIToolbarItem(pToolBarItem,
false));
149 private void SwigDirectorMethodOnItemDefinitionCreated(global::System.IntPtr pItemDef) {
150 OnItemDefinitionCreated((pItemDef == global::System.IntPtr.Zero) ?
null :
new CFxUIItemDefinition(pItemDef,
false));
153 private void SwigDirectorMethodOnMenuItemCreated(global::System.IntPtr pMenuItem) {
154 OnMenuItemCreated((pMenuItem == global::System.IntPtr.Zero) ?
null :
new CFxUIMenuItem(pMenuItem,
false));
157 private void SwigDirectorMethodOnToolbarItemAboutToDestroy(global::System.IntPtr pUIToolBar) {
161 private void SwigDirectorMethodOnItemDefinitionAboutToDestroy(global::System.IntPtr pUIItemDef) {
165 private void SwigDirectorMethodOnMenuItemAboutToDestroy(global::System.IntPtr pUIMenuItem) {
166 OnMenuItemAboutToDestroy((pUIMenuItem == global::System.IntPtr.Zero) ?
null :
new CFxUIMenuItem(pUIMenuItem,
false));
169 private void SwigDirectorMethodOnToolbarVisibilityChanged(global::System.IntPtr pUIToolBar,
bool bVisible) {
170 OnToolbarVisibilityChanged((pUIToolBar == global::System.IntPtr.Zero) ?
null :
new CFxUIToolbarItem(pUIToolBar,
false), bVisible);
173 private void SwigDirectorMethodOnSubMenuAboutToShow(global::System.IntPtr pSubMenu) {
174 OnSubMenuAboutToShow((pSubMenu == global::System.IntPtr.Zero) ?
null :
new CFxUIMenuItem(pSubMenu,
false));
177 private void SwigDirectorMethodOnInterfaceAboutToReload() {
181 private void SwigDirectorMethodOnInterfaceReloaded() {
185 private void SwigDirectorMethodOnRibbonControlCreated(global::System.IntPtr strId, global::System.IntPtr pControl) {
213 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
CFxUIToolbarItem) };
214 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { typeof(
CFxUIItemDefinition) };
215 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(CFxUIMenuItem) };
216 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(CFxUIToolbarItem) };
217 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(CFxUIItemDefinition) };
218 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(CFxUIMenuItem) };
219 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(CFxUIToolbarItem), typeof(
bool) };
220 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(CFxUIMenuItem) };
221 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
222 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { };
223 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(CFxString), typeof(SWIGTYPE_p_p_CFxWidget) };
static HandleRef getCPtr(CFxString obj)
static HandleRef getCPtr(CFxUIItemDefinition obj)
delegate void SwigDelegateCFxUIReactor_3(global::System.IntPtr pUIToolBar)
virtual void OnToolbarVisibilityChanged(CFxUIToolbarItem pUIToolBar, bool bVisible)
delegate void SwigDelegateCFxUIReactor_6(global::System.IntPtr pUIToolBar, bool bVisible)
delegate void SwigDelegateCFxUIReactor_9()
virtual void OnInterfaceAboutToReload()
virtual void OnMenuItemCreated(CFxUIMenuItem pMenuItem)
virtual void OnItemDefinitionAboutToDestroy(CFxUIItemDefinition pUIItemDef)
static HandleRef getCPtr(CFxUIReactor obj)
delegate void SwigDelegateCFxUIReactor_2(global::System.IntPtr pMenuItem)
CFxUIReactor(IntPtr cPtr, bool cMemoryOwn)
virtual void OnItemDefinitionCreated(CFxUIItemDefinition pItemDef)
virtual void OnToolbarItemAboutToDestroy(CFxUIToolbarItem pUIToolBar)
delegate void SwigDelegateCFxUIReactor_5(global::System.IntPtr pUIMenuItem)
virtual void OnInterfaceReloaded()
virtual void OnSubMenuAboutToShow(CFxUIMenuItem pSubMenu)
delegate void SwigDelegateCFxUIReactor_8()
delegate void SwigDelegateCFxUIReactor_1(global::System.IntPtr pItemDef)
delegate void SwigDelegateCFxUIReactor_10(global::System.IntPtr strId, global::System.IntPtr pControl)
delegate void SwigDelegateCFxUIReactor_7(global::System.IntPtr pSubMenu)
delegate void SwigDelegateCFxUIReactor_4(global::System.IntPtr pUIItemDef)
virtual void OnToolbarItemCreated(CFxUIToolbarItem pToolBarItem)
virtual void Dispose(bool disposing)
virtual void OnRibbonControlCreated(CFxString strId, SWIGTYPE_p_p_CFxWidget pControl)
delegate void SwigDelegateCFxUIReactor_0(global::System.IntPtr pToolBarItem)
virtual void OnMenuItemAboutToDestroy(CFxUIMenuItem pUIMenuItem)
static global::System.Exception Retrieve()
static void CFxUIReactor_OnItemDefinitionAboutToDestroy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnSubMenuAboutToShowSwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnToolbarItemCreatedSwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnMenuItemCreated(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnToolbarVisibilityChangedSwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void CFxUIReactor_OnSubMenuAboutToShow(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_CFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIReactor_OnRibbonControlCreated(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CFxUIReactor_OnMenuItemAboutToDestroySwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnMenuItemCreatedSwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnRibbonControlCreatedSwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CFxUIReactor_OnMenuItemAboutToDestroy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnInterfaceAboutToReloadSwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIReactor_OnToolbarItemAboutToDestroySwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnToolbarItemAboutToDestroy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnItemDefinitionCreated(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnItemDefinitionCreatedSwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnItemDefinitionAboutToDestroySwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_OnToolbarItemCreated(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxUIReactor.SwigDelegateCFxUIReactor_0 delegate0, CFxUIReactor.SwigDelegateCFxUIReactor_1 delegate1, CFxUIReactor.SwigDelegateCFxUIReactor_2 delegate2, CFxUIReactor.SwigDelegateCFxUIReactor_3 delegate3, CFxUIReactor.SwigDelegateCFxUIReactor_4 delegate4, CFxUIReactor.SwigDelegateCFxUIReactor_5 delegate5, CFxUIReactor.SwigDelegateCFxUIReactor_6 delegate6, CFxUIReactor.SwigDelegateCFxUIReactor_7 delegate7, CFxUIReactor.SwigDelegateCFxUIReactor_8 delegate8, CFxUIReactor.SwigDelegateCFxUIReactor_9 delegate9, CFxUIReactor.SwigDelegateCFxUIReactor_10 delegate10)
static void CFxUIReactor_OnInterfaceAboutToReload(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIReactor_OnInterfaceReloadedSwigExplicitCFxUIReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIReactor_OnToolbarVisibilityChanged(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void CFxUIReactor_OnInterfaceReloaded(global::System.Runtime.InteropServices.HandleRef jarg1)