Difference between revisions of "Object Editor"
(Created page with "==Purpose== The Object Editor is designed to display and edit the properties of a single {{UBIK}} object. ==Basics== ===Appearance=== ====Property controls=...") |
|||
Line 12: | Line 12: | ||
! Data type!! Editing control!! Comment | ! Data type!! Editing control!! Comment | ||
|- align="left" | |- align="left" | ||
− | | [[Bool]] || Picture || True or false | + | | [[Bool]] || Picture || True or false to be read/set via a Checkbox |
|- align="left" | |- align="left" | ||
| [[ByteStream]]|| Picture ||Internal type, will not result in an editing control | | [[ByteStream]]|| Picture ||Internal type, will not result in an editing control | ||
|- align="left" | |- align="left" | ||
− | | [[DateTime]] || Picture || | + | | [[DateTime]] || Picture || Date and time in a combined value; format according to regional settings |
|- align="left" | |- align="left" | ||
− | | [[Double]] || Picture || | + | | [[Double]] || Picture || Double-precision floating-point format, optionally with [[Unit|unit]] |
|- align="left" | |- align="left" | ||
− | | [[FileReference]]|| Picture || | + | | [[FileReference]]|| Picture || A path to a physical file in [http://en.wikipedia.org/wiki/Path_(computing)#MS-DOS.2FMicrosoft_Windows_style DOS/Windows]- or [http://en.wikipedia.org/wiki/Path_(computing)#Uniform_Naming_Convention UNC] notation |
|- align="left" | |- align="left" | ||
− | | [[GeoData]] || Picture || | + | | [[GeoData]] || Picture || Absolute geographic position combined of Longitude, Latitude and Altitude in [http://en.wikipedia.org/wiki/World_Geodetic_System WGS84] format |
|- align="left" | |- align="left" | ||
− | | [[Guid]]|| Picture || | + | | [[Guid]]|| Picture || Pointer to another object, represented with the [http://en.wikipedia.org/wiki/Globally_unique_identifier GUID] of the target object |
|- align="left" | |- align="left" | ||
| [[Int]]|| Picture || | | [[Int]]|| Picture || | ||
Line 35: | Line 35: | ||
|} | |} | ||
− | ==== | + | ====Captions==== |
− | + | Per default, each editing control shows the description string (''DESCR'') of the respective MetaProperty as its caption. | |
====Tooltips==== | ====Tooltips==== | ||
− | + | There are two kinds of Tooltips used in this control: | |
− | + | * when hovering over the label of an editing control, a Tooltip with the ''NAME'' of the respective MetaProperty will appear | |
− | + | * when hovering over a editing control wit a defined [[Unit|unit]] (type double only), a Tooltip will show the current value computed in all other units of the same [[SI-Unit]]. | |
===Drag & Drop=== | ===Drag & Drop=== | ||
− | The Object Editor control is a target for Drag&Drop operations, any object can be | + | The Object Editor control is a target for Drag&Drop operations, any object can be dropped on the value field of an editing control if the dragged object matches the data type of the respective property. |
− | + | ||
==Toolbar== | ==Toolbar== | ||
Line 60: | Line 59: | ||
==Context menu== | ==Context menu== | ||
− | + | This control doesn't feature any context menu yet. | |
==View Styles== | ==View Styles== | ||
− | The | + | The Object Editor has two different View Styles, each of them providing different views and functionality. |
===List=== | ===List=== | ||
Line 69: | Line 68: | ||
===Layouted=== | ===Layouted=== | ||
− | No functionality yet | + | No functionality yet. |
==Other functionality== | ==Other functionality== |
Revision as of 12:27, 12 March 2013
Contents
Purpose
The Object Editor is designed to display and edit the properties of a single UBIK® object.
Basics
Appearance
Property controls
The control reads the property definition from the current context object and displays an editing control according to the respective data type of the MetaProperty:
Data type | Editing control | Comment |
---|---|---|
Bool | Picture | True or false to be read/set via a Checkbox |
ByteStream | Picture | Internal type, will not result in an editing control |
DateTime | Picture | Date and time in a combined value; format according to regional settings |
Double | Picture | Double-precision floating-point format, optionally with Unit |
FileReference | Picture | A path to a physical file in DOS/Windows- or UNC notation |
GeoData | Picture | Absolute geographic position combined of Longitude, Latitude and Altitude in WGS84 format |
Guid | Picture | Pointer to another object, represented with the GUID of the target object |
Int | Picture | |
String | Picture | |
Undefined | Picture | Internal type, will not result in an editing control |
XML | Picture |
Captions
Per default, each editing control shows the description string (DESCR) of the respective MetaProperty as its caption.
Tooltips
There are two kinds of Tooltips used in this control:
- when hovering over the label of an editing control, a Tooltip with the NAME of the respective MetaProperty will appear
- when hovering over a editing control wit a defined Unit (type double only), a Tooltip will show the current value computed in all other units of the same SI-Unit.
Drag & Drop
The Object Editor control is a target for Drag&Drop operations, any object can be dropped on the value field of an editing control if the dragged object matches the data type of the respective property.
Toolbar
Control | Purpose |
---|---|
View Style | Indicates or changes the View Style of the control; changing it will result in reloading of the control |
Navigate to context object | Attempts to navigate to the current context MetaClass. |
Save | Saves the relation data object. |
This control doesn't feature any context menu yet.
View Styles
The Object Editor has two different View Styles, each of them providing different views and functionality.
List
The control will display the properties in a list, sorted according to the property ORDERID
Layouted
No functionality yet.