<@doc alias="gusg" hierarchy="GMLDOM" also="@Usage"> An element used for referencing a remote model unit for re-use in the current model. (c) SAP AG 2003. All rights reserved. #INCLUDE[svg:defs.inc] #INCLUDE[defs.inc] /////////////////////////////////////////////////////////////////////// // CLASS HEADER // Global Usage is used for referencing a remote re-used component (unit) // currently used for referencing OVS units and action forms // Notice: This usage is invisible in the storyboard. Class GlobalUsage inherit BaseUsage; metadata title = '#TEXT[XTIT_GLOBAL_USAGE]'; metadata descr = '#TEXT[XTOL_GLOBAL_USAGE]'; /////////////////////////////////////////////////////////////////////// // PROPERTIES <@doc>full name of the model keeping this remote re-used unit readonly property DCVendor = ''; readonly property DCName = ''; readonly property SCVendor = ''; readonly property SCName = ''; readonly property ModelName = ''; readonly property foreignUnitId = ''; //the target property inherited from BaseUsage will keep the unit id /////////////////////////////////////////////////////////////////////// // METHODS override method onInsertMe(parent, trans) //this method does nothing. we don't call this.supercall(); on purpose because //we don't want this usage to be added to the index.xml (see Usage.onInsertMe) //Configurable.onInsertMe adds an infoshape, but this GlobalUsage has no infoshape since //it does not point to an existing unit in this model. so, we can dismiss that too. end //override method onRemoveMe(parent, trans) // this.supercall(); //end //override method onCreate() // this.supercall(); //end