| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en-us"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| <meta name="abstract" content="Understanding the OData model element."/> |
| <meta name="description" content="Understanding the OData model element."/> |
| |
| <link rel="stylesheet" type="text/css" href="../css/documentation.css"/> |
| <title>Working with the OData Model Element</title> |
| <!--[if lte IE 7]><style> |
| .codeblock{ |
| overflow:visible; |
| }</style><![endif]--> |
| </head> |
| <body class="" id="loioa3997075e60b4dd3b3e47a8126070414"> |
| <div id="wrapper"><div id="container"> |
| <h1 class="title topictitle1">Working with the OData Model Element</h1> |
| <p class="shortdesc">Understanding the OData model element.</p> |
| <div class="topic concept nested1" lang="en-US" id="loio0f8c4c075d7340428574cadbf6976a51"><h2 class="title topictitle2">Working with the OData Model Element</h2> |
| <div class="body conbody"><p class="shortdesc">Understanding the OData model element.</p> |
| <div class="p">Every OData model element will have sections and each section will have section |
| headers and properties under them. For example, the entity object element will |
| have:<ul class="ul" id="loio0f8c4c075d7340428574cadbf6976a51__ul_njl_qpm_zl"><li class="li">Entity Sets</li> |
| <li class="li">Properties</li> |
| <li class="li">Navigation Properties</li> |
| </ul> |
| </div> |
| <div class="section" id="loio0f8c4c075d7340428574cadbf6976a51__section_N1002D_N10012_N10001"> |
| <p class="p"> This section will guide you to understand the various functions available in the |
| OData model element.</p> |
| |
| </div> |
| </div> |
| <div class="topic nested2" id="topic_cb3_4sf_bp"><h3 class="title topictitle3">OData Model Elements</h3> |
| <div class="body"><div class="p">The OData model element is a graphical representation of the artifacts in the |
| OData Model Editor. For example, the entity type OData model element has three |
| sections with the following headers: <ul class="ul" id="topic_cb3_4sf_bp__ul_wrs_ftf_bp"><li class="li">Entity Sets </li> |
| <li class="li">Properties</li> |
| <li class="li">Navigation Properties </li> |
| </ul> |
| </div> |
| <div class="note note"><span class="notetitle">Note</span> The section header names cannot be modified.</div> |
| <img class="image" id="topic_cb3_4sf_bp__image_a5t_szk_tp" src="48e6e741025e4c62bc869dbbc609917d.image"/></div> |
| </div> |
| <div class="topic task nested2" id="task_tgx_xgg_xj"><h3 class="title topictitle3">Selecting an OData Element</h3> |
| <div class="body taskbody"><div class="section context" id="task_tgx_xgg_xj__context_N10062_N1005F_N10054_N10001"><div class="tasklabel"><h4 class="sectiontitle tasklabel">Context</h4></div>You can move the OData model |
| element by first selecting the shape. <p class="p"><strong class="ph b">Step Result</strong></p> |
| <ol class="ol" id="task_tgx_xgg_xj__ol_nh2_bpf_bp"><li class="li">Left click inside the OData model element. Ensure to click on the |
| borders, dividers or the object icon.<p class="p"><img class="image" id="task_tgx_xgg_xj__image_hwm_c1l_tp" src="e78a7bc89ce14966a798ca235a0b6a6d.image"/></p> |
| <p class="p">The OData model element is |
| selected and now you can move and position the shape inside the |
| OData Model Editor as required. </p> |
| </li> |
| </ol> |
| </div></div> |
| </div> |
| <div class="topic task nested2" id="task_ilk_rkq_mj"><h3 class="title topictitle3">Resizing the OData Model Element</h3> |
| <div class="body taskbody"><div class="section context" id="task_ilk_rkq_mj__context_N10091_N1008E_N10083_N10001"><div class="tasklabel"><h4 class="sectiontitle tasklabel">Context</h4></div>The OData model element re-sizes |
| automatically to accommodate additional properties, You can also resize the |
| OData model element manually by selecting it and dragging the corners. <ul class="ul" id="task_ilk_rkq_mj__ul_tcs_ztf_bp"><li class="li">Select the OData model element and drag the corners to re-size the OData |
| model element manually. <p class="p"><img class="image" id="task_ilk_rkq_mj__image_udc_f1l_tp" src="f654fc8fb8ae4742a30e63067e82ef83.image"/></p> |
| </li> |
| </ul> |
| </div></div> |
| </div> |
| <div class="topic nested2" id="topic_tlv_d5f_bp"><h3 class="title topictitle3">Expand and Collapse of Sections</h3> |
| <div class="body"><p class="p">The OData Model Editor provides an universal expand and collapse button on the |
| tool bar to expand and collapse all the section headers of the objects in the |
| OData model element. You can also expand and collapse the sections in the OData |
| model element. </p> |
| |
| <div class="tablenoborder"><table summary="" id="topic_tlv_d5f_bp__table_xkv_rlg_xj" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap">Table 1: |
| Properties</span></caption><thead class="thead" align="left"><tr class="row"><th class="entry" valign="top" width="33.33333333333333%" id="d75806e89">Description</th> |
| <th class="entry" valign="top" width="33.33333333333333%" id="d75806e91">Button</th> |
| <th class="entry" valign="top" width="33.33333333333333%" id="d75806e93">Shortcut Keys</th> |
| </tr> |
| </thead> |
| <tbody class="tbody"><tr class="row"><td class="entry" valign="top" width="33.33333333333333%" headers="d75806e89 ">Expand All </td> |
| <td class="entry" valign="top" width="33.33333333333333%" headers="d75806e91 "><img class="image" id="topic_tlv_d5f_bp__image_arz_g1l_tp" src="78ca878648554e95af56878d64a5dbe6.image"/></td> |
| <td class="entry" valign="top" width="33.33333333333333%" headers="d75806e93 ">Ctrl + Alt + E</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="33.33333333333333%" headers="d75806e89 ">Collapse All </td> |
| <td class="entry" valign="top" width="33.33333333333333%" headers="d75806e91 "><img class="image" id="topic_tlv_d5f_bp__image_y2t_h1l_tp" src="a2a2ba8fd89c4e97957724f849b57437.image"/></td> |
| <td class="entry" valign="top" width="33.33333333333333%" headers="d75806e93 ">Ctrl + Alt + C </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <ul class="ul" id="topic_tlv_d5f_bp__ul_xn4_pwf_bp"><li class="li">Click the <img class="image" id="topic_tlv_d5f_bp__image_swb_m1l_tp" src="a2a2ba8fd89c4e97957724f849b57437.image"/> button on the tool bar to collapse all the |
| objects in the OData Model Elements in the OData Model Editor.</li> |
| <li class="li">Click the arrow head button in the expanded section header to collapse the |
| sections:<p class="p"><img class="image" id="topic_tlv_d5f_bp__image_u45_p1l_tp" src="0e2536af9f4742c39aa011ef06dc5b2d.image"/></p> |
| </li> |
| <li class="li">Click the <img class="image" id="topic_tlv_d5f_bp__image_cgj_r1l_tp" src="78ca878648554e95af56878d64a5dbe6.image"/> button on the tool bar to expand all the |
| objects in the OData model elements in the OData Model Editor.</li> |
| <li class="li">Click the arrow head button in the collapsed section header to expand |
| it.<p class="p"><img class="image" id="topic_tlv_d5f_bp__image_vzn_51l_tp" src="52336b71a55448bb943b425683f1bf43.image"/></p> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <div class="topic nested2" id="topic_v2s_gxf_bp"><h3 class="title topictitle3">Context Pad</h3> |
| <div class="body"><p class="p">A context pad is provided for every OData model element to assist the user to |
| perform some basic functions in the OData Model Editor with just a click. Just |
| hover the mouse cursor on the OData model element to view the context pad</p> |
| <p class="p"><img class="image" id="topic_v2s_gxf_bp__image_n55_cbl_tp" src="804f9805a814473098f0216d1d996cc7.image"/></p> |
| <p class="p">The context pad provides the following functions:</p> |
| <ul class="ul" id="topic_v2s_gxf_bp__ul_yqd_nxf_bp"><li class="li"><span class="ph emphasis emphasis">Delete </span>- Click to delete the OData model element along |
| with the related entities and associations.<p class="p"><img class="image" id="topic_v2s_gxf_bp__image_r1d_hbl_tp" src="ed2655b2e42949fd8cce9d8d15d3ac49.image"/></p> |
| </li> |
| <li class="li"><span class="ph emphasis emphasis">Add Property</span>- Click to add a simple property to the OData model |
| element. See <a class="xref" href="8777b42c12bc4796a5898dbba6feb3fb.html" title="This section provides instructions to add properties for an entity and complex type.">Adding Properties</a> for more |
| information. <p class="p"><img class="image" id="topic_v2s_gxf_bp__image_wmf_lbl_tp" src="af473a3df66243338b126aaadcf5d2ca.image"/></p> |
| </li> |
| <li class="li"><span class="ph emphasis emphasis">Add Complex Property</span>- Click to add a complex property |
| to the OData model element. <p class="p"><img class="image" id="topic_v2s_gxf_bp__image_omg_pbl_tp" src="e272000e2d7b4501bdd1e8685cc0e5d2.image"/></p> |
| </li> |
| <li class="li"><span class="ph emphasis emphasis">Add Navigation Property </span>- Click to add a navigation |
| property to the OData Model Element.<p class="p"><img class="image" id="topic_v2s_gxf_bp__image_z2k_sbl_tp" src="825cf65fc5d547619134d14c3f94ec92.image"/></p> |
| </li> |
| <li class="li"><span class="ph emphasis emphasis">Add Association</span>- Click and drag the arrow to another |
| entity to create associations between entity types.<p class="p"><img class="image" id="topic_v2s_gxf_bp__image_jqs_xbl_tp" src="1fccaf93801b454a9ff337af3a7ee953.image"/></p> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <div class="topic nested2" id="topic_yfk_fyf_bp"><h3 class="title topictitle3">Context Menu</h3> |
| <div class="body"><p class="p">This section describes the common options available in the context menu of the |
| OData Model Elements. Some options are specific to OData Model Elements and are |
| not addressed in this section.</p> |
| <ol class="ol" id="topic_yfk_fyf_bp__ol_mwf_qyf_bp"><li class="li">Right click on the header of the OData Model Element to open the Context |
| menu. <p class="p"><img class="image" id="topic_yfk_fyf_bp__image_gg5_gcl_tp" src="e36d183add2d4e71bc71e227c4c3529c.image"/></p> |
| </li> |
| <li class="li">Do the following using the context menu of the OData Model Element: |
| <div class="tablenoborder"><table summary="" id="topic_yfk_fyf_bp__table_q45_fzf_bp" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap">Table 2: |
| Context Menu</span></caption><thead class="thead" align="left"><tr class="row"><th class="entry" valign="top" width="61.53846153846154%" id="d75806e196">Context Menu</th> |
| <th class="entry" valign="top" width="38.46153846153846%" id="d75806e198">Description</th> |
| </tr> |
| </thead> |
| <tbody class="tbody"><tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 ">Undo Create a new Entity Type/ Function |
| Import</td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Use this menu to undo the most recent action |
| performed in the OData model editor. </td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 ">Add Property</td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Adds a property to the Properties. .</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 ">Add Entity Sets</td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Click to add a new entity set.</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 ">Show Usages</td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Use this menu to show and hide the all relationships |
| of this function import with other artifacts on the |
| canvas. The relationships are represented by |
| arrows</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 ">Delete</td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Deletes the OData model element</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 ">Export Diagram</td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Use this menu to export and save the object as a |
| diagram</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 "><span class="ph menucascade"><img src="../images/navstart.gif" alt="Start of the navigation path" title="Start of the navigation path"/> <span class="ph uicontrol">Diagram</span> <img src="../images/navstep.gif" alt="Next navigation step" title="Next navigation step"/> <span class="ph uicontrol">Expand All </span> <img src="../images/navstep.gif" alt="Next navigation step" title="Next navigation step"/> <span class="ph uicontrol">Collapse All</span> <img src="../images/navend.gif" alt="End of the navigation path" title="End of the navigation path"/></span></td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Use this menu to either expand all or collapse all |
| the objects in the OData model element</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 ">Layout </td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Use this menu to choose the preferred layouts to |
| layout the OData model elements in the OData |
| model</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="61.53846153846154%" headers="d75806e196 ">Print</td> |
| <td class="entry" valign="top" width="38.46153846153846%" headers="d75806e198 ">Use this menu print the diagram</td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </li> |
| </ol> |
| </div> |
| </div> |
| <div class="topic nested2" id="topic_t3c_d1g_bp"><h3 class="title topictitle3">Show/Hide All Usages</h3> |
| <div class="body"><p class="p">The objective of the Show/Hide All Usages button is to provide the user with the |
| facility to view all the relationships between the artifacts on the graphical |
| editor. Clicking the button in the when relationships are displayed will hide |
| all the relationship(s). The Show/Hide button is a toggle button and can be |
| located on the tool bar of the eclipse application and in the context pad of the |
| objects. This button switches between two states; Show Usage (showing the |
| relationship between the artifacts) and Hide Usage (hiding relationship between |
| the artifacts). The appearance of the button changes with its state to provide |
| visual assistance for the user.</p> |
| |
| <div class="tablenoborder"><table summary="" id="topic_t3c_d1g_bp__table_xqw_gls_bj" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap">Table 3: |
| Show /Hide All Usages </span></caption><thead class="thead" align="left"><tr class="row"><th class="entry" valign="top" width="24.426229508196723%" id="d75806e267">Button </th> |
| <th class="entry" valign="top" width="16.393442622950822%" id="d75806e269">State</th> |
| <th class="entry" valign="top" width="59.18032786885246%" id="d75806e271">Description </th> |
| </tr> |
| </thead> |
| <tbody class="tbody"><tr class="row"><td class="entry" valign="top" width="24.426229508196723%" headers="d75806e267 "><img class="image" id="topic_t3c_d1g_bp__image_hlt_kcl_tp" src="3dad04c8b7cc479e8ae3a27c90add919.image"/></td> |
| <td class="entry" valign="top" width="16.393442622950822%" headers="d75806e269 ">Active </td> |
| <td class="entry" valign="top" width="59.18032786885246%" headers="d75806e271 ">When the Show/Hide Usage button has a box around it (pressed |
| state) signifies that all the relationships between the |
| artifacts in the graphical editor are being visible. You can |
| press the button to hide the relationships. </td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="24.426229508196723%" headers="d75806e267 "><img class="image" id="topic_t3c_d1g_bp__image_wrg_lcl_tp" src="7190fdb120b14d21b3a222f2e5d41bcc.image"/></td> |
| <td class="entry" valign="top" width="16.393442622950822%" headers="d75806e269 ">Inactive</td> |
| <td class="entry" valign="top" width="59.18032786885246%" headers="d75806e271 ">When the Show/Hide Usage button appears without a box around |
| it, then you can press it to view all the relationships between |
| the artifacts in the graphical editor. </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="p">The following condition are adhered while using the "Show/Hide" button:<ul class="ul" id="topic_t3c_d1g_bp__ul_ygq_vsq_mj"><li class="li">When an OData model is opened in the graphical editor and when the |
| “Show/Hide All Usages” toggle button is pushed, the usage for all |
| artifacts are shown in graphical editor canvas. The graphical editor |
| switches to unsaved state & the button is in active state. </li> |
| <li class="li">The relationship between the artifacts are shown by arrows. </li> |
| <li class="li">Show usage will be available for entity types, complex types. </li> |
| <li class="li">For complex types, if the same complex type is used in multiple properties in an entity, |
| then link will be shown only to the parent entity. It is also applicable |
| for entity types. </li> |
| <li class="li">Show/Hide usage function is available for property usage and base type |
| if the entity type and complex type. </li> |
| <li class="li">Show usage is available for parameter usage and return type for function |
| import. </li> |
| <li class="li">When show usage is enabled, and if any changes are made in the |
| properties view, the OData Model Editor reflects the changes instantly. |
| </li> |
| </ul> |
| </div> |
| <div class="note note" id="topic_t3c_d1g_bp__note_N10298_N10203_N10200_N101F5_N10188_N100AF_N10001"><span class="notetitle">Note</span> Whenever the |
| Show/Hide All Usages toggle button is used, the graphical editor returns to the |
| unsaved mode to maintain the state of “Show/Hide All Usages” toggle button. On |
| saving & reopening the model file, the last state of the “Show/Hide All |
| Usages” toggle button will be maintained.</div> |
| </div> |
| </div> |
| <div class="topic nested2" id="topic_jxy_jd4_bp"><h3 class="title topictitle3">Copy and Paste</h3> |
| <div class="body"><p class="p">This page will guide you to copy and paste the OData Model Elements in the OData |
| Model Editor. The Copy & Paste function is available in the following |
| scenarios:</p> |
| <div class="section">Overview</div> |
| <div class="p">This section will guide you to copy and paste the OData Model Elements in the |
| OData Model Editor. The Copy & Paste function is available in the following |
| scenarios:<ul class="ul" id="topic_jxy_jd4_bp__ul_bgd_1k4_bp"><li class="li">Copy and Paste the OData Model Element anywhere in the same editor</li> |
| <li class="li">Copy and Paste across OData Model Editors</li> |
| <li class="li">Cascading Paste function - When pasting the OData Model Element on top |
| of another OData Model Element, the elements are layered above another |
| as cascades and does not overlap each other.<p class="p"><img class="image" id="topic_jxy_jd4_bp__image_hwh_vcl_tp" src="bf15fb9734b54a139c56b9f5b89a8f2e.image"/></p> |
| </li> |
| <li class="li">Copy and Paste of multiple OData Model Elements:<ul class="ul" id="topic_jxy_jd4_bp__ul_rn2_1k4_bp"><li class="li">Select the OData Model Elements to be copied.<div class="note note"><span class="notetitle">Note</span> Ensure that |
| only the OData Model Elements are selected and properties |
| inside the element are not selected. If the properties are |
| selected along with the elements then the paste will not |
| work. Also, the entity sets cannot be copied.</div> |
| </li> |
| <li class="li">Paste the copied elements in the same canvas on top of the |
| copied elements. <p class="p"><img class="image" id="topic_jxy_jd4_bp__image_fxj_bdl_tp" src="5950fd49b10f48f2849c637ffc9fc479.image"/></p> |
| <p class="p">The elements are |
| positioned as cascades on top of another element of the same |
| type. </p> |
| <p class="p">If you paste the copied elements elements |
| anywhere in the same canvas or in another canvas, then the |
| elements are pasted as follows: </p> |
| <p class="p"><img class="image" id="topic_jxy_jd4_bp__image_px4_3dl_tp" src="4dc1228674484e01ab5a6619fdbd605a.image"/></p> |
| <div class="note note"><span class="notetitle">Note</span> Drag and drop function |
| to copy and paste the OData Model Element in the OData Model |
| Editor is not supported.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="section">To Copy and Paste OData Model Elements follow these steps:<ol class="ol" id="topic_jxy_jd4_bp__ol_nwh_zh4_bp"><li class="li">Click on the empty region in OData Model Editor and select<span class="ph emphasis emphasis"> |
| Paste</span> or press <span class="ph emphasis emphasis">Control+V</span> from the |
| keyboard.<p class="p">The copied OData Model Element will be pasted as |
| positioned.</p> |
| <div class="note note"><span class="notetitle">Note</span> For copying properties, select the OData Model |
| Element or anywhere in the element to paste the property and then |
| paste the property.</div> |
| <img class="image" id="topic_jxy_jd4_bp__image_qw2_wdl_tp" src="1ac2fa8c5d124f15aeb00d970936fb86.image"/></li> |
| <li class="li">During a copy and paste process the following condition are met:<ul class="ul" id="topic_jxy_jd4_bp__ul_rnh_mj4_bp"><li class="li">The new OData Model Element that was copied will have a unique |
| name. </li> |
| <li class="li">All the Properties and their attributes from the source entity |
| will be copied to the destination entity with the same names and |
| same attributes values.</li> |
| <li class="li">Associations, Navigation properties will not be be copied to the |
| destination Entity type element.</li> |
| <li class="li">Only default Entity Set will be created in the copied Entity |
| element. </li> |
| <li class="li">A copied property will be pasted at the end of properties list |
| in the new property element.The name of the property will be |
| prop<N>, where "N" will be incremented every time you |
| paste the same property and the name of the property will be in |
| edit mode.The attributes of the property should be same as |
| source property.</li> |
| <li class="li">For copy of Property from EntityType to ComplexType , if, the |
| source property is Key property then the destination property |
| pasted in ComplexType should not be a key property.</li> |
| </ul> |
| </li> |
| <li class="li">Using the mouse, select the required OData Model Element and select |
| <span class="ph emphasis emphasis">Copy </span>or press Control+C from the keyboard.</li> |
| </ol> |
| </div> |
| <ul class="ul" id="topic_jxy_jd4_bp__ul_eyv_5d4_bp"><li class="li">Copy and Paste the OData Model Element anywhere in the same editor</li> |
| <li class="li">Copy and Paste across OData Model Editors</li> |
| <li class="li">Cascading Paste function - When pasting the OData Model Element on top of another OData |
| Model Element, the elements are layered above another as cascades and does |
| not overlap each other.<p class="p"><img class="image" id="topic_jxy_jd4_bp__image_r5j_tkl_tp" src="a8e1027dc1f74341a4fc1d2b94d00a24.image"/></p> |
| </li> |
| <li class="li">Copy and Paste of multiple OData Model Elements:<ul class="ul" id="topic_jxy_jd4_bp__ul_jjl_j24_bp"><li class="li">Select the OData Model Elements to be copied.<div class="note note"><span class="notetitle">Note</span> Ensure that only |
| the OData Model Elements are selected and properties inside the |
| element are not selected. If the properties are selected along |
| with the elements then the paste will not work. Also, the entity |
| sets cannot be copied.</div> |
| </li> |
| <li class="li">Paste the copied elements in the same canvas on top of the copied elements. <p class="p"><img class="image" id="topic_jxy_jd4_bp__image_ycm_pll_tp" src="8617a33461f645a38cbefe58b66154b1.image"/></p> |
| <p class="p">The elements are positioned as |
| cascades on top of another element of the same type. </p> |
| <p class="p">If |
| you paste the copied elements elements anywhere in the same |
| canvas or in another canvas, then the elements are pasted as |
| follows: </p> |
| <p class="p"><img class="image" id="topic_jxy_jd4_bp__image_ndv_yll_tp" src="83c9556bdbf641d3892e1b8434521499.image"/></p> |
| <div class="note note"><span class="notetitle">Note</span> Drag and drop function to |
| copy and paste the OData Model Element in the OData Model Editor |
| is not supported.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <div class="topic nested2" id="topic_jd5_3dg_bp"><h3 class="title topictitle3">Shortcut Keys</h3> |
| <div class="body"><div class="p">The table below provides the list of shortcut keys that can be used in the OData |
| Model Editor: |
| <div class="tablenoborder"><table summary="" id="topic_jd5_3dg_bp__table_xqw_gls_bj" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap">Table 4: |
| Show /Hide Usage </span></caption><thead class="thead" align="left"><tr class="row"><th class="entry" valign="top" width="39.370078740157474%" id="d75806e424">Action To</th> |
| <th class="entry" valign="top" width="60.629921259842526%" id="d75806e426">Shortcut Key</th> |
| </tr> |
| </thead> |
| <tbody class="tbody"><tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Navigation Left between the OData Model Elements </td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Left arrow </td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Navigate right between the OData Model Elements</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Right arrow</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Navigate down within the OData Model Elements</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Down arrow</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Navigate up within the OData Model Elements</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Up arrow</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Navigate into a section in the OData Model |
| Element</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Alt+Down arrow with the OData model element |
| selected</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Navigate out of a section in the OData Model |
| Element</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Alt+Up arrow</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Cycle through an OData Model Element</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Select the OData model element and press the period key |
| </td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Move an OData Model Element</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Cycle once to the Move handle using the period key. Use |
| navigation keys to move. Press Enter to accept new location. |
| Press Escape to cancel the move</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Resize an OData Model Element</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Cycle to desired resize handle using the period key. Use |
| navigation keys to resize. Press Enter to accept new size. |
| Press Escape to cancel the resize</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Cycle through connections</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Slash or backslash while on an element with |
| connections</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Select multiple</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Hold down Ctrl. Use navigation keys to navigate to |
| additional OData model element. Press Space to select |
| additional shapes or deselect already selected ones.</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Select in sequence</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Hold down Shift, use navigation keys to select additional |
| shapes or deselect already selected ones.</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Go from OData model editor to palette</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Shift + Tab</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Go from palette to OData model editor</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Tab (currently only works with active selection |
| tool)</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Create selected palette element</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">RETURN</td> |
| </tr> |
| <tr class="row"><td class="entry" valign="top" width="39.370078740157474%" headers="d75806e424 ">Create relation between OData Model Element</td> |
| <td class="entry" valign="top" width="60.629921259842526%" headers="d75806e426 ">Apply multi selection to the OData model element with |
| SPACE. Navigate to palette with Shift + Tab and create the |
| desired relation with RETURN</td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="topic nested2" id="topic_wxk_wdg_bp"><h3 class="title topictitle3">Things to Remember</h3> |
| <div class="body"><ul class="ul" id="topic_wxk_wdg_bp__ul_hmr_jgx_hp"><li class="li">While working with version control system, OData model may be in Read-only |
| mode. Following are the characteristics of a Read-only OData model: <ul class="ul" id="topic_wxk_wdg_bp__ul_uwl_pgx_hp"><li class="li">Read-only tag appears along with the title of the model. </li> |
| <li class="li">Editor palette does not appear.</li> |
| <li class="li">User can perform actions such as move the entities, show/hide |
| relation, collapse etc.</li> |
| </ul> |
| To edit the model, ensure OData model is in Write mode and reopen the |
| editor. </li> |
| <li class="li">Whenever a change is made on the canvas the OData Model Editor displays a <span class="ph emphasis emphasis">star |
| icon</span> in the tab page of the OData Model Editor indicating |
| that the model needs to be saved. <p class="p"><img class="image" id="topic_wxk_wdg_bp__image_h4f_rml_tp" src="f2dcc5a3c6ae44af9f28d456a79901a7.image"/></p> |
| <ul class="ul" id="topic_wxk_wdg_bp__ul_tms_t2g_bp"><li class="li">Select and press <em class="ph i">F2</em> to edit any objects in the entity shape. </li> |
| <li class="li">On saving the model, an error icon displays on the elements that are |
| erroneous and also in the OData Model Editor. <p class="p"><img class="image" id="topic_wxk_wdg_bp__image_lr3_sml_tp" src="f6dd570997304d83b3d7fe14659b814a.image"/></p> |
| <p class="p">Multiple elements and |
| attributes can be deleted by either using CTRL key or SHIFT key |
| and selecting the objects. A delete confirmation window appears |
| during such operations. </p> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </div> |
| </div></div> |
| </body> |
| </html> |