Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxUIItemDefinition.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 CFxUIItemDefinition : 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 CFxUIItemDefinition(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(CFxUIItemDefinition 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 void SetID(CFxString sId) {
64 }
65
66 public virtual CFxString GetID() {
69 return ret;
70 }
71
72 public virtual CFxUIContext GetContext() {
73 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIItemDefinition_GetContext(swigCPtr);
74 CFxUIContext ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIContext(cPtr, false);
76 return ret;
77 }
78
79 public virtual CFxString GetName() {
82 return ret;
83 }
84
85 public virtual void SetName(CFxString name) {
88 }
89
90 public virtual CFxString GetCommand() {
93 return ret;
94 }
95
96 public virtual void SetCommand(CFxString command) {
99 }
100
101 public virtual SWIGTYPE_p_QIcon GetIcon(int iSize) {
104 return ret;
105 }
106
107 public virtual SWIGTYPE_p_QIcon GetDarkIcon(int iSize) {
110 return ret;
111 }
112
113 public virtual SWIGTYPE_p_QIcon GetLightIcon(int iSize) {
116 return ret;
117 }
118
119 public virtual CFxString GetDarkIconInfo(CFxString iconResource) {
122 return ret;
123 }
124
125 public virtual void SetDarkIconInfo(CFxString iconName, CFxString iconResource) {
128 }
129
130 public virtual CFxString GetLightIconInfo(CFxString iconResource) {
133 return ret;
134 }
135
136 public virtual void SetLightIconInfo(CFxString iconName, CFxString iconResource) {
139 }
140
141 public virtual CFxString GetDescription() {
144 return ret;
145 }
146
147 public virtual void SetDescription(CFxString description) {
150 }
151
152 public virtual bool IsObsolete() {
155 return ret;
156 }
157
158 public virtual void SetObsolete(bool bObsolete) {
161 }
162
163 public virtual bool IsRuntime() {
166 return ret;
167 }
168
169}
170
171}
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
virtual CFxString GetLightIconInfo(CFxString iconResource)
virtual void SetDarkIconInfo(CFxString iconName, CFxString iconResource)
virtual void Dispose(bool disposing)
virtual void SetCommand(CFxString command)
virtual void SetDescription(CFxString description)
virtual CFxString GetDarkIconInfo(CFxString iconResource)
virtual void SetLightIconInfo(CFxString iconName, CFxString iconResource)
virtual void SetName(CFxString name)
CFxUIItemDefinition(IntPtr cPtr, bool cMemoryOwn)
virtual void SetObsolete(bool bObsolete)
virtual SWIGTYPE_p_QIcon GetDarkIcon(int iSize)
static HandleRef getCPtr(CFxUIItemDefinition obj)
virtual SWIGTYPE_p_QIcon GetIcon(int iSize)
virtual void SetID(CFxString sId)
virtual SWIGTYPE_p_QIcon GetLightIcon(int iSize)
static bool CFxUIItemDefinition_IsObsolete(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIItemDefinition_SetName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetDarkIcon(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool CFxUIItemDefinition_IsRuntime(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIItemDefinition_GetContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIItemDefinition_SetDescription(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIItemDefinition_GetLightIcon(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetIcon(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIItemDefinition_GetID(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIItemDefinition_SetDarkIconInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr CFxUIItemDefinition_GetCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIItemDefinition_GetLightIconInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIItemDefinition_SetObsolete(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr CFxUIItemDefinition_GetDarkIconInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIItemDefinition_SetLightIconInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CFxUIItemDefinition_SetCommand(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIItemDefinition_SetID(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)