Annotation of Examples/DatabaseKit/OracleDemo/English.lproj/OracleDemo.nib/data.nib, revision 1.1.1.1

1.1       root        1: streamtyped���&@���IBObjectData��Object��@i���CustomObject��*@��Application���@@���
DBTableVector&��iiff*@@@�`ZZ��deptNo���Font��%fss�Helvetica-Bold�����DBEditableFormatter��DBFormatter��������      Helvetica������
TextFieldCell&��
                      2: ActionCell&��Cell&��*@ss������������i:��ff��&c����������DBTableView&��
                      3: ScrollView&��View��  Responder�������&f�ffff&     �
                      4: ��&��
                      5: ��&�����@ss@���List&��&i�[11@]���Button��Control������D&�����������������i@s���
                      6: ButtonCell&����Insert New Employee�������ss���������@f������������D&`��������������������Delete Employee Record�����������������������������D&<��������������������Save Changes in Employee������������������������������&����&�����������[4@]���ClipView�������b���b��������&�[1@]���
                      7: DBGridView������&&��&&��������@&��i@@@@@����DBLayout��@@ffcii��������������&&&����Ä���[3@]����`ZZ���������������������������������`ZZ��name�������������������������������`ZZ��location������������������������������&����
DBHeadingView���������������������&�ӆ�Q��@fs��������&��&�Ւ����@&��@@@i�ń��
DBHeadingCell��Л�@���������>&��������ȿ�������Scroller����������������������P���ff:s�_doScroller:���ڒ���x�����������������В���ܫ`?́��Ն�����@@@ffs�ۼ
                      8: �Ԅi@@@@@::�p��ſ�Ӆ��Յ��������������D&�D&��������������������Fetch All Records����������������������������D&����������������������Delete Department Record����������������������������D&����������������������Save Changes in Department�������������������І���  TextField�����H�h&��$���$������� �������Department Table
                      9: (Master)������������������������&:���撫��H����$���$�������  �������Employee Table
                     10: (Detail)������������������Յ��������D&� &��������������������Insert New Department����������������������@�����&����&�������������������b���b��������&�������&&��&&�񒅰���@&�����Ä�������������&&&����Ä��Ę����`ZZ��empName�������������������������������`ZZ��empID������������������������������&��Ԓ�������������������&�&��Q��&�������&��&������@&�ɦ��ئ���@���������>&���������������ڒ��������������������P���́��ڒ���x�����������������В���ܫ`?́���������
                     11: ��ςp����&���������������������&&�x&�&��x&�&��������&��@�����l&����l&����������[2@]������U&����U&���������&����Text�����U&���U&���������`�����Q&��ciifffcfffs���&&&����>�Q�����Iq���Iq��U&�������
                     12: �[2781c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
                     13: \margl40
                     14: \margr40
                     15: {\colortbl;\red0\green0\blue0;}
                     16: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ulnone\fs36\fc0\cf0 OracleDemo
                     17: \b0\fs24 \
                     18: by Mai Nguyen, NeXT Developer Support Team\
                     19: \
                     20: 
                     21: \b\fs28 Overview
                     22: \b0\fs24 \
                     23: \
                     24: The purpose of this example is to show some common  end-user operations in handling databases 
                     25: \b without any need for Database Kit programming.
                     26: \b0   \
                     27:  In order to run this example, you need to have an Oracle server with a demo database installed. If you don't have an Oracle server, you can still follow the instructions on building the nib files to quickly put together a demo.\
                     28:  \
                     29:  In order to add a new record  either into the employee table or the department table, press on the appropriate 
                     30: \b Insert 
                     31: \b0 button and  type in the data into the tableview textfields. After each 
                     32: \b Insert 
                     33: \b0 operation, you need to explicitly 
                     34: \b save 
                     35: \b0 the record. Note that the unique keys for the Employee Record is the Employee ID, while the unique key for the Department Record is the Department No. Similarly, after a 
                     36: \b delete 
                     37: \b0 operation, you'll need to explicitly 
                     38: \b save 
                     39: \b0 the changes.\
                     40: 
                     41: \fc1\cf1 \
                     42: 
                     43: \b\fs28 Program Organization
                     44: \b0\fs24 \
                     45: \
                     46: 
                     47: \b How to build the nib files\
                     48: 1) Build the Master TableView
                     49: \b0 \
                     50: Drag a DBTableView palette object into your main window. Drag a DBModule object into the IB suitcase. Select OracleDemo as the database model. Make the proper connections from the Deparment table  to the DBTableView. Set  the DBTableView to be editable via the Interface Builder Inspector Panel, so that data can be entered directly into its textfields.\
                     51: 
                     52: \b 2) Build the Detail TableView\
                     53: 
                     54: \b0 Same steps as for the Mater TableView. The only difference is that you need to drag another DBModule object into the IB suitcase, and make the proper connections from the Employee table to the DBTableView.\
                     55: 
                     56: \b 3) Join the 2 tables
                     57: \b0 \
                     58: In order to join the 2 tables,  just drag and drop the employees relationship in the master DBModule onto the icon of the detail module in the NIB file. Note that employees will show up as a new connection of the Master DBModule under the Interface Builder Inspector Panel.\
                     59: 
                     60: \b 4) Build the buttons\
                     61: 
                     62: \b0 Note that the Fetch operation needs to be connected to the fetchAllRecords of the Master DBModule.\
                     63: Each TableView has its own insert, delete, and save to save the records corresponding to that particular table.\
                     64: 
                     65: \pard\tx560\tx1120\tx2060\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fi-2060\li2060\fc1\cf1 \
                     66: 
                     67: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b\fc1\cf1 Note: 
                     68: \b0 You can use this NIB file as is without any coding for demo purposes and run it using IB Test Interface Mode. 
                     69: }
                     70: ����J��
&�������NXCursor����s@���NXImage��s*�p��NXibeam����ڒ������������������В��6��>́��������
                     71: 
                     72: ����������MenuTemplate������&�*@*@ccc��
                     73: OracleDemo���Matrix�����&f<�f<�����������ؒ��������@:@iiii���Ą��MenuCell&����   README...�����������������������Յ�����Hide��������������h���Յ�����Quit��������������q���Յ������&�f��ff@@#::s������������Menu�������DBModuleTemplate��***@��DBModule�億
                     74: Department�������⫙ܫ����WindowTemplate&�����F&�
                     75: ��&�
                     76: iiii***@s@&���儬��Window�x��&��������˺�!������*���%���億Employee�����������+��g&�F&�x&�&�&&����README����Panel�x`��&��������Ϻ�꫙
�Ǻ����߫�������4����������
                     77: Controller����嫙���   �@*���File's Owner����View1�/�����MainMenu�$���8������View11�4���*���&�*�����[20@]���IBControlConnector��IBConnector��@@*!���
                     78: terminate:��E&���hide:����DBTableConnector��DBConnector�&$DŽ�����K&$˄Œ���E&�$��fetchAllRecords:��E&�$��
deleteRecord:��E&�$��saveChanges:��K&/�������E&�/��insertNewRecord:��E&�/S��E&�/U��K&/��Œ���K&/��ْ���E&�$Y����IBOutletConnectorF&�8��delegate��b&84��RMPanel��b&8*��  theWindow��E&4��orderFront:��L&$/��   employees��K&$τƒ������

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.