@doc alias="reusable" hierarchy="GMLDOM">
A reusable is a unit that groups together a collection of other reusable units for organizational
purposes.
Child Elements
@gml:Usage, @gml:Note
(c) SAP AG 2003-2006. All rights reserved.
///////////////////////////////////////////////////////////////////////
// CLASS HEADER
Class Reusables inherit Module;
metadata title = '#TEXT[XTIT_REUSABLES]';
metadata descr = '#TEXT[XTOL_REUSABLES]';
metadata icon16 = '#URL[~res:skins.neutral.symbols.module16.gif]';
metadata icon32 = '#URL[~res:skins.neutral.symbols.module32.gif]';
metadata childElements = ['core.gml:ScenarioUsage', 'core.gml:ServiceUsage', 'core.gml:Note'];
metadata usageElement = '';
///////////////////////////////////////////////////////////////////////
// PROPERTIES
///////////////////////////////////////////////////////////////////////
// METHODS
///////////////////////////////////////////////////////////////////////
// LISTENERS
listen canRemoveElement for core.gml:Reusables
if (child.isa('core.gml:Usage') &&
!$ENV.organizer.canRemoveUnit(child.getTarget()) ){
cancel = true;
}
end