Jump to: navigation, search

Changes


Relation Editor

2,585 bytes added, 14:03, 22 April 2013
Created page with "==Purpose== [[File:UI_RelationEditor.png|200px|thumb|right|Relation Editor displaying system relations]] The Relation Editor is designed to display and edit {{UBIK}} relations..."
==Purpose==
[[File:UI_RelationEditor.png|200px|thumb|right|Relation Editor displaying system relations]]
The Relation Editor is designed to display and edit {{UBIK}} relationships and their respective child objects, as well as relation data in a hierarchical manner.











==Basics==

===Appearance===
====Icons====
The control uses the very same icons as the [[Class Browser#Icons|Class Browser]].

====Tooltips====
The control implements the very same Tooltip logic as the [[Class Browser#Tooltips|Class Browser]].

====Node styles====
The control implements the very same node styles as the [[Class Browser#Node styles|Class Browser]].

====Node texts====
The control implements the very same node texts as the [[Class Browser#Node texts|Class Browser]].

===Drag & Drop===
The Relation Editor is a source for Drag&Drop operations, any object can be dragged from here.

Relationship nodes are also targets for Drag&Drop operations. When dragging an object over such a node, it will check if the dragged object matches the right side of the respective relation (target type right).

==Toolbar==
{| class="wikitable" | width = "50%"
|-
! Item !! Purpose
|- align="left"
| View Style || Indicates or changes the [[#View Style|View Style]] of the control; changing it will result in reloading of the control
|- align="left"
| Navigate to context object || Attempts to [[Navigation|navigate]] to the current context object
|- align="left"
| Save || Saves the current context object
|}

==Context menu==
Clicking a node with the right mouse button will bring up a standard context menu for each node. Depending on the type of node clicked there will be different options. However, the following menu items are available:

{| class="wikitable" | width = "50%"
|-
! Menu !! Object Type !! Purpose
|- align="left"
| Remove from relation || Relation child objects || Removes the object as a child of the superior relationship
|- align="left"
| Navigate To || All || Opens the [[Navigation|navigation]] menu
|- align="left"
| Save || All || Saves changes on the object to the database
|- align="left"
| Delete || All || Deletes the object from cache. It will only be removed from the database after a Save
|}

==View Styles==
The Object Editor has only one view style at the moment.

===Relation content===
In this view style, it is possible to add children to existing relations and to remove them.

==Relation data==
[[File:UI_RelationEditor_RelationData.png|200px|thumb|right|Relation data of a MetaProperty]]








==Other functionality==

[[Category:UBIK Studio Controls]]