ITK Function Reference

(V10000.1.0.60_20160308.00)
Functions
UI Configuration

Functions

UICONFIG_API int UICONFIG_ask_column_configurations (tag_t client_scope, int *column_config_count, tag_t **column_configs)
 
UICONFIG_API int UICONFIG_ask_column_definitions (tag_t column_config, logical query_by_scope, tag_t scope, int *column_def_count, char ***object_type_names, char ***property_names, int **pixel_widths, int *sort_by_column_def_index, char **sort_direction)
 
UICONFIG_API int UICONFIG_save_column_configuration (tag_t scope, tag_t client_scope, const char *column_config_id, int column_def_count, const char **object_type_names, const char **property_names, const int *pixel_widths, int sort_by_column_def_index, const char *sort_direction)
 

Detailed Description

Teamcenter has implemented UI Configuration functions that allows users to customize the UI of clients (Active Workspace Client, Rich Client, etc.)

Teamcenter makes use of this mechanism itself, and it also provides ITK level functions for programmers to make use of the same UI Configuration mechanism.

Note
Teamcenter may alter or obsolete UI Configuration codes as the product evolves. These changes will be documented in the Release Notes.

The ITK UI Configuration functions include:

To use these functions, include uiconfig_itk.h.

Function Documentation

UICONFIG_API int UICONFIG_ask_column_configurations ( tag_t  client_scope,
int *  column_config_count,
tag_t **  column_configs 
)

Queries the column configs for a client scope

Returns
Parameters
client_scope(I) Client scope Tag
column_config_count(O) Number of column definition
column_configs(OF) column_config_count Column configuration Tags
UICONFIG_API int UICONFIG_ask_column_definitions ( tag_t  column_config,
logical  query_by_scope,
tag_t  scope,
int *  column_def_count,
char ***  object_type_names,
char ***  property_names,
int **  pixel_widths,
int *  sort_by_column_def_index,
char **  sort_direction 
)

Queries the column definitions

Returns
Parameters
column_config(I) Column configuration Tag
query_by_scope(I) TRUE if query by passed in scope, FALSE if query by login user
scope(I) Scope tag if queryByScope is TRUE
column_def_count(O) Number of column definitions
object_type_names(OF) column_def_count Type names of Fnd0ColumnDef objects.
The array is packed, which means that the memory is deallocated by calling MEM_free on the container only.
property_names(OF) column_def_count Property names of Fnd0ColumnDef objects.
The array is packed, which means that the memory is deallocated by calling MEM_free on the container only.
pixel_widths(OF) column_def_count Pixel width of Fnd0ColumnDef objects
sort_by_column_def_index(O) Index of Fnd0ColumnDef object to sort by
sort_direction(OF) Sort direction. Values can are Ascending and Descending
UICONFIG_API int UICONFIG_save_column_configuration ( tag_t  scope,
tag_t  client_scope,
const char *  column_config_id,
int  column_def_count,
const char **  object_type_names,
const char **  property_names,
const int *  pixel_widths,
int  sort_by_column_def_index,
const char *  sort_direction 
)

Creates the Fnd0ColumnConfig and its Fnd0ColumnDef objects if they do not exist, and update those object if they exist

Returns
Parameters
scope(I) Tag of scope ( user, role or group, NULLTAG if site scope )
client_scope(I) Tag of Fnd0ClientScope object that the Fnd0ColumnConfig object should be attached to
column_config_id(I) Column configuration Id
column_def_count(I) Number of columnDef
object_type_names(I) Object type names of column definitions
property_names(I) Property names of column definitions
pixel_widths(I) Pixel widths of column definitions
sort_by_column_def_index(I) Index of column to sort by
sort_direction(I) Sort direction, valid values are Ascending and Descending