Jump to: navigation, search

Difference between revisions of "Class Details"


(Created page with "The Class Detail browser is designed to display and edit the details of {{UBIK}} MetaClasses in terms of its properties and classifications.")
 
Line 1: Line 1:
The Class Detail browser is designed to display and edit the details of {{UBIK}} MetaClasses in terms of its properties and classifications.
+
==Purpose==
 +
The Class Detail browser is designed to display and edit the details of {{UBIK}} [[MetaClass|MetaClasses]] in terms of its [[MetaProperty|MetaProperties]], [[Attribute|Attributes]] and [[Classification|Classifications]].
 +
 
 +
==Basics==
 +
 
 +
===Appearance===
 +
====Icons====
 +
The control uses the very same icons as the [[ClassBrowser]].
 +
 
 +
====Tooltips====
 +
The control implements the very same Tooltip logics as the ClassBrowser.
 +
 
 +
====Node Texts====
 +
The nodes will always display the string representation of the respective object, which is by default
 +
* ''Name Description'' for MetaClasses
 +
* ''Description (Name)'' for Content objects
 +
 
 +
However, as this is something that can be customized, the nodes might display something different.
 +
 
 +
===Drag & Drop===
 +
The Class Details control is a source for Drag&Drop operations, any object can be dragged from here. It is also a target for Drag&Drop operations, MetaProperty objects can be dropped on MetaClass nodes.
 +
 
 +
==Toolbar==
 +
{| class="wikitable"
 +
|-
 +
! Control !! 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 MetaClass.
 +
|}
 +
 
 +
==Context menu==
 +
Clicking a node with the right mouse button will bring up a standard context menu for each node, except namespaces. Depending on the view style there will be different options, however, all nodes will at least show the following menu items:
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Menu !! Object Type !! Purpose
 +
|- align="left"
 +
| Remove || MetaProperty || Removes the selected MetaProperty from the MetaClass
 +
|- 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 Class Details control has four different View Styles, each of them providing different views and functionality.
 +
 
 +
===Attributes===
 +
This view mode has no functionality yet.
 +
 
 +
===MetaProperties===
 +
In this view mode, the [[MetaProperty]] relation of the current context MetaClass will be evaluated. So expanding the root node will display all children of this relation, meaning every MetaProperty assigned to this MetaClass.
 +
 
 +
===Classification===
 +
In this view mode, the [[Classification|classifications]] of the current context MetaClass will be evaluated. So expanding the root node will display all children of this relation, meaning every classification assigned to this MetaClass.
 +
 
 +
===Everything===
 +
This view mode combines the three other view modes, thus provides a complete overview on the MetaClass details.
 +
 
 +
==Other functionality==
 +
 
 +
===Editing name and description of an object===
 +
Edit the label of any node (except Namespaces) using {{key press|F2}} and hit {{key press|Enter}} when finished. This will attempt to set the text left of the first blank to the Name (''NAME'')-property of the object, and the text right of the first blank to its Description (''DESCR'')-property.
 +
If the object doesn't posses the ''NAME'' or the ''DESCR'' property or it is locked for whatever reason, editing will not be possible.
 +
 
 +
 
 +
 
 +
[[Category:UBIK Studio Controls]]

Revision as of 08:46, 11 March 2013

Purpose

The Class Detail browser is designed to display and edit the details of UBIK® MetaClasses in terms of its MetaProperties, Attributes and Classifications.

Basics

Appearance

Icons

The control uses the very same icons as the ClassBrowser.

Tooltips

The control implements the very same Tooltip logics as the ClassBrowser.

Node Texts

The nodes will always display the string representation of the respective object, which is by default

  • Name Description for MetaClasses
  • Description (Name) for Content objects

However, as this is something that can be customized, the nodes might display something different.

Drag & Drop

The Class Details control is a source for Drag&Drop operations, any object can be dragged from here. It is also a target for Drag&Drop operations, MetaProperty objects can be dropped on MetaClass nodes.

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.

Context menu

Clicking a node with the right mouse button will bring up a standard context menu for each node, except namespaces. Depending on the view style there will be different options, however, all nodes will at least show the following menu items:

Menu Object Type Purpose
Remove MetaProperty Removes the selected MetaProperty from the MetaClass
Navigate To All Opens the Navigation menu
Save All Saves changes on the object to the database
Delete All Deletes the object from cache. It will only be removed from the database after a Save

View Styles

The Class Details control has four different View Styles, each of them providing different views and functionality.

Attributes

This view mode has no functionality yet.

MetaProperties

In this view mode, the MetaProperty relation of the current context MetaClass will be evaluated. So expanding the root node will display all children of this relation, meaning every MetaProperty assigned to this MetaClass.

Classification

In this view mode, the classifications of the current context MetaClass will be evaluated. So expanding the root node will display all children of this relation, meaning every classification assigned to this MetaClass.

Everything

This view mode combines the three other view modes, thus provides a complete overview on the MetaClass details.

Other functionality

Editing name and description of an object

Edit the label of any node (except Namespaces) using F2 and hit Enter when finished. This will attempt to set the text left of the first blank to the Name (NAME)-property of the object, and the text right of the first blank to its Description (DESCR)-property. If the object doesn't posses the NAME or the DESCR property or it is locked for whatever reason, editing will not be possible.