Jump to: navigation, search

Changes


UBIK Studio Basics

534 bytes removed, 15:29, 22 January 2013
{{UBIK}} Studio is the server application and administrative tool for creating and modifying {{UBIK}} object models. Transfer your entitiy-relationship-model into {{UBIK}} metaclasses MetaClasses and metaproperties MetaProperties and build up necessary relations. It is also the instrument of your choice to manage instances of metaclassesMetaClasses, edit their property values and create actual relations between instance objects. This section will provide you with more information on the user interface.
[[File:METACLASS.png|thumb|upright|alt={{UBIK}} metaclass|{{UBIK}} metaclass]]
=== Working area and controls ===
The starting main window of {{UBIK}} Studio is split into 3 partssections, where each of the 3 areas can hold an arbitrary amount of controls.The arrangement of the controls is user specific. [[File:Ubik_studio.jpg|500px]] Each control provides different functionality for object creation/modification. Clicking the header of an empty tab strip in one of these areas with the left mouse button will bring up a context menu, that allows you to create a new tab page hosting one of the following controls:
[[File:USB_Studio.png|thumb|upright|alt={{UBIK}} Studio|{{UBIK}} Studio]]
[[File:USB_ControlsOverview.png|thumb|upright|alt={{UBIK}} Studio controls|{{UBIK}} Studio controls]]
The {{UBIK}} Studio provides a set of user controls for manipulating objects and data. Find a short list what each control is designated for
{| class="wikitable"
! Control !! Description
|-
| „Class Browser“[[Class Browser]]|| Navigate through the metaclasses MetaClasses and instances
|-
| „Class Details“[[Class Details]]|| Design metaclassesMetaClasses
|-
| „Content Editor“[[Bulk Editor]]|| Create and edit instances
|-
| „Code Editor“[[Code Editor]]|| Implement customer specific functionality
|-
| „Relation Editor“[[Relation Editor]]|| Relate objects and edit relational data
|-
| „Object Explorer“[[Object Explorer]]|| Display and edit properties of objects (list style)
|-
| „Object Editor“[[Object Editor]]|| Graphical editor for changing object properties
|-
| „Workflow Designer“[[Workflow Designer]]|| Design and assign customer specific workflows
|}
 
[[File:Ubik_studio.jpg|500px]]
 
Each of the 3 areas can hold an arbitrary amount of controls, which provide different functionality for object creation/modification.
 
Clicking an empty tab strip in one of these areas will bring up a context menu, that allows you to create a new tabpage hosting one of the follwoing controls:
 
*[[ClassBrowser]]
Display and edit classes hierarchically
*[[Details]]
Show additional information for classes, such as attributes
*[[PropertyView]]
Display and edit object properties
*[[Who-Bert, the debugging opossum]]
Execute C# code using UBIK objects
*[[Designer]]
Display and edit properties and instances
*[[Events]]
Display and edit event-triggered code on UBIK classes
*[[Relation Editor]]
Display and edit relations and their content
<br><br><br>
Furthermore every control has it´s [[views]].
| Relational data|| “Relation Editor”
|-
| Metaclass MetaClass details|| “Class Details”
|-
| Events / object methods|| “Code Editor"
=== Creating and editing instances ===
== Metaclasses MetaClasses ==
=== Create new metaclass MetaClass ===# Create a new metaclass MetaClass via „Derive new object“ from the context menu
# Open the control “Object Editor”
# Set the newly created metaclass MetaClass to the control
# Set name, description and namespace
# Save the changes
=== Technical implementation ===
The system creates a new instance of “CUSTOMMETACLASS” and sets the “INHERIT” property to the metaclass MetaClass the context menu was opened at. New derivates can be created for any system metaclasses MetaClasss as “BASECLASS”, “REFERENCE”, “SELECTIVELIST”, … etc.
== Metaproperties MetaProperties ==
=== Create new metaproperty MetaProperty ===A new metaproperty MetaProperty can be created and automatically assigned to a metaclass MetaClass via the “Create new metraproperty” MetaProperty ” workflow. This workflow guides the user through the creation and configuration procedure of a metaproperty MetaProperty and relates it to the selected metaclassMetaClass .
# Start Workflow “System / Create new metaproperty” MetaProperty ” from the context menu
# Set at least name, description and data type
# Change the metaproperty’s MetaProperty ’s category if necessary
# Save the changes
# Optional configuration:
:: - Format
:: - Validation flag
:: - Numer Number of index keys
:: - Default values
:: - Initial values
Without the workflow the user has to complete the following steps:
Step 1: Create new metaproperty MetaProperty instance# Navigate to the metaclass MetaClass “CUSTOMMETAPROPERTY”
# Create a new instance
# Set at least name, description and data type
# Change the metaproperty’s MetaProperty’s category if necessary
# Save the changes
# Optional configuration:
:: - Format
:: - Validation flag
:: - Numer Number of index keys
:: - Default values
:: - Initial values
Step 2: Relate the instance of metaproperty MetaProperty to a metaclassMetaClass
# Open the control “Class Details”
# Set the designated metaclass MetaClass to the control# Add the metaproperty MetaProperty either by dragging and dropping the metaproperty’s MetaProperty's instance onto the metaclass MetaClass or by clicking the [[File:PlusGreen.png|20px|Add metaproperty MetaProperty button]] button in the menu# By clicking on the [[File:PlusGreen.png|20px|Add metaproperty MetaProperty button]] button the user has to navigate through the hierarchy to the appropriate metapropertyMetaProperty
===Inheritance===