List of commonly used rules.<h2></h2>
<table class="SIMPLE"><tr><td class="H V">In order to define </td><td class=H>Use the following rules </td></tr><tr><td class=V><nobr>Allowed model elements</nobr> </td><td><q ref="core.gml2:definePalette">definePalette</q>, <q ref="core.gml2:canInsert">canInsert</q> </td></tr><tr><td class=V>How elements are composed and connected </td><td><q ref="core.gml2:canInsert">canInsert</q>, <q ref="core.gml2:canRemove">canRemove</q>, <q ref="core.gml2:canReplace">canReplace</q>, <q ref="core.gml2:canConnectFrom">canConnectFrom</q>, <q ref="core.gml2:canConnectTo">canConnectTo</q>, <q ref="core.gml2:canDisconnect">canDisconnect</q>, <q ref="core.gml2:isCyclicConnection">isCyclicConnection</q> </td></tr><tr><td class=V>How elements are edited </td><td><q ref="core.gml2:canRename">canRename</q>, <q ref="core.gml2:definePropertyEditor">definePropertyEditor</q>, <q ref="core.gml2:definePropertyGroups">definePropertyGroups</q> </td></tr><tr><td class=V>How elements are created </td><td><q ref="core.gml2:setupUnit">setupUnit</q>, <q ref="core.gml2:dropPaletteItem">dropPaletteItem</q>, <q ref="core.gml2:dropSearchItem">dropSearchItem</q> </td></tr><tr><td class=V>How elements are drawn </td><td><q ref="core.gml2:defineShape">defineShape</q> </td></tr><tr><td class=V>Popup menus </td><td><q ref="core.gml2:defineContextMenu">defineContextMenu</q>, <q ref="core.gml2:defineSelectionMenu">defineSelectionMenu</q>, <q ref="core.gml2:defineConnectMenu">defineConnectMenu</q>, <q ref="core.gml2:defineDanglingMenu">defineDanglingMenu</q> </td></tr></table>(c) SAP AG 2003-2006. All rights reserved.