public class WorkSpace extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.
|
static long[] |
__DNA__FIELD__hook_layout_relations
Field descriptor (offset) for struct member 'hook_layout_relations'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__layouts
Field descriptor (offset) for struct member 'layouts'.
|
static long[] |
__DNA__FIELD__object_mode
Field descriptor (offset) for struct member 'object_mode'.
|
static long[] |
__DNA__FIELD__order
Field descriptor (offset) for struct member 'order'.
|
static long[] |
__DNA__FIELD__owner_ids
Field descriptor (offset) for struct member 'owner_ids'.
|
static long[] |
__DNA__FIELD__status_text
Field descriptor (offset) for struct member 'status_text'.
|
static long[] |
__DNA__FIELD__tools
Field descriptor (offset) for struct member 'tools'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct WorkSpace.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
WorkSpace(long __address,
Block __block,
BlockTable __blockTable) |
protected |
WorkSpace(WorkSpace that) |
Modifier and Type | Method and Description |
---|---|
CPointer<WorkSpace> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
int |
getFlags()
Get method for struct member 'flags'.
|
ListBase |
getHook_layout_relations()
Get method for struct member 'hook_layout_relations'.
|
ID |
getId()
Get method for struct member 'id'.
|
ListBase |
getLayouts()
Get method for struct member 'layouts'.
|
int |
getObject_mode()
Get method for struct member 'object_mode'.
|
int |
getOrder()
Get method for struct member 'order'.
|
ListBase |
getOwner_ids()
Get method for struct member 'owner_ids'.
|
CPointer<java.lang.Byte> |
getStatus_text()
Get method for struct member 'status_text'.
|
ListBase |
getTools()
Get method for struct member 'tools'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setFlags(int flags)
Set method for struct member 'flags'.
|
void |
setHook_layout_relations(ListBase hook_layout_relations)
Set method for struct member 'hook_layout_relations'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setLayouts(ListBase layouts)
Set method for struct member 'layouts'.
|
void |
setObject_mode(int object_mode)
Set method for struct member 'object_mode'.
|
void |
setOrder(int order)
Set method for struct member 'order'.
|
void |
setOwner_ids(ListBase owner_ids)
Set method for struct member 'owner_ids'.
|
void |
setStatus_text(CPointer<java.lang.Byte> status_text)
Set method for struct member 'status_text'.
|
void |
setTools(ListBase tools)
Set method for struct member 'tools'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for WorkSpace.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__layouts
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__layouts); CPointer<ListBase> p_layouts = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__hook_layout_relations
Store for each hook (so for each window) which layout has been activated the last time this workspace was visible. WorkSpaceDataRelation
.
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__hook_layout_relations); CPointer<ListBase> p_hook_layout_relations = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__owner_ids
Feature tagging (use for addons) wmOwnerID
.
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__owner_ids); CPointer<ListBase> p_owner_ids = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__tools
List of bToolRef
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__tools); CPointer<ListBase> p_tools = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__object_mode
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__object_mode); CPointer<Integer> p_object_mode = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__flags
Enum eWorkSpaceFlags.
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__flags); CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__order
Number for workspace tab reordering in the UI.
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__order); CPointer<Integer> p_order = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__status_text
Info text from modal operators (runtime).
This is how you get a reference on the corresponding field in the struct:
WorkSpace workspace = ...; CPointer<Object> p = workspace.__dna__addressof(WorkSpace.__DNA__FIELD__status_text); CPointer<CPointer<Byte>> p_status_text = p.cast(new Class[]{CPointer.class, Byte.class});
public WorkSpace(long __address, Block __block, BlockTable __blockTable)
protected WorkSpace(WorkSpace that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public ListBase getLayouts() throws java.io.IOException
java.io.IOException
__DNA__FIELD__layouts
public void setLayouts(ListBase layouts) throws java.io.IOException
java.io.IOException
__DNA__FIELD__layouts
public ListBase getHook_layout_relations() throws java.io.IOException
Store for each hook (so for each window) which layout has been activated the last time this workspace was visible. WorkSpaceDataRelation
.
java.io.IOException
__DNA__FIELD__hook_layout_relations
public void setHook_layout_relations(ListBase hook_layout_relations) throws java.io.IOException
Store for each hook (so for each window) which layout has been activated the last time this workspace was visible. WorkSpaceDataRelation
.
java.io.IOException
__DNA__FIELD__hook_layout_relations
public ListBase getOwner_ids() throws java.io.IOException
Feature tagging (use for addons) wmOwnerID
.
java.io.IOException
__DNA__FIELD__owner_ids
public void setOwner_ids(ListBase owner_ids) throws java.io.IOException
Feature tagging (use for addons) wmOwnerID
.
java.io.IOException
__DNA__FIELD__owner_ids
public ListBase getTools() throws java.io.IOException
List of bToolRef
java.io.IOException
__DNA__FIELD__tools
public void setTools(ListBase tools) throws java.io.IOException
List of bToolRef
java.io.IOException
__DNA__FIELD__tools
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public int getObject_mode() throws java.io.IOException
java.io.IOException
__DNA__FIELD__object_mode
public void setObject_mode(int object_mode) throws java.io.IOException
java.io.IOException
__DNA__FIELD__object_mode
public int getFlags() throws java.io.IOException
Enum eWorkSpaceFlags.
java.io.IOException
__DNA__FIELD__flags
public void setFlags(int flags) throws java.io.IOException
Enum eWorkSpaceFlags.
java.io.IOException
__DNA__FIELD__flags
public int getOrder() throws java.io.IOException
Number for workspace tab reordering in the UI.
java.io.IOException
__DNA__FIELD__order
public void setOrder(int order) throws java.io.IOException
Number for workspace tab reordering in the UI.
java.io.IOException
__DNA__FIELD__order
public CPointer<java.lang.Byte> getStatus_text() throws java.io.IOException
Info text from modal operators (runtime).
java.io.IOException
__DNA__FIELD__status_text
public void setStatus_text(CPointer<java.lang.Byte> status_text) throws java.io.IOException
Info text from modal operators (runtime).
java.io.IOException
__DNA__FIELD__status_text