14using System.Runtime.InteropServices;
19 private Object locker =
new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 swigCPtr =
new HandleRef(
this, cPtr);
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
31 protected override void Dispose(
bool disposing) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
38 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
40 base.Dispose(disposing);
45 : this(
PCADGlobalsPINVOKE.new_CFxCommand(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
47 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
50 mTr.AddObject(
new CFxCommand(swigCPtr.Handle,
true));
53 SwigDirectorConnect();
93 public virtual void Help() {
115 private void SwigDirectorConnect() {
116 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
118 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
120 if (SwigDerivedClassHasMethod(
"globalName", swigMethodTypes2))
122 if (SwigDerivedClassHasMethod(
"localName", swigMethodTypes3))
124 if (SwigDerivedClassHasMethod(
"module", swigMethodTypes4))
126 if (SwigDerivedClassHasMethod(
"undefine", swigMethodTypes5))
128 if (SwigDerivedClassHasMethod(
"flags", swigMethodTypes6))
130 if (SwigDerivedClassHasMethod(
"Execute", swigMethodTypes7))
132 if (SwigDerivedClassHasMethod(
"Help", swigMethodTypes8))
134 if (SwigDerivedClassHasMethod(
"GetHelpId", swigMethodTypes9))
136 if (SwigDerivedClassHasMethod(
"displayName", swigMethodTypes10))
138 PCADGlobalsPINVOKE.
CFxCommand_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
141 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
142 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);
143 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
CFxCommand));
144 return hasDerivedMethod;
147 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
156 private IntPtr SwigDirectorMethodisA() {
163 [
return: MarshalAs(UnmanagedType.LPWStr)]
164 private String SwigDirectorMethodglobalName() {
168 [
return: MarshalAs(UnmanagedType.LPWStr)]
169 private String SwigDirectorMethodlocalName() {
173 private IntPtr SwigDirectorMethodmodule() {
180 private void SwigDirectorMethodundefine(
bool undefIt) {
184 private Int32 SwigDirectorMethodflags() {
188 private int SwigDirectorMethodExecute(global::System.IntPtr pFxCmdCtx) {
189 return Execute((pFxCmdCtx == global::System.IntPtr.Zero) ?
null :
new CFxCommandContext(pFxCmdCtx,
false));
192 private void SwigDirectorMethodHelp() {
196 private uint SwigDirectorMethodGetHelpId() {
200 [
return: MarshalAs(UnmanagedType.LPWStr)]
201 private String SwigDirectorMethoddisplayName() {
207 [
return: MarshalAs(UnmanagedType.LPWStr)]
209 [
return: MarshalAs(UnmanagedType.LPWStr)]
217 [
return: MarshalAs(UnmanagedType.LPWStr)]
232 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
233 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
234 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { };
235 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
236 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
237 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(
bool) };
238 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { };
239 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(CFxCommandContext) };
240 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
241 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { };
242 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { };
static HandleRef getCPtr(CFxCommandContext obj)
delegate IntPtr SwigDelegateCFxCommand_4()
const int kUseHoverSelection
const int kApplicationContext
delegate IntPtr SwigDelegateCFxCommand_1()
const int kDisabledInActionRecording
static HandleRef getCPtr(CFxCommand obj)
static CFxString GetLISPGroupName(CFxDocument pDocument)
delegate IntPtr SwigDelegateCFxCommand_0(IntPtr protocolClass)
CFxCommand(IntPtr cPtr, bool cMemoryOwn)
override void undefine(bool undefIt)
virtual int Execute(CFxCommandContext pFxCmdCtx)
const int kDisabledInRefedit
const int kHiddenInAutoComplete
const int kDimMoveEnabled
delegate void SwigDelegateCFxCommand_5(bool undefIt)
delegate String SwigDelegateCFxCommand_10()
const int kNoSelectionSetModifications
delegate uint SwigDelegateCFxCommand_9()
delegate int SwigDelegateCFxCommand_7(global::System.IntPtr pFxCmdCtx)
virtual String displayName()
override void Dispose(bool disposing)
delegate Int32 SwigDelegateCFxCommand_6()
delegate void SwigDelegateCFxCommand_8()
delegate String SwigDelegateCFxCommand_3()
static CFxString GetBuiltInGroupName()
delegate String SwigDelegateCFxCommand_2()
const int kNoCommandOutput
static HandleRef getCPtr(CFxDocument obj)
static global::System.Exception Retrieve()
static void CFxCommand_undefine(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxCommand_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxCommand.SwigDelegateCFxCommand_0 delegate0, CFxCommand.SwigDelegateCFxCommand_1 delegate1, CFxCommand.SwigDelegateCFxCommand_2 delegate2, CFxCommand.SwigDelegateCFxCommand_3 delegate3, CFxCommand.SwigDelegateCFxCommand_4 delegate4, CFxCommand.SwigDelegateCFxCommand_5 delegate5, CFxCommand.SwigDelegateCFxCommand_6 delegate6, CFxCommand.SwigDelegateCFxCommand_7 delegate7, CFxCommand.SwigDelegateCFxCommand_8 delegate8, CFxCommand.SwigDelegateCFxCommand_9 delegate9, CFxCommand.SwigDelegateCFxCommand_10 delegate10)
static bool CFxCommand_HasFlag(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void CFxCommand_Help(global::System.Runtime.InteropServices.HandleRef jarg1)
static String CFxCommand_displayName(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint CFxCommand_GetHelpId(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint CFxCommand_GetHelpIdSwigExplicitCFxCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_CFxCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static String CFxCommand_displayNameSwigExplicitCFxCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxCommand_Execute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxCommand_OpenHelp()
static void CFxCommand_undefineSwigExplicitCFxCommand(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxCommand_HelpSwigExplicitCFxCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxCommand_GetBuiltInGroupName()
static Int32 CFxCommand_flags(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int32 CFxCommand_flagsSwigExplicitCFxCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxCommand_GetLISPGroupName(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual String localName()
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdRxModule module()
virtual String globalName()
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxModule obj)
static HandleRef getCPtr(OdRxObject obj)