<@doc alias="port" hierarchy="GMLDOM"> Represents an inbound or outbound component interface. Infoshape Class (c) SAP AG 2003-2006. All rights reserved. /////////////////////////////////////////////////////////////////////// // CLASS HEADER Class Port inherit Configurable metadata title = '#TEXT[XTIT_PORT]'; metadata descr = '#TEXT[XTOL_PORT]'; metadata namestem = 'port'; metadata configurationType = 'core.gml:BOInfoshape'; /////////////////////////////////////////////////////////////////////// // METHODS override method onInsertMe(parent, trans) this.supercall(); $ENV.organizer.addElement(this, parent); end override method onRemoveMe(parent, trans) this.supercall(); $ENV.organizer.delElement(this, parent); end listen canRemoveElement for core.gml:Port if (evt.subType=="cutEvent") evt.cancel=true; end