OKS Data Editor
Class Window
The main window of the OKS
Data Editor allows to display class
window with list of their instances. To do this double click the
name of the class from the Classes list or press right mouse button,
when mouse pointer will be over the OKS Data Editor main window classes
list and select Show (see OKS
Classes Table from main window).
OKS Data Editor Class Window allows to browse list of objects and
perform several actions with them. To do this select an object and/or
click right mouse:
Object Creation
Before creation of a new object it is necessary to decide which data
file it goes to. A data file can be made active using the Data Files Table from main window.
To create a new object it is enough select [New] menu item. The
object creation prompt dialog that
will
appear. Note, the [New] menu item
remains disabled, if no active file is selected.
Show Object Window
An object can be selected and removed directly from the class table
(see below). Also, most of the values of it's attributes and
relationships can be seen directly in the class table. However their
modification and several other actions with object can only be done
from the Object window. To open the
window select [Show object_id] from popup menu
or double click the object row.
Find Objects
There are two possible ways to find and object:
- by object unique ID
- by query (e.g. by values of object attributes and it's relations
with other objects)
Find by Identity
To find an object by ID one can to use [Find by ID] function
from popup menu. In such case put exact UID in
the prompt dialog. If object with such ID exists in the class, it will
be selected in the class table.
Also it is possible to use matching UID panel from the bottom of the
class window. If there are no any symbols in the "Matching UIDs:" text
filed, then all objects are shown. Otherwise only those objects, which
IDs match the search mask are shown.
If the "Regular expression" toggle button is selected, to apply the
mask press appeared
button. Otherwise the modified selection is applied automatically, when
the mask is modified.
Query
A query can be constructed and executed in the query window. Select [Query] item
from popup menu to
create new query or select [Load Query] to load an existing query from
file.
Delete Object
To delete an existing object it is necessary to select it and choose [Delete]
menu item. An object can
only be deleted, if it is not referenced by other objects and the user
has write permissions on file containing the object. In case of
problems the error is printed to the message
log window.
Home - Next
- Index
Modified 10-JUN-2009
Author Igor Soloviev