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();
56 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
59 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
63 this.swigCMemOwn =
false;
123 private void SwigDirectorConnect() {
124 if (SwigDerivedClassHasMethod(
"OnToolbarItemCreated", swigMethodTypes0))
126 if (SwigDerivedClassHasMethod(
"OnItemDefinitionCreated", swigMethodTypes1))
128 if (SwigDerivedClassHasMethod(
"OnMenuItemCreated", swigMethodTypes2))
130 if (SwigDerivedClassHasMethod(
"OnToolbarItemAboutToDestroy", swigMethodTypes3))
132 if (SwigDerivedClassHasMethod(
"OnItemDefinitionAboutToDestroy", swigMethodTypes4))
134 if (SwigDerivedClassHasMethod(
"OnMenuItemAboutToDestroy", swigMethodTypes5))
136 if (SwigDerivedClassHasMethod(
"OnToolbarVisibilityChanged", swigMethodTypes6))
138 if (SwigDerivedClassHasMethod(
"OnSubMenuAboutToShow", swigMethodTypes7))
140 if (SwigDerivedClassHasMethod(
"OnInterfaceAboutToReload", swigMethodTypes8))
142 if (SwigDerivedClassHasMethod(
"OnInterfaceReloaded", swigMethodTypes9))
144 if (SwigDerivedClassHasMethod(
"OnRibbonControlCreated", swigMethodTypes10))
146 PCADGlobalsPINVOKE.
CFxUIReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
149 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
150 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);
151 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
CFxUIReactor));
152 return hasDerivedMethod;
155 private void SwigDirectorMethodOnToolbarItemCreated(global::System.IntPtr pToolBarItem) {
156 OnToolbarItemCreated((pToolBarItem == global::System.IntPtr.Zero) ?
null : new CFxUIToolbarItem(pToolBarItem, false));
159 private void SwigDirectorMethodOnItemDefinitionCreated(global::System.IntPtr pItemDef) {
160 OnItemDefinitionCreated((pItemDef == global::System.IntPtr.Zero) ?
null : new CFxUIItemDefinition(pItemDef, false));
163 private void SwigDirectorMethodOnMenuItemCreated(global::System.IntPtr pMenuItem) {
164 OnMenuItemCreated((pMenuItem == global::System.IntPtr.Zero) ?
null : new CFxUIMenuItem(pMenuItem, false));
167 private void SwigDirectorMethodOnToolbarItemAboutToDestroy(global::System.IntPtr pUIToolBar) {
171 private void SwigDirectorMethodOnItemDefinitionAboutToDestroy(global::System.IntPtr pUIItemDef) {
175 private void SwigDirectorMethodOnMenuItemAboutToDestroy(global::System.IntPtr pUIMenuItem) {
176 OnMenuItemAboutToDestroy((pUIMenuItem == global::System.IntPtr.Zero) ?
null : new CFxUIMenuItem(pUIMenuItem, false));
179 private void SwigDirectorMethodOnToolbarVisibilityChanged(global::System.IntPtr pUIToolBar,
bool bVisible) {
180 OnToolbarVisibilityChanged((pUIToolBar == global::System.IntPtr.Zero) ?
null : new CFxUIToolbarItem(pUIToolBar, false), bVisible);
183 private void SwigDirectorMethodOnSubMenuAboutToShow(global::System.IntPtr pSubMenu) {
184 OnSubMenuAboutToShow((pSubMenu == global::System.IntPtr.Zero) ?
null : new CFxUIMenuItem(pSubMenu, false));
187 private void SwigDirectorMethodOnInterfaceAboutToReload() {
191 private void SwigDirectorMethodOnInterfaceReloaded() {
195 private void SwigDirectorMethodOnRibbonControlCreated(global::System.IntPtr strId, global::System.IntPtr pControl) {
223 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
CFxUIToolbarItem) };
224 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { typeof(
CFxUIItemDefinition) };
225 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(CFxUIMenuItem) };
226 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(CFxUIToolbarItem) };
227 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(CFxUIItemDefinition) };
228 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(CFxUIMenuItem) };
229 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(CFxUIToolbarItem), typeof(
bool) };
230 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(CFxUIMenuItem) };
231 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
232 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { };
233 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(CFxString), typeof(SWIGTYPE_p_p_CFxWidget) };
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)