Jump to: navigation, search

Class Details


Revision as of 08:50, 11 March 2013 by JKN (Talk | contribs) (Toolbar)

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.
Save Saves the relation data object.
Add Shows a picker to either add a new MetaProperty, or a new Classification to the current MetaClass, depending on the current View Style.

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.