Jump to: navigation, search

Difference between revisions of "HowTo:Create a new ViewItem"


Line 8: Line 8:
 
##* Select the desired Query from the dialog appearing after double-clicking the cell  
 
##* Select the desired Query from the dialog appearing after double-clicking the cell  
 
## Create a new instance of a '''ReferenceViewItem''' using the ''[[Bulk Editor]]''<br/>[[File:UI viewitem 03.PNG|990 px|border|alt=View|View]]
 
## Create a new instance of a '''ReferenceViewItem''' using the ''[[Bulk Editor]]''<br/>[[File:UI viewitem 03.PNG|990 px|border|alt=View|View]]
## Set the name of the reference property in the REFERENCE cell
+
## Set the name of the reference property in the '''REFERENCE''' cell
## Set the REVERSE checkbox if the ''ReferenceViewItem'' should be evaluated from right to left instead of left to right
+
## Set the '''REVERSE''' checkbox if the ''ReferenceViewItem'' should be evaluated from right to left instead of left to right
 
## Assign a query instance of the ''ReferenceViewItem'' to the '''REVERSEREFTYPE''' attribute either by
 
## Assign a query instance of the ''ReferenceViewItem'' to the '''REVERSEREFTYPE''' attribute either by
 
##* dragging and dropping a metaclass object onto the cell
 
##* dragging and dropping a metaclass object onto the cell
 
##* selecting the desired MetaClass from the dialog appearing after double-clicking the cell
 
##* selecting the desired MetaClass from the dialog appearing after double-clicking the cell
 
## Create a new instance of a '''RelationViewItem''' using the ''[[Bulk Editor]]''<br/>[[File:UI viewitem 04.PNG|990 px|border|alt=View|View]]
 
## Create a new instance of a '''RelationViewItem''' using the ''[[Bulk Editor]]''<br/>[[File:UI viewitem 04.PNG|990 px|border|alt=View|View]]
## Set the REVERSE checkbox if the ''RelationViewItem'' should be evaluated from right to left instead of left to right
+
## Set the '''REVERSE''' checkbox if the ''RelationViewItem'' should be evaluated from right to left instead of left to right
 
## Assign a query instance of the ''RelationViewItem'' to the '''RELATION''' attribute either by
 
## Assign a query instance of the ''RelationViewItem'' to the '''RELATION''' attribute either by
 
##* dragging and dropping a relation object onto the cell
 
##* dragging and dropping a relation object onto the cell

Revision as of 08:39, 8 January 2014

A View uses different ViewItem`s to evaluate Querys, Relations or References between MetaClasses per hierarchy level. The result is e.g. displayed in in the View Test Environment.

  1. Navigate to the Namspace Custom.View.Item's via the Class Browser
    ViewItem
  2. There are three different ViewItem`s
    1. Create a new instance of a QueryViewItem using the Bulk Editor
      View
    2. Assign a query instance of the QueryViewItem to the QUERY attribute either by
      • Drag and drop a query object onto the cell
      • Select the desired Query from the dialog appearing after double-clicking the cell
    3. Create a new instance of a ReferenceViewItem using the Bulk Editor
      View
    4. Set the name of the reference property in the REFERENCE cell
    5. Set the REVERSE checkbox if the ReferenceViewItem should be evaluated from right to left instead of left to right
    6. Assign a query instance of the ReferenceViewItem to the REVERSEREFTYPE attribute either by
      • dragging and dropping a metaclass object onto the cell
      • selecting the desired MetaClass from the dialog appearing after double-clicking the cell
    7. Create a new instance of a RelationViewItem using the Bulk Editor
      View
    8. Set the REVERSE checkbox if the RelationViewItem should be evaluated from right to left instead of left to right
    9. Assign a query instance of the RelationViewItem to the RELATION attribute either by
      • dragging and dropping a relation object onto the cell
      • selecting the desired Relation from the dialog appearing after double-clicking the cell
  3. Set at least name and description
  4. The required ViewItem's must be added to the view with the Relation Editor.
    View
  5. Save the changes with Ctrl+S or the save command


See also