Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxUIAccelerator.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxUIAccelerator : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxUIAccelerator(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxUIAccelerator obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 if (swigCPtr.Handle != IntPtr.Zero)
43 {
44 if (swigCMemOwn)
45 {
46 lock (locker)//(this)
47 {
48 if ((swigCPtr.Handle != IntPtr.Zero) && (swigCMemOwn))
49 {
50 swigCMemOwn = false;
51 throw new MethodAccessException("C++ destructor does not have public access");
52 }
53 }
54 swigCMemOwn = false;
55 }
56 swigCPtr = new HandleRef(null, IntPtr.Zero);
57 }
58 GC.SuppressFinalize(this);
59 }
60
61 public virtual CFxString GetKeySequence() {
64 return ret;
65 }
66 public virtual void SetKeySequence(CFxString stKeySequence) {
69 }
70
71
72 public virtual CFxString GetUID() {
75 return ret;
76 }
77
78 public virtual void SetUID(CFxString strUID) {
81 }
82
83 public virtual CFxString GetName() {
86 return ret;
87 }
88
89 public virtual void SetName(CFxString name) {
92 }
93
94 public virtual void SetDefinition(CFxUIItemDefinition pDefinition) {
97 }
98
100 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIAccelerator_GetDefinition(swigCPtr);
101 CFxUIItemDefinition ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIItemDefinition(cPtr, false);
103 return ret;
104 }
105
106 public virtual bool IsObsolete() {
109 return ret;
110 }
111
112 public virtual void SetObsolete(bool bObsolete) {
115 }
116
117 public virtual bool IsRuntime() {
120 return ret;
121 }
122
123}
124
125}
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
virtual void SetUID(CFxString strUID)
virtual CFxUIItemDefinition GetDefinition()
virtual void SetKeySequence(CFxString stKeySequence)
virtual void SetObsolete(bool bObsolete)
virtual void SetName(CFxString name)
virtual void SetDefinition(CFxUIItemDefinition pDefinition)
static HandleRef getCPtr(CFxUIAccelerator obj)
virtual void Dispose(bool disposing)
CFxUIAccelerator(IntPtr cPtr, bool cMemoryOwn)
virtual CFxString GetKeySequence()
static HandleRef getCPtr(CFxUIItemDefinition obj)
static bool CFxUIAccelerator_IsRuntime(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxUIAccelerator_GetKeySequence(HandleRef jarg1)
static bool CFxUIAccelerator_IsObsolete(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIAccelerator_SetObsolete(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr CFxUIAccelerator_GetUID(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIAccelerator_SetName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIAccelerator_SetUID(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIAccelerator_GetDefinition(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIAccelerator_SetDefinition(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIAccelerator_GetName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIAccelerator_SetKeySequence(HandleRef jarg1, HandleRef jarg2)