Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxUIWorkspace.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 CFxUIWorkspace : 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 CFxUIWorkspace(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(CFxUIWorkspace 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 GetName() {
64 return ret;
65 }
66
67 public virtual void SetName(CFxString strName) {
70 }
71
72 public virtual CFxString GetLocalizedName() {
75 return ret;
76 }
77
78 public virtual void SetLocalizedName(CFxString strName) {
81 }
82
83 public virtual CFxString GetFileName() {
86 return ret;
87 }
88
89 public virtual void SetFileName(CFxString strFileName) {
92 }
93
94 public virtual CFxString GetDescription() {
97 return ret;
98 }
99
100 public virtual void SetDescription(CFxString strDesc) {
103 }
104
106 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIWorkspace_GetMenus(swigCPtr);
107 CFxUIMenuItemCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIMenuItemCollection(cPtr, false);
109 return ret;
110 }
111
113 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIWorkspace_GetToolbars(swigCPtr);
114 CFxUIToolbarItemCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIToolbarItemCollection(cPtr, false);
116 return ret;
117 }
118
120 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIWorkspace_GetNavigationToolbars(swigCPtr);
121 CFxUIToolbarItemCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIToolbarItemCollection(cPtr, false);
123 return ret;
124 }
125
127 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIWorkspace_GetDockableWindows(swigCPtr);
128 CFxUIDockableWindowCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxUIDockableWindowCollection(cPtr, false);
130 return ret;
131 }
132
133 public virtual bool GetStatusBarVisible() {
136 return ret;
137 }
138
139 public virtual void SetStatusBarVisible(bool bVisible) {
142 }
143
145 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxUIWorkspace_GetRibbonSystemMenu(swigCPtr);
146 SWIGTYPE_p_CFxUIRibbonSystemMenuItem ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_CFxUIRibbonSystemMenuItem(cPtr, false);
148 return ret;
149 }
150
151 public virtual void SetRibbonQuickAccessBar(SWIGTYPE_p_CFxUIRibbonQuickAccessBar pQuickAccessBar, CFxString sGroupName) {
154 }
155
156}
157
158}
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
virtual void SetFileName(CFxString strFileName)
static HandleRef getCPtr(CFxUIWorkspace obj)
virtual bool GetStatusBarVisible()
virtual CFxUIToolbarItemCollection GetNavigationToolbars()
virtual void SetRibbonQuickAccessBar(SWIGTYPE_p_CFxUIRibbonQuickAccessBar pQuickAccessBar, CFxString sGroupName)
virtual CFxString GetLocalizedName()
virtual CFxString GetDescription()
virtual CFxUIMenuItemCollection GetMenus()
virtual CFxString GetFileName()
virtual void Dispose(bool disposing)
virtual void SetDescription(CFxString strDesc)
virtual void SetStatusBarVisible(bool bVisible)
virtual void SetName(CFxString strName)
virtual CFxUIDockableWindowCollection GetDockableWindows()
virtual CFxUIToolbarItemCollection GetToolbars()
virtual CFxString GetName()
virtual void SetLocalizedName(CFxString strName)
virtual SWIGTYPE_p_CFxUIRibbonSystemMenuItem GetRibbonSystemMenu()
CFxUIWorkspace(IntPtr cPtr, bool cMemoryOwn)
static void CFxUIWorkspace_SetFileName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIWorkspace_SetLocalizedName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIWorkspace_GetRibbonSystemMenu(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIWorkspace_GetMenus(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxUIWorkspace_GetStatusBarVisible(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIWorkspace_GetFileName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIWorkspace_GetName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIWorkspace_SetStatusBarVisible(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxUIWorkspace_SetRibbonQuickAccessBar(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr CFxUIWorkspace_GetToolbars(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIWorkspace_GetNavigationToolbars(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIWorkspace_GetDockableWindows(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxUIWorkspace_SetDescription(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxUIWorkspace_SetName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxUIWorkspace_GetLocalizedName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxUIWorkspace_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1)