/*
 * Copyright (c) 2009 The Olympos Development Team.
 *
 * http://sourceforge.net/projects/olympos/
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html. If redistributing this code,
 * this entire header must remain intact.
 */
Ext.namespace("cwm.relations");cwm.relations.NMFeatureRequirementsClass=function(){cwm.relations.NMFeatureRequirementsClass.superclass.constructor.call(this);this.uwmClassName="NMFeatureRequirements";this.instanceClassName="cwm.relations.NMFeatureRequirements";this.treeIcon="Figure";this.labelProperties={};}
Ext.extend(cwm.relations.NMFeatureRequirementsClass,uwm.model.RelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMFeatureRequirementsClass());Ext.namespace("cwm.relations");cwm.relations.NMFeatureRequirements=function(modelNodeClass){cwm.relations.NMFeatureRequirements.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.NMFeatureRequirements,uwm.model.Relation);Ext.namespace("cwm.relations");cwm.relations.NMUCActorClass=function(){cwm.relations.NMUCActorClass.superclass.constructor.call(this);this.uwmClassName="NMUCActor";this.instanceClassName="cwm.relations.NMUCActor";this.treeIcon="Figure";this.labelProperties={};}
Ext.extend(cwm.relations.NMUCActorClass,uwm.model.RelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMUCActorClass());Ext.namespace("cwm.relations");cwm.relations.NMUCActor=function(modelNodeClass){cwm.relations.NMUCActor.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.NMUCActor,uwm.model.Relation);Ext.namespace("cwm.relations");cwm.relations.NMActivityActivityDecisionClass=function(){cwm.relations.NMActivityActivityDecisionClass.superclass.constructor.call(this);this.uwmClassName="NMActivityActivityDecision";this.instanceClassName="cwm.relations.NMActivityActivityDecision";this.treeIcon="Figure";this.labelProperties={};}
Ext.extend(cwm.relations.NMActivityActivityDecisionClass,uwm.model.RelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMActivityActivityDecisionClass());Ext.namespace("cwm.relations");cwm.relations.NMActivityActivityDecision=function(modelNodeClass){cwm.relations.NMActivityActivityDecision.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.NMActivityActivityDecision,uwm.model.Relation);Ext.namespace("cwm.relations");cwm.relations.ObjectFlow=function(){cwm.relations.ObjectFlow.superclass.constructor.call(this);this.uwmClassName="ObjectFlow";this.instanceClassName="cwm.relations.ObjectFlow";this.treeIcon="Figure";this.labelProperties={};this.maskInfo={"AObjectFlowSource":"Activity","AObjectFlowTarget":"Activity","ChiObjectObjectFlowSource":"ChiObject","ChiObjectObjectFlowTarget":"ChiObject"};}
Ext.extend(cwm.relations.ObjectFlow,uwm.model.RelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ObjectFlow());Ext.namespace("cwm.relations");cwm.relations.ObjectFlow=function(modelNodeClass){cwm.relations.ObjectFlow.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.ObjectFlow,uwm.model.Relation);Ext.namespace("cwm.relations");cwm.relations.ControlFlow=function(){cwm.relations.ControlFlow.superclass.constructor.call(this);this.uwmClassName="ControlFlow";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.maskInfo={"AControlFlowSource":"Activity","AControlFlowTarget":"Activity","ADControlFlowSource":"ActivityDecision","ADControlFlowTarget":"ActivityDecision","ASControlFlowSource":"ActivitySend","ASControlFlowTarget":"ActivitySend","ARControlFlowSource":"ActivityReceive","ARControlFlowTarget":"ActivityReceive"};}
Ext.extend(cwm.relations.ControlFlow,uwm.model.EditableRelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ControlFlow());Ext.namespace("cwm.relations");cwm.relations.ControlFlow=function(modelNodeClass){cwm.relations.ControlFlow.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.ControlFlow,uwm.model.EditableRelation);Ext.namespace("cwm.relations");cwm.relations.ChiAssociationClass=function(){cwm.relations.ChiAssociationClass.superclass.constructor.call(this);this.uwmClassName="ChiAssociation";this.instanceClassName="cwm.relations.ChiAssociation";this.treeIcon="Figure";this.labelProperties={};this.maskInfo={"ChiNodeSource":"ChiNode","ChiNodeTarget":"ChiNode"}}
Ext.extend(cwm.relations.ChiAssociationClass,uwm.model.EditableRelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiAssociationClass());Ext.namespace("cwm.relations");cwm.relations.ChiAssociation=function(modelNodeClass){cwm.relations.ChiAssociation.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.ChiAssociation,uwm.model.EditableRelation);Ext.namespace("cwm.relations");cwm.relations.NMChiControllerChiControllerClass=function(){cwm.relations.NMChiControllerChiControllerClass.superclass.constructor.call(this);this.uwmClassName="NMChiControllerChiController";this.instanceClassName="cwm.relations.NMChiControllerChiController";this.treeIcon="Figure";this.labelProperties={};this.maskInfo={"ChiControllerSource":"ChiController","ChiControllerTarget":"ChiController"};}
Ext.extend(cwm.relations.NMChiControllerChiControllerClass,uwm.model.EditableRelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMChiControllerChiControllerClass());Ext.namespace("cwm.relations");cwm.relations.NMChiControllerChiController=function(modelNodeClass){cwm.relations.NMChiControllerChiController.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.NMChiControllerChiController,uwm.model.EditableRelation);Ext.namespace("cwm.relations");cwm.relations.NMChiControllerActionKeyChiControllerClass=function(){cwm.relations.NMChiControllerActionKeyChiControllerClass.superclass.constructor.call(this);this.uwmClassName="NMChiControllerActionKeyChiController";this.instanceClassName="cwm.relations.NMChiControllerActionKeyChiController";this.treeIcon="Figure";this.labelProperties={};this.maskInfo={"ChiControllerActionKeySource":"ChiController","ChiControllerActionKeyTarget":"ChiController"};}
Ext.extend(cwm.relations.NMChiControllerActionKeyChiControllerClass,uwm.model.EditableRelationClass);cwm.relations.NMChiControllerActionKeyChiControllerClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'action',toolTip:"The Action which triggeres this association",name:'action',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'config',toolTip:"The configuration file in which this association will be placed",name:'config',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'context',toolTip:"The Context in which this association is valid",name:'context',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMChiControllerActionKeyChiControllerClass());Ext.namespace("cwm.relations");cwm.relations.NMChiControllerActionKeyChiController=function(modelNodeClass){cwm.relations.NMChiControllerActionKeyChiController.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.NMChiControllerActionKeyChiController,uwm.model.EditableRelation);cwm.relations.NMChiControllerActionKeyChiController.prototype.initByDisplayResult=function(node){cwm.relations.NMChiControllerActionKeyChiController.superclass.initByDisplayResult.call(this,node);this.data.action=node.values[1].action;this.data.config=node.values[1].config;this.data.context=node.values[1].context;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.relations.NMChiControllerActionKeyChiController.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("action").loadValue(this.data.action);realForm.findField("config").loadValue(this.data.config);realForm.findField("context").loadValue(this.data.context);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
Ext.namespace("cwm.relations");cwm.relations.SourceActionKeyEndClass=function(){cwm.relations.SourceActionKeyEndClass.superclass.constructor.call(this);this.uwmClassName="SourceActionKeyEnd";this.instanceClassName="cwm.relations.NMChiControllerActionKeyChiController";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="NMChiControllerActionKeyChiController";this.connectionEndRole="source";}
Ext.extend(cwm.relations.SourceActionKeyEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.SourceActionKeyEndClass());Ext.namespace("cwm.relations");cwm.relations.TargetActionKeyEndClass=function(){cwm.relations.TargetActionKeyEndClass.superclass.constructor.call(this);this.uwmClassName="TargetActionKeyEnd";this.instanceClassName="cwm.relations.NMChiControllerActionKeyChiController";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="NMChiControllerActionKeyChiController";this.connectionEndRole="target";}
Ext.extend(cwm.relations.TargetActionKeyEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.TargetActionKeyEndClass());Ext.namespace("cwm.relations");cwm.relations.SourceEndClass=function(){cwm.relations.SourceEndClass.superclass.constructor.call(this);this.uwmClassName="SourceEnd";this.instanceClassName="cwm.relations.NMChiControllerChiController";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="NMChiControllerChiController";this.connectionEndRole="source";}
Ext.extend(cwm.relations.SourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.SourceEndClass());Ext.namespace("cwm.relations");cwm.relations.TargetEndClass=function(){cwm.relations.TargetEndClass.superclass.constructor.call(this);this.uwmClassName="TargetEnd";this.instanceClassName="cwm.relations.NMChiControllerChiController";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="NMChiControllerChiController";this.connectionEndRole="target";}
Ext.extend(cwm.relations.TargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.TargetEndClass());Ext.namespace("cwm.relations");cwm.relations.NodeManyToManySourceEndClass=function(){cwm.relations.NodeManyToManySourceEndClass.superclass.constructor.call(this);this.uwmClassName="NodeManyToManySourceEnd";this.instanceClassName="cwm.relations.ChiAssociation";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiAssociation";this.connectionEndRole="source";}
Ext.extend(cwm.relations.NodeManyToManySourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NodeManyToManySourceEndClass());Ext.namespace("cwm.relations");cwm.relations.NodeManyToManyTargetEndClass=function(){cwm.relations.NodeManyToManyTargetEndClass.superclass.constructor.call(this);this.uwmClassName="NodeManyToManyTargetEnd";this.instanceClassName="cwm.relations.ChiAssociation";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiAssociation";this.connectionEndRole="target";}
Ext.extend(cwm.relations.NodeManyToManyTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NodeManyToManyTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.NodeSourceEndClass=function(){cwm.relations.NodeSourceEndClass.superclass.constructor.call(this);this.uwmClassName="NodeSourceEnd";this.instanceClassName="cwm.relations.ChiAssociation";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiAssociation";this.connectionEndRole="source";}
Ext.extend(cwm.relations.NodeSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NodeSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.NodeTargetEndClass=function(){cwm.relations.NodeTargetEndClass.superclass.constructor.call(this);this.uwmClassName="NodeTargetEnd";this.instanceClassName="cwm.relations.ChiAssociation";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiAssociation";this.connectionEndRole="target";}
Ext.extend(cwm.relations.NodeTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NodeTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.ChiControllerActionKeySourceClass=function(){cwm.relations.ChiControllerActionKeySourceClass.superclass.constructor.call(this);this.uwmClassName="ChiControllerActionKeySource";this.instanceClassName="cwm.relations.NMChiControllerActionKeyChiController";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiController";}
Ext.extend(cwm.relations.ChiControllerActionKeySourceClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiControllerActionKeySourceClass());Ext.namespace("cwm.relations");cwm.relations.ChiControllerActionKeyTargetClass=function(){cwm.relations.ChiControllerActionKeyTargetClass.superclass.constructor.call(this);this.uwmClassName="ChiControllerActionKeyTarget";this.instanceClassName="cwm.relations.NMChiControllerActionKeyChiController";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiController";}
Ext.extend(cwm.relations.ChiControllerActionKeyTargetClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiControllerActionKeyTargetClass());Ext.namespace("cwm.relations");cwm.relations.ChiControllerSourceClass=function(){cwm.relations.ChiControllerSourceClass.superclass.constructor.call(this);this.uwmClassName="ChiControllerSource";this.instanceClassName="cwm.relations.NMChiControllerChiController";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiController";}
Ext.extend(cwm.relations.ChiControllerSourceClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiControllerSourceClass());Ext.namespace("cwm.relations");cwm.relations.ChiControllerTargetClass=function(){cwm.relations.ChiControllerTargetClass.superclass.constructor.call(this);this.uwmClassName="ChiControllerTarget";this.instanceClassName="cwm.relations.NMChiControllerChiController";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiController";}
Ext.extend(cwm.relations.ChiControllerTargetClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiControllerTargetClass());Ext.namespace("cwm.relations");cwm.relations.ChiNodeSourceClass=function(){cwm.relations.ChiNodeSourceClass.superclass.constructor.call(this);this.uwmClassName="ChiNodeSource";this.instanceClassName="cwm.relations.ChiAssociation";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiNode";}
Ext.extend(cwm.relations.ChiNodeSourceClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiNodeSourceClass());Ext.namespace("cwm.relations");cwm.relations.ChiNodeTargetClass=function(){cwm.relations.ChiNodeTargetClass.superclass.constructor.call(this);this.uwmClassName="ChiNodeTarget";this.instanceClassName="cwm.relations.ChiAssociation";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiNode";}
Ext.extend(cwm.relations.ChiNodeTargetClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiNodeTargetClass());Ext.namespace("cwm.relations");cwm.relations.NMChiControllerActionKeyChiViewClass=function(){cwm.relations.NMChiControllerActionKeyChiViewClass.superclass.constructor.call(this);this.uwmClassName="NMChiControllerActionKeyChiView";this.instanceClassName="cwm.relations.NMChiControllerActionKeyChiView";this.treeIcon="Figure";this.labelProperties={};this.maskInfo={"ChiController":"ChiController","ChiView":"ChiView"};}
Ext.extend(cwm.relations.NMChiControllerActionKeyChiViewClass,uwm.model.EditableRelationClass);cwm.relations.NMChiControllerActionKeyChiViewClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'action',toolTip:"The Action which triggeres this association",name:'action',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'config',toolTip:"The configuration file in which this association will be placed",name:'config',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'context',toolTip:"The Context in which this association is valid",name:'context',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMChiControllerActionKeyChiViewClass());Ext.namespace("cwm.relations");cwm.relations.NMChiControllerActionKeyChiView=function(modelNodeClass){cwm.relations.NMChiControllerActionKeyChiView.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.NMChiControllerActionKeyChiView,uwm.model.EditableRelation);cwm.relations.NMChiControllerActionKeyChiView.prototype.initByDisplayResult=function(node){cwm.relations.NMChiControllerActionKeyChiView.superclass.initByDisplayResult.call(this,node);this.data.action=node.values[1].action;this.data.config=node.values[1].config;this.data.context=node.values[1].context;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.relations.NMChiControllerActionKeyChiView.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("action").loadValue(this.data.action);realForm.findField("config").loadValue(this.data.config);realForm.findField("context").loadValue(this.data.context);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
Ext.namespace("cwm.relations");cwm.relations.NMChiNodeChiMany2ManyClass=function(){cwm.relations.NMChiNodeChiMany2ManyClass.superclass.constructor.call(this);this.uwmClassName="NMChiNodeChiMany2Many";this.instanceClassName="cwm.relations.NMChiNodeChiMany2Many";this.treeIcon="Figure";this.labelProperties={};this.maskInfo={"NMChiNodeChiMany2ManyChiNodeEnd":"ChiController","ChiNodeManyToMany":"ChiNodeManyToMany"};}
Ext.extend(cwm.relations.NMChiNodeChiMany2ManyClass,uwm.model.EditableRelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMChiNodeChiMany2ManyClass());Ext.namespace("cwm.relations");cwm.relations.NMChiNodeChiMany2Many=function(modelNodeClass){cwm.relations.NMChiNodeChiMany2Many.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.NMChiNodeChiMany2Many,uwm.model.EditableRelation);Ext.namespace("cwm.relations");cwm.relations.NMChiNodeChiMany2ManyChiNodeEndClass=function(){cwm.relations.NMChiNodeChiMany2ManyChiNodeEndClass.superclass.constructor.call(this);this.uwmClassName="NMChiNodeChiMany2ManyChiNodeEnd";this.instanceClassName="cwm.relations.NMChiNodeChiMany2Many";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ChiNode";}
Ext.extend(cwm.relations.NMChiNodeChiMany2ManyChiNodeEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMChiNodeChiMany2ManyChiNodeEndClass());Ext.namespace("cwm.relations");cwm.relations.NMChiUseCaseChiUseCase=function(){cwm.relations.NMChiUseCaseChiUseCase.superclass.constructor.call(this);this.uwmClassName="NMChiUseCaseChiUseCase";this.instanceClassName="cwm.relations.NMChiUseCaseChiUseCase";this.treeIcon="Figure";this.labelProperties={};this.maskInfo={"ChiUseCaseSource":"ChiBusinessUseCase","ChiUseCaseTarget":"ChiBusinessUseCase","ChiUseCaseCoreSource":"ChiBusinessUseCaseCore","ChiUseCaseCoreTarget":"ChiBusinessUseCaseCore"};}
Ext.extend(cwm.relations.NMChiUseCaseChiUseCase,uwm.model.EditableRelationClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.NMChiUseCaseChiUseCase());Ext.namespace("cwm.relations");cwm.relations.NMChiUseCaseChiUseCase=function(modelNodeClass){cwm.relations.NMChiUseCaseChiUseCase.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.relations.NMChiUseCaseChiUseCase,uwm.model.EditableRelation);Ext.namespace("cwm.relations");cwm.relations.ChiUseCaseSourceEndClass=function(){cwm.relations.ChiUseCaseSourceEndClass.superclass.constructor.call(this);this.uwmClassName="ChiUseCaseSourceEnd";this.instanceClassName="cwm.relations.NMChiUseCaseChiUseCase";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="NMChiUseCaseChiUseCase";this.connectionEndRole="source";}
Ext.extend(cwm.relations.ChiUseCaseSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiUseCaseSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.ChiUseCaseTargetEndClass=function(){cwm.relations.ChiUseCaseTargetEndClass.superclass.constructor.call(this);this.uwmClassName="ChiUseCaseTargetEnd";this.instanceClassName="cwm.relations.NMChiUseCaseChiUseCase";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="NMChiUseCaseChiUseCase";this.connectionEndRole="target";}
Ext.extend(cwm.relations.ChiUseCaseTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiUseCaseTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.ChiUseCaseCoreSourceEndClass=function(){cwm.relations.ChiUseCaseCoreSourceEndClass.superclass.constructor.call(this);this.uwmClassName="ChiUseCaseCoreSourceEnd";this.instanceClassName="cwm.relations.NMChiUseCaseChiUseCase";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="NMChiUseCaseChiUseCase";this.connectionEndRole="source";}
Ext.extend(cwm.relations.ChiUseCaseCoreSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiUseCaseCoreSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.ChiUseCaseCoreTargetEndClass=function(){cwm.relations.ChiUseCaseCoreTargetEndClass.superclass.constructor.call(this);this.uwmClassName="ChiUseCaseCoreTargetEnd";this.instanceClassName="cwm.relations.NMChiUseCaseChiUseCase";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="NMChiUseCaseChiUseCase";this.connectionEndRole="target";}
Ext.extend(cwm.relations.ChiUseCaseCoreTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiUseCaseCoreTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.AControlFlowSourceEndClass=function(){cwm.relations.AControlFlowSourceEndClass.superclass.constructor.call(this);this.uwmClassName="AControlFlowSourceEnd";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ControlFlow";this.connectionEndRole="source";}
Ext.extend(cwm.relations.AControlFlowSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.AControlFlowSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.AControlFlowTargetEndClass=function(){cwm.relations.AControlFlowTargetEndClass.superclass.constructor.call(this);this.uwmClassName="AControlFlowTargetEnd";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ControlFlow";this.connectionEndRole="target";}
Ext.extend(cwm.relations.AControlFlowTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.AControlFlowTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.ADControlFlowSourceEndClass=function(){cwm.relations.ADControlFlowSourceEndClass.superclass.constructor.call(this);this.uwmClassName="ADControlFlowSourceEnd";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ControlFlow";this.connectionEndRole="source";}
Ext.extend(cwm.relations.ADControlFlowSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ADControlFlowSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.ADControlFlowTargetEndClass=function(){cwm.relations.ADControlFlowTargetEndClass.superclass.constructor.call(this);this.uwmClassName="ADControlFlowTargetEnd";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ControlFlow";this.connectionEndRole="target";}
Ext.extend(cwm.relations.ADControlFlowTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ADControlFlowTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.ASControlFlowSourceEndClass=function(){cwm.relations.ASControlFlowSourceEndClass.superclass.constructor.call(this);this.uwmClassName="ASControlFlowSourceEnd";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ControlFlow";this.connectionEndRole="source";}
Ext.extend(cwm.relations.ASControlFlowSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ASControlFlowSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.ASControlFlowTargetEndClass=function(){cwm.relations.ASControlFlowTargetEndClass.superclass.constructor.call(this);this.uwmClassName="ASControlFlowTargetEnd";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ControlFlow";this.connectionEndRole="target";}
Ext.extend(cwm.relations.ASControlFlowTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ASControlFlowTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.ARControlFlowSourceEndClass=function(){cwm.relations.ARControlFlowSourceEndClass.superclass.constructor.call(this);this.uwmClassName="ARControlFlowSourceEnd";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ControlFlow";this.connectionEndRole="source";}
Ext.extend(cwm.relations.ARControlFlowSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ARControlFlowSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.ARControlFlowTargetEndClass=function(){cwm.relations.ARControlFlowTargetEndClass.superclass.constructor.call(this);this.uwmClassName="ARControlFlowTargetEnd";this.instanceClassName="cwm.relations.ControlFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ControlFlow";this.connectionEndRole="target";}
Ext.extend(cwm.relations.ARControlFlowTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ARControlFlowTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.AObjectFlowSourceEndClass=function(){cwm.relations.AObjectFlowSourceEndClass.superclass.constructor.call(this);this.uwmClassName="AObjectFlowSourceEnd";this.instanceClassName="cwm.relations.ObjectFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ObjectFlow";this.connectionEndRole="source";}
Ext.extend(cwm.relations.AObjectFlowSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.AObjectFlowSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.AObjectFlowTargetEndClass=function(){cwm.relations.AObjectFlowTargetEndClass.superclass.constructor.call(this);this.uwmClassName="AObjectFlowTargetEnd";this.instanceClassName="cwm.relations.ObjectFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ObjectFlow";this.connectionEndRole="target";}
Ext.extend(cwm.relations.AObjectFlowTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.AObjectFlowTargetEndClass());Ext.namespace("cwm.relations");cwm.relations.ChiObjectObjectFlowSourceEndClass=function(){cwm.relations.ChiObjectObjectFlowSourceEndClass.superclass.constructor.call(this);this.uwmClassName="ChiObjectObjectFlowSourceEnd";this.instanceClassName="cwm.relations.ObjectFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ObjectFlow";this.connectionEndRole="source";}
Ext.extend(cwm.relations.ChiObjectObjectFlowSourceEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiObjectObjectFlowSourceEndClass());Ext.namespace("cwm.relations");cwm.relations.ChiObjectObjectFlowTargetEndClass=function(){cwm.relations.ChiObjectObjectFlowTargetEndClass.superclass.constructor.call(this);this.uwmClassName="ChiObjectObjectFlowTargetEnd";this.instanceClassName="cwm.relations.ObjectFlow";this.treeIcon="Figure";this.labelProperties={};this.realUwmClassName="ObjectFlow";this.connectionEndRole="target";}
Ext.extend(cwm.relations.ChiObjectObjectFlowTargetEndClass,uwm.model.RelationEndClass);uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.relations.ChiObjectObjectFlowTargetEndClass());Ext.namespace("cwm");cwm.ChiFeatureClass=function(){cwm.ChiFeatureClass.superclass.constructor.call(this);this.uwmClassName="ChiFeature";this.instanceClassName="cwm.ChiFeature";this.treeIcon="FigureChiFeature";this.figureIcon="ChiFeatureTab";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=150;this.initialHeight=50;this.description="A characteristic of a (proposed) system that realizes a ChiRequirement.";this.helpUrl="help/index.html#4.3.ChiFeature|outline";this.defaultLabel="New ChiFeature";this.semanticGroup="requirements";this.labelProperties={Name:true};this.gridTabIconClass="ChiFeatureTab";this.gridTabTip="Shows all <b>ChiFeature</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiRequirement":{label:"is realized by",invert:false,connectionType:'realization',cardinality:-1},"ChiBusinessUseCase":{label:"is refined by",invert:false,invertBackendRelation:true,connectionType:'realization',cardinality:-1},"ChiBusinessUseCaseCore":{label:"is refined by",invert:false,invertBackendRelation:true,connectionType:'realization',cardinality:-1}};}
Ext.extend(cwm.ChiFeatureClass,uwm.model.ModelClass);cwm.ChiFeatureClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This feature's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Proofreader',toolTip:"This feature's revisor's name and role in the project",name:'Proofreader',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"This feature's status",name:'Status',listType:"ChiFeatureStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiFeatureClass());Ext.namespace("cwm");cwm.ChiFeature=function(modelNodeClass){cwm.ChiFeature.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiFeature,uwm.model.ModelObject);cwm.ChiFeature.prototype.initByDisplayResult=function(node){cwm.ChiFeature.superclass.initByDisplayResult.call(this,node);this.data.Author=node.values[1].Author;this.data.Proofreader=node.values[1].Proofreader;this.data.Status=node.values[1].Status;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiFeature.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Proofreader").loadValue(this.data.Proofreader);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiFeature.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiGoalClass=function(){cwm.ChiGoalClass.superclass.constructor.call(this);this.uwmClassName="ChiGoal";this.instanceClassName="cwm.ChiGoal";this.treeIcon="FigureChiGoal";this.figureIcon="ChiGoalTab";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=150;this.initialHeight=50;this.description=" a Measurable scope that the enterprise wants to achieve. ";this.helpUrl="help/index.html#ChiGoal|outline";this.defaultLabel="New ChiGoal";this.semanticGroup="requirements";this.labelProperties={Name:true};this.gridTabIconClass="ChiGoalTab";this.gridTabTip="Shows all <b>ChiGoal</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiGoal":{label:"contains",invert:false,connectionType:'composition',cardinality:-1},"ChiRequirement":{label:"is specified by",invert:false,connectionType:'composition',cardinality:-1}};}
Ext.extend(cwm.ChiGoalClass,uwm.model.ModelClass);cwm.ChiGoalClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.NumberField({fieldLabel:'Priority',toolTip:"A priority in %",name:'Priority',allowDecimals:false,allowNegative:false,minValue:0,maxValue:100,modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.NumberField({fieldLabel:'Value_ammount',toolTip:"The actual amount of the value this goal intends to alter.",name:'Value_ammount',allowDecimals:false,allowNegative:false,modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.NumberField({fieldLabel:'Value_Goal',toolTip:"The amount by which the value is to be altered.",name:'Value_Goal',allowDecimals:false,allowNegative:false,modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Value_Name',toolTip:"The name of the value this goal intends to alter.",name:'Value_Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'GoalType',toolTip:"",name:'GoalType',listType:"ChiGoalType",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiGoal's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiGoalClass());Ext.namespace("cwm");cwm.ChiGoal=function(modelNodeClass){cwm.ChiGoal.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiGoal,uwm.model.ModelObject);cwm.ChiGoal.prototype.initByDisplayResult=function(node){cwm.ChiGoal.superclass.initByDisplayResult.call(this,node);this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.Priority=node.values[1].Priority;this.data.Value_ammount=node.values[1].Value_ammount;this.data.Value_Goal=node.values[1].Value_Goal;this.data.Value_Name=node.values[1].Value_Name;this.data.GoalType=node.values[1].GoalType;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiGoal.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("Priority").loadValue(this.data.Priority);realForm.findField("Value_ammount").loadValue(this.data.Value_ammount);realForm.findField("Value_Goal").loadValue(this.data.Value_Goal);realForm.findField("Value_Name").loadValue(this.data.Value_Name);realForm.findField("GoalType").loadValue(this.data.GoalType);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiGoal.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiIssueClass=function(){cwm.ChiIssueClass.superclass.constructor.call(this);this.uwmClassName="ChiIssue";this.instanceClassName="cwm.ChiIssue";this.treeIcon="FigureChiIssue";this.figureIcon="ChiIssueTab";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=150;this.initialHeight=50;this.description="a characteristic of a system that could slow down or even completely stop the realization of a ChiRequirement";this.helpUrl="help/index.html#4.4.ChiIssue|outline";this.defaultLabel="New ChiIssue";this.semanticGroup="requirements";this.labelProperties={Name:true};this.gridTabIconClass="ChiIssueTab";this.gridTabTip="Shows all <b>ChiIssues</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiRequirement":{label:"is negated by",invert:true,connectionType:'associationType',cardinality:1}};}
Ext.extend(cwm.ChiIssueClass,uwm.model.ModelClass);cwm.ChiIssueClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This issue's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Responsible',toolTip:"The responsible to close the present issue",name:'Responsible',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiIssueClass());Ext.namespace("cwm");cwm.ChiIssue=function(modelNodeClass){cwm.ChiIssue.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiIssue,uwm.model.ModelObject);cwm.ChiIssue.prototype.initByDisplayResult=function(node){cwm.ChiIssue.superclass.initByDisplayResult.call(this,node);this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.Responsible=node.values[1].Responsible;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiIssue.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("Responsible").loadValue(this.data.Responsible);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiIssue.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiRequirementClass=function(){cwm.ChiRequirementClass.superclass.constructor.call(this);this.uwmClassName="ChiRequirement";this.instanceClassName="cwm.ChiRequirement";this.treeIcon="FigureChiRequirement";this.figureIcon="ChiRequirementTab";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=150;this.initialHeight=50;this.description=" A Business guide line about the Enterprise or the project.";this.helpUrl="help/index.html#4.2.ChiRequirement|outline";this.defaultLabel="New ChiRequirement";this.semanticGroup="requirements";this.labelProperties={Name:true};this.gridTabIconClass="ChiRequirementTab";this.gridTabTip="Shows all <b>ChiRequirements</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiRequirement":{label:"contains",invert:false,connectionType:'composition',cardinality:-1},"ChiFeature":{label:"is realized by",invert:true,connectionType:'realization',cardinality:-1},"ChiIssue":{label:"is negated by",invert:false,connectionType:'associationType',cardinality:-1},"ChiGoal":{label:"is specified by",invert:true,connectionType:'composition',cardinality:1}};}
Ext.extend(cwm.ChiRequirementClass,uwm.model.ModelClass);cwm.ChiRequirementClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'reqType',toolTip:"",name:'reqType',listType:"ChiRequirementType",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.NumberField({fieldLabel:'Priority',toolTip:"A priority in %. Requirements are ordered by priority.",name:'Priority',allowDecimals:false,allowNegative:false,minValue:0,maxValue:100,modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This requirement's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Proofreader',toolTip:"Each requirement needs to be confirmed. This requirement's proofreader's name and role in the project",name:'Proofreader',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"",name:'Status',listType:"ChiRequirementStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiRequirementClass());Ext.namespace("cwm");cwm.ChiRequirement=function(modelNodeClass){cwm.ChiRequirement.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiRequirement,uwm.model.ModelObject);cwm.ChiRequirement.prototype.initByDisplayResult=function(node){cwm.ChiRequirement.superclass.initByDisplayResult.call(this,node);this.data.reqType=node.values[1].reqType;this.data.Priority=node.values[1].Priority;this.data.Author=node.values[1].Author;this.data.Proofreader=node.values[1].Proofreader;this.data.Status=node.values[1].Status;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiRequirement.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("reqType").loadValue(this.data.reqType);realForm.findField("Priority").loadValue(this.data.Priority);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Proofreader").loadValue(this.data.Proofreader);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiRequirement.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiBusinessUseCaseClass=function(){cwm.ChiBusinessUseCaseClass.superclass.constructor.call(this);this.uwmClassName="ChiBusinessUseCase";this.instanceClassName="cwm.ChiBusinessUseCase";this.treeIcon="FigureChiBusinessUseCase";this.figureIcon="FigureChiBusinessUseCase";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=117;this.initialHeight=78;this.description=" A Business Use Case is part of a business process that produces an advantage to the enterprise.";this.helpUrl="help/index.html#4.6.ChiBusinessUseCase|outline";this.defaultLabel="New ChiBusinessUseCase";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiBusinessUseCaseTab";this.gridTabTip="Shows all <b>ChiBusinessUseCase</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"Label",mapping:"Label"}];this.gridColumns=[{header:"Label",dataIndex:"Label",sortable:true}];this.connectionInfo={"ChiBusinessUseCase":{nmUwmClassName:"ChiUseCaseSourceEnd",connections:[{label:"Precedes",invert:true,invertBackendRelation:true,connectionType:"sequence",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseSource",otherUwmClassName:"ChiUseCaseTarget"},{label:"Generalizes",invert:true,invertBackendRelation:true,connectionType:"generalization",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseSource",otherUwmClassName:"ChiUseCaseTarget"},{label:"Contains",invert:true,invertBackendRelation:true,connectionType:"containment",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseSource",otherUwmClassName:"ChiUseCaseTarget"}]},"ChiBusinessUseCaseCore":{nmUwmClassName:"ChiUseCaseCoreSourceEnd",connections:[{label:"Precedes",invert:true,invertBackendRelation:true,connectionType:"sequence",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseSource",otherUwmClassName:"ChiUseCaseCoreTarget"},{label:"Generalizes",invert:true,invertBackendRelation:true,connectionType:"generalization",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseSource",otherUwmClassName:"ChiUseCaseCoreTarget"},{label:"Contains",invert:true,invertBackendRelation:true,connectionType:"containment",nmSelf:true,invertBackendRelation:true,cardinality:-1,ownUwmClassName:"ChiUseCaseSource",otherUwmClassName:"ChiUseCaseCoreTarget"}]},"ChiWorkerExternal":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiWorkerInternal":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiWorker":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiBusinessPartnerActive":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiBusinessPartnerPassive":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiBusinessPartner":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiBusinessProcess":{label:"contains",invert:true,connectionType:'composition',cardinality:1},"ChiFeature":{label:"is refined by",invert:true,invertBackendRelation:true,connectionType:'realization',cardinality:1},"ChiController":{label:"refined by",invert:false,connectionType:'composition',cardinality:-1}};this.maskInfo={"ChiUseCaseTargetEnd":"NMChiUseCaseChiUseCase","ChiUseCaseSourceEnd":"NMChiUseCaseChiUseCase","ChiUseCaseCoreTargetEnd":"NMChiUseCaseChiUseCase","ChiUseCaseCoreSourceEnd":"NMChiUseCaseChiUseCase"};}
Ext.extend(cwm.ChiBusinessUseCaseClass,uwm.model.ModelClass);cwm.ChiBusinessUseCaseClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'PrimaryActor',toolTip:"the main actor of this use case",name:'PrimaryActor',listType:"ChiWorkerExternal,ChiWorkerInternal,ChiWorker,ChiBusinessPartner,ChiBusinessPartnerActive,ChiBusinessPartnerPassive",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'OtherActors',toolTip:"The list of actors associated with the use case. Although this information is contained in the use case itself, it helps to increase the understandability of the use case when the diagram is unavailable.",name:'OtherActors',listType:"ChiWorkerExternal,ChiWorkerInternal,ChiWorker,ChiBusinessPartner,ChiBusinessPartnerActive,ChiBusinessPartnerPassive",modelNode:modelNode,disabled:isLockedByOtherUser,}),new uwm.property.TextField({fieldLabel:'GoalInContext',toolTip:"The goal should implicitly express the actor's intent or purpose of the use case, such as *Enrol Student in Seminar.*",name:'GoalInContext',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Scope',toolTip:"Boundaries in which the use case is operated when invoked (E.g. CMS)",name:'Scope',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Level',toolTip:"Authorizations for operations/actions to be performed against the Chi business objects in scope. Against every object/process 4 CRUD basic operations are possible: Create (Write), Read (Open), Update (Change), Delete  (Destroy)",name:'Level',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Stakeholders',toolTip:"List of actors that have a special interest (i.e. to be informed every time) in completion of the use case",name:'Stakeholders',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Precondition',toolTip:"A list of the conditions, if any, that must be met before a use case may be invoked. Can be a previous Use case or self the presence of the system in Scope.",name:'Precondition',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Trigger',toolTip:"Event that is responsible for invocation of the use case.",name:'Trigger',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'MainSuccessScenario',toolTip:"The main path of logic an actor follows through a use case. Often referred to as the *happy path* or the *main path* because it describes how the use case works when everything works as it normally should.",name:'MainSuccessScenario',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Extensions',toolTip:"Extensions",name:'Extensions',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiBusinessUseCaseCore's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiBusinessUseCaseClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageLabelCenterFigure(label,figure,"../application/images/ChiBusinessUseCase.PNG",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiBusinessUseCaseClass());Ext.namespace("cwm");cwm.ChiBusinessUseCase=function(modelNodeClass){cwm.ChiBusinessUseCase.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiBusinessUseCase,uwm.model.ModelObject);cwm.ChiBusinessUseCase.prototype.initByDisplayResult=function(node){cwm.ChiBusinessUseCase.superclass.initByDisplayResult.call(this,node);this.data.PrimaryActor=node.values[1].PrimaryActor;this.data.OtherActors=node.values[1].OtherActors;this.data.GoalInContext=node.values[1].GoalInContext;this.data.Scope=node.values[1].Scope;this.data.Level=node.values[1].Level;this.data.Stakeholders=node.values[1].Stakeholders;this.data.Precondition=node.values[1].Precondition;this.data.Trigger=node.values[1].Trigger;this.data.MainSuccessScenario=node.values[1].MainSuccessScenario;this.data.Extensions=node.values[1].Extensions;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiBusinessUseCase.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("PrimaryActor").loadValue(this.data.PrimaryActor);realForm.findField("OtherActors").loadValue(this.data.OtherActors);realForm.findField("GoalInContext").loadValue(this.data.GoalInContext);realForm.findField("Scope").loadValue(this.data.Scope);realForm.findField("Level").loadValue(this.data.Level);realForm.findField("Stakeholders").loadValue(this.data.Stakeholders);realForm.findField("Precondition").loadValue(this.data.Precondition);realForm.findField("Trigger").loadValue(this.data.Trigger);realForm.findField("MainSuccessScenario").loadValue(this.data.MainSuccessScenario);realForm.findField("Extensions").loadValue(this.data.Extensions);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiBusinessUseCase.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
cwm.ChiBusinessUseCase.prototype.associate=function(otherModelObject,connectionInfo,nmUwmClassName,connection){if(otherModelObject instanceof cwm.ChiBusinessProcess){var processParentOids=otherModelObject.getParentOids();if(processParentOids){for(var i=0;i<processParentOids.length;i++){if(uwm.Util.getUwmClassNameFromOid(processParentOids[i])=='Package'){cwm.ChiBusinessUseCase.superclass.associate.call(this,otherModelObject,connectionInfo,nmUwmClassName,connection);uwm.model.ModelContainer.getInstance().getByOid(processParentOids[i]).disassociate(this);}}}}
else{cwm.ChiBusinessUseCase.superclass.associate.call(this,otherModelObject,connectionInfo,nmUwmClassName,connection);}}
Ext.namespace("cwm");cwm.ChiBusinessUseCaseCoreClass=function(){cwm.ChiBusinessUseCaseCoreClass.superclass.constructor.call(this);this.uwmClassName="ChiBusinessUseCaseCore";this.instanceClassName="cwm.ChiBusinessUseCaseCore";this.treeIcon="FigureChiBusinessUseCaseCore";this.figureIcon="FigureChiBusinessUseCaseCore";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=116;this.initialHeight=79;this.description=" A Core Use Case generates a value for an active business partner and is directly connected to the objectives (ChiGoals) of a company or the process of his existence (typically making money).";this.helpUrl="help/index.html#ChiBusinessUseCaseCore|outline";this.defaultLabel="New ChiBusinessUseCaseCore";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiBusinessUseCaseCoreTab";this.gridTabTip="Shows all <b>ChiBusinessUseCaseCore</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"Label",mapping:"Label"}];this.gridColumns=[{header:"Label",dataIndex:"Label",sortable:true}];this.connectionInfo={"ChiBusinessUseCaseCore":{nmUwmClassName:"ChiUseCaseCoreSourceEnd",connections:[{label:"Precedes",invert:true,invertBackendRelation:true,connectionType:"sequence",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseCoreSource",otherUwmClassName:"ChiUseCaseCoreTarget"},{label:"Generalizes",invert:true,invertBackendRelation:true,connectionType:"generalization",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseCoreSource",otherUwmClassName:"ChiUseCaseCoreTarget"},{label:"Contains",invert:true,invertBackendRelation:true,connectionType:"containment",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseCoreSource",otherUwmClassName:"ChiUseCaseCoreTarget"}]},"ChiBusinessUseCase":{nmUwmClassName:"ChiUseCaseSourceEnd",connections:[{label:"Precedes",invert:true,invertBackendRelation:true,connectionType:"sequence",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseCoreSource",otherUwmClassName:"ChiUseCaseTarget"},{label:"Generalizes",invert:true,invertBackendRelation:true,connectionType:"generalization",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseCoreSource",otherUwmClassName:"ChiUseCaseTarget"},{label:"Contains",invert:true,invertBackendRelation:true,connectionType:"containment",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiUseCaseCoreSource",otherUwmClassName:"ChiUseCaseTarget"}]},"ChiWorkerExternal":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiWorkerInternal":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiWorker":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiBusinessPartnerActive":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiBusinessPartnerPassive":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiBusinessPartner":{label:"participates in",invert:true,connectionType:'association',cardinality:-1},"ChiBusinessProcess":{label:"contains",invert:true,connectionType:'composition',cardinality:1},"ChiFeature":{label:"is refined by",invert:true,invertBackendRelation:true,connectionType:'realization',cardinality:1},"ChiController":{label:"implemented by",invert:false,connectionType:'composition',cardinality:-1}};this.maskInfo={"ChiUseCaseCoreTargetEnd":"NMChiUseCaseChiUseCase","ChiUseCaseCoreSourceEnd":"NMChiUseCaseChiUseCase","ChiUseCaseTargetEnd":"NMChiUseCaseChiUseCase","ChiUseCaseSourceEnd":"NMChiUseCaseChiUseCase"};}
Ext.extend(cwm.ChiBusinessUseCaseCoreClass,uwm.model.ModelClass);cwm.ChiBusinessUseCaseCoreClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'PrimaryActor',toolTip:"the main actor of this use case",name:'PrimaryActor',listType:"ChiWorkerExternal,ChiWorkerInternal,ChiWorker,ChiBusinessPartner,ChiBusinessPartnerActive,ChiBusinessPartnerPassive",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'OtherActors',toolTip:"The list of actors associated with the use case. Although this information is contained in the use case itself, it helps to increase the understandability of the use case when the diagram is unavailable.",name:'OtherActors',listType:"ChiWorkerExternal,ChiWorkerInternal,ChiWorker,ChiBusinessPartner,ChiBusinessPartnerActive,ChiBusinessPartnerPassive",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'GoalInContext',toolTip:"The goal should implicitly express the actor's intent or purpose of the use case, such as *Enrol Student in Seminar.*",name:'GoalInContext',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Scope',toolTip:"Boundaries in which the use case is operated when invoked (E.g. CMS)",name:'Scope',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Level',toolTip:"Authorizations for operations/actions to be performed against the Chi business objects in scope. Against every object/process 4 CRUD basic operations are possible: Create (Write), Read (Open), Update (Change), Delete  (Destroy)",name:'Level',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Stakeholders',toolTip:"List of actors that have a special interest (i.e. to be informed every time) in completion of the use case",name:'Stakeholders',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Precondition',toolTip:"A list of the conditions, if any, that must be met before a use case may be invoked. Can be a previous Use case or self the presence of the system in Scope.",name:'Precondition',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Trigger',toolTip:"Event that is responsible for invocation of the use case.",name:'Trigger',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'MainSuccessScenario',toolTip:"The main path of logic an actor follows through a use case. Often referred to as the *happy path* or the *main path* because it describes how the use case works when everything works as it normally should.",name:'MainSuccessScenario',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Extensions',toolTip:"Extensions",name:'Extensions',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiBusinessUseCaseCore's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiBusinessUseCaseCoreClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageLabelCenterFigure(label,figure,"../application/images/ChiBusinessUseCaseCore.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiBusinessUseCaseCoreClass());Ext.namespace("cwm");cwm.ChiBusinessUseCaseCore=function(modelNodeClass){cwm.ChiBusinessUseCaseCore.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiBusinessUseCaseCore,uwm.model.ModelObject);cwm.ChiBusinessUseCaseCore.prototype.initByDisplayResult=function(node){cwm.ChiBusinessUseCaseCore.superclass.initByDisplayResult.call(this,node);this.data.PrimaryActor=node.values[1].PrimaryActor;this.data.OtherActors=node.values[1].OtherActors;this.data.GoalInContext=node.values[1].GoalInContext;this.data.Scope=node.values[1].Scope;this.data.Level=node.values[1].Level;this.data.Stakeholders=node.values[1].Stakeholders;this.data.Precondition=node.values[1].Precondition;this.data.Trigger=node.values[1].Trigger;this.data.MainSuccessScenario=node.values[1].MainSuccessScenario;this.data.Extensions=node.values[1].Extensions;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiBusinessUseCaseCore.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("PrimaryActor").loadValue(this.data.PrimaryActor);realForm.findField("OtherActors").loadValue(this.data.OtherActors);realForm.findField("GoalInContext").loadValue(this.data.GoalInContext);realForm.findField("Scope").loadValue(this.data.Scope);realForm.findField("Level").loadValue(this.data.Level);realForm.findField("Stakeholders").loadValue(this.data.Stakeholders);realForm.findField("Precondition").loadValue(this.data.Precondition);realForm.findField("Trigger").loadValue(this.data.Trigger);realForm.findField("MainSuccessScenario").loadValue(this.data.MainSuccessScenario);realForm.findField("Extensions").loadValue(this.data.Extensions);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiBusinessUseCaseCore.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
cwm.ChiBusinessUseCaseCore.prototype.associate=function(otherModelObject,connectionInfo,nmUwmClassName,connection){if(otherModelObject instanceof cwm.ChiBusinessProcess){var processParentOids=otherModelObject.getParentOids();if(processParentOids){for(var i=0;i<processParentOids.length;i++){if(uwm.Util.getUwmClassNameFromOid(processParentOids[i])=='Package'){cwm.ChiBusinessUseCaseCore.superclass.associate.call(this,otherModelObject,connectionInfo,nmUwmClassName,connection);uwm.model.ModelContainer.getInstance().getByOid(processParentOids[i]).disassociate(this);}}}}
else{cwm.ChiBusinessUseCaseCore.superclass.associate.call(this,otherModelObject,connectionInfo,nmUwmClassName,connection);}}
Ext.namespace("cwm");cwm.ChiBusinessProcessClass=function(){cwm.ChiBusinessProcessClass.superclass.constructor.call(this);this.uwmClassName="ChiBusinessProcess";this.instanceClassName="cwm.ChiBusinessProcess";this.treeIcon="FigureChiBusinessProcess";this.figureIcon="ChiBusinessProcessTab";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=150;this.initialHeight=50;this.description=" A Business Process is a sum of actions that produces a business advantage to the enterprise. It is composed by one or many ChiBusinessUseCases.";this.helpUrl="help/index.html#4.5.ChiBusinessProcess|outline";this.defaultLabel="New ChiBusinessProcess";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiBusinessProcessTab";this.gridTabTip="Shows all <b>ChiBusinessProcess</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiBusinessUseCase":{label:"Contains",invert:false,connectionType:'composition',cardinality:-1},"ChiBusinessUseCaseCore":{label:"Contains",invert:false,connectionType:'composition',cardinality:-1}};}
Ext.extend(cwm.ChiBusinessProcessClass,uwm.model.ModelClass);cwm.ChiBusinessProcessClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiBusinessProcess's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiBusinessProcessClass());Ext.namespace("cwm");cwm.ChiBusinessProcess=function(modelNodeClass){cwm.ChiBusinessProcess.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiBusinessProcess,uwm.model.ModelObject);cwm.ChiBusinessProcess.prototype.initByDisplayResult=function(node){cwm.ChiBusinessProcess.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiBusinessProcess.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiBusinessProcess.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
cwm.ChiBusinessProcess.prototype.disassociate=function(otherModelObject,connectionInfo,relationObject){if(otherModelObject instanceof cwm.ChiBusinessUseCase||otherModelObject instanceof cwm.ChiBusinessUseCaseCore){var processParentOids=this.getParentOids();if(processParentOids){for(var i=0;i<processParentOids.length;i++){if(uwm.Util.getUwmClassNameFromOid(processParentOids[i])=='Package'){cwm.ChiBusinessProcess.superclass.disassociate.call(this,otherModelObject,connectionInfo,relationObject);otherModelObject.associate(uwm.model.ModelContainer.getInstance().getByOid(processParentOids[i]));}}}}
else{cwm.ChiBusinessProcess.superclass.disassociate.call(this,otherModelObject,connectionInfo,relationObject);}}
Ext.namespace("cwm");cwm.ChiBusinessPartnerClass=function(){cwm.ChiBusinessPartnerClass.superclass.constructor.call(this);this.uwmClassName="ChiBusinessPartner";this.instanceClassName="cwm.ChiBusinessPartner";this.treeIcon="FigureChiBusinessPartner";this.figureIcon="FigureChiBusinessPartner";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=26;this.initialHeight=52;this.description=" A ChiBusinesPartner is an external person that has a Business relation with the enterprise.";this.helpUrl="help/index.html#ChiBusinessPartner|outline";this.defaultLabel="New ChiBusinessPartner";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiBusinessPartnerTab";this.gridTabTip="Shows all <b>ChiBusinessPartner</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiBusinessUseCase":{label:"participates in",invert:false,connectionType:'association',cardinality:-1},"ChiBusinessUseCaseCore":{label:"participates in",invert:false,connectionType:'association',cardinality:-1}};}
Ext.extend(cwm.ChiBusinessPartnerClass,uwm.model.ModelClass);cwm.ChiBusinessPartnerClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiBusinessPartner's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiBusinessPartnerClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiBusinessPartner.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiBusinessPartnerClass());Ext.namespace("cwm");cwm.ChiBusinessPartner=function(modelNodeClass){cwm.ChiBusinessPartner.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiBusinessPartner,uwm.model.ModelObject);cwm.ChiBusinessPartner.prototype.initByDisplayResult=function(node){cwm.ChiBusinessPartner.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiBusinessPartner.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiBusinessPartner.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiBusinessPartnerActiveClass=function(){cwm.ChiBusinessPartnerActiveClass.superclass.constructor.call(this);this.uwmClassName="ChiBusinessPartnerActive";this.instanceClassName="cwm.ChiBusinessPartnerActive";this.treeIcon="FigureChiBusinessPartnerActive";this.figureIcon="FigureChiBusinessPartnerActive";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=25;this.initialHeight=52;this.description=" A ChiBusinesPartnerActive is a direct customer of the enterprise.";this.helpUrl="help/index.html#ChiBusinessPartnerActive|outline";this.defaultLabel="New ChiBusinessPartnerActive";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiBusinessPartnerActiveTab";this.gridTabTip="Shows all <b>ChiBusinessPartnerActive</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiBusinessPartnerActive":{label:"Generalization",invert:true,invertBackendRelation:true,connectionType:'generalization',cardinality:-1},"ChiBusinessUseCase":{label:"participates in",invert:false,connectionType:'association',cardinality:-1},"ChiBusinessUseCaseCore":{label:"participates in",invert:false,connectionType:'association',cardinality:-1}};}
Ext.extend(cwm.ChiBusinessPartnerActiveClass,uwm.model.ModelClass);cwm.ChiBusinessPartnerActiveClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiBusinessPartnerActive's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiBusinessPartnerActiveClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiBusinessPartnerActive.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiBusinessPartnerActiveClass());Ext.namespace("cwm");cwm.ChiBusinessPartnerActive=function(modelNodeClass){cwm.ChiBusinessPartnerActive.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiBusinessPartnerActive,uwm.model.ModelObject);cwm.ChiBusinessPartnerActive.prototype.initByDisplayResult=function(node){cwm.ChiBusinessPartnerActive.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiBusinessPartnerActive.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiBusinessPartnerActive.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiBusinessPartnerPassiveClass=function(){cwm.ChiBusinessPartnerPassiveClass.superclass.constructor.call(this);this.uwmClassName="ChiBusinessPartnerPassive";this.instanceClassName="cwm.ChiBusinessPartnerPassive";this.treeIcon="FigureChiBusinessPartnerPassive";this.figureIcon="FigureChiBusinessPartnerPassive";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=24;this.initialHeight=52;this.description=" A ChiBusinesPartnerPassive is an indirect customer (typically a supplier) of the enterprise.";this.helpUrl="help/index.html#ChiBusinessPartnerPassive|outline";this.defaultLabel="New ChiBusinessPartnerPassive";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiBusinessPartnerPassiveTab";this.gridTabTip="Shows all <b>ChiBusinessPartnerPassive</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiBusinessPartnerPassive":{label:"Generalization",invert:true,invertBackendRelation:true,connectionType:'generalization',cardinality:-1},"ChiBusinessUseCase":{label:"participates in",invert:false,connectionType:'association',cardinality:-1},"ChiBusinessUseCaseCore":{label:"participates in",invert:false,connectionType:'association',cardinality:-1}};}
Ext.extend(cwm.ChiBusinessPartnerPassiveClass,uwm.model.ModelClass);cwm.ChiBusinessPartnerPassiveClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiBusinessPartnerPassiv's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiBusinessPartnerPassiveClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiBusinessPartnerPassive.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiBusinessPartnerPassiveClass());Ext.namespace("cwm");cwm.ChiBusinessPartnerPassive=function(modelNodeClass){cwm.ChiBusinessPartnerPassive.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiBusinessPartnerPassive,uwm.model.ModelObject);cwm.ChiBusinessPartnerPassive.prototype.initByDisplayResult=function(node){cwm.ChiBusinessPartnerPassive.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiBusinessPartnerPassive.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiBusinessPartnerPassive.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiWorkerExternalClass=function(){cwm.ChiWorkerExternalClass.superclass.constructor.call(this);this.uwmClassName="ChiWorkerExternal";this.instanceClassName="cwm.ChiWorkerExternal";this.treeIcon="FigureChiWorkerExternal";this.figureIcon="FigureChiWorkerExternal";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=52;this.initialHeight=50;this.description=" A Chi External Worker is an employee that interacts directly with ChiBusinesPartner outside the enterprise.";this.helpUrl="help/index.html#ChiWorkerExternal|outline";this.defaultLabel="New ChiWorkerExternal";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiWorkerExternalTab";this.gridTabTip="Shows all <b>ChiWorkerExternal</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiWorkerExternal":{label:"Generalization",invert:true,invertBackendRelation:true,connectionType:'generalization',cardinality:-1},"ChiBusinessUseCase":{label:"participates in",invert:false,connectionType:'association',cardinality:-1},"ChiBusinessUseCaseCore":{label:"participates in",invert:false,connectionType:'association',cardinality:-1}};}
Ext.extend(cwm.ChiWorkerExternalClass,uwm.model.ModelClass);cwm.ChiWorkerExternalClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_OfflineUser',toolTip:"",name:'is_OfflineUser',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiWorkerExternal's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiWorkerExternalClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiWorkerExternal.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiWorkerExternalClass());Ext.namespace("cwm");cwm.ChiWorkerExternal=function(modelNodeClass){cwm.ChiWorkerExternal.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiWorkerExternal,uwm.model.ModelObject);cwm.ChiWorkerExternal.prototype.initByDisplayResult=function(node){cwm.ChiWorkerExternal.superclass.initByDisplayResult.call(this,node);this.data.is_OfflineUser=node.values[1].is_OfflineUser;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiWorkerExternal.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("is_OfflineUser").loadValue(this.data.is_OfflineUser);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiWorkerExternal.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiWorkerInternalClass=function(){cwm.ChiWorkerInternalClass.superclass.constructor.call(this);this.uwmClassName="ChiWorkerInternal";this.instanceClassName="cwm.ChiWorkerInternal";this.treeIcon="FigureChiWorkerInternal";this.figureIcon="FigureChiWorkerInternal";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=48;this.initialHeight=52;this.description=" A Chi  Worker Internal is an employee of the enterprise that has no contact with Business partners.";this.helpUrl="help/index.html#ChiWorkerInternal|outline";this.defaultLabel="New ChiWorkerInternal";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiWorkerInternalTab";this.gridTabTip="Shows all <b>ChiWorkerInternal</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiWorkerInternal":{label:"Generalization",invert:true,invertBackendRelation:true,connectionType:'generalization',cardinality:-1},"ChiBusinessUseCase":{label:"participates in",invert:false,connectionType:'association',cardinality:-1},"ChiBusinessUseCaseCore":{label:"participates in",invert:false,connectionType:'association',cardinality:-1}};}
Ext.extend(cwm.ChiWorkerInternalClass,uwm.model.ModelClass);cwm.ChiWorkerInternalClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'Alias',name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiWorkerInternal's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiWorkerInternalClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiWorkerInternal.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiWorkerInternalClass());Ext.namespace("cwm");cwm.ChiWorkerInternal=function(modelNodeClass){cwm.ChiWorkerInternal.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiWorkerInternal,uwm.model.ModelObject);cwm.ChiWorkerInternal.prototype.initByDisplayResult=function(node){cwm.ChiWorkerInternal.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiWorkerInternal.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiWorkerInternal.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiWorkerClass=function(){cwm.ChiWorkerClass.superclass.constructor.call(this);this.uwmClassName="ChiWorker";this.instanceClassName="cwm.ChiWorker";this.treeIcon="FigureChiWorker";this.figureIcon="FigureChiWorker";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=52;this.initialHeight=52;this.description=" A ChiWorker is a special actor that works within the enterprise. ";this.helpUrl="help/index.html#ChiWorker|outline";this.defaultLabel="New ChiWorker";this.semanticGroup="UseCases";this.labelProperties={Name:true};this.gridTabIconClass="ChiWorkerTab";this.gridTabTip="Shows all <b>ChiWorker</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiBusinessUseCase":{label:"participates in",invert:false,connectionType:'association',cardinality:-1},"ChiBusinessUseCaseCore":{label:"participates in",invert:false,connectionType:'association',cardinality:-1}};}
Ext.extend(cwm.ChiWorkerClass,uwm.model.ModelClass);cwm.ChiWorkerClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiWorker's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiWorkerClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiWorker.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiWorkerClass());Ext.namespace("cwm");cwm.ChiWorker=function(modelNodeClass){cwm.ChiWorker.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiWorker,uwm.model.ModelObject);cwm.ChiWorker.prototype.initByDisplayResult=function(node){cwm.ChiWorker.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiWorker.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiWorker.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ActivityClass=function(){cwm.ActivityClass.superclass.constructor.call(this);this.uwmClassName="Activity";this.instanceClassName="cwm.Activity";this.treeIcon="FigureActivity";this.figureIcon="FigureActivity";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=95;this.initialHeight=60;this.description=" An activity is the specification of a parameterized sequence of behaviour. An activity is shown as a round-cornered rectangle enclosing all the actions, control flows and other elements that make up the activity.";this.helpUrl="help/index.html#Activity|outline";this.defaultLabel="New Activity";this.semanticGroup="activity";this.labelProperties={Name:true};this.gridTabIconClass="ActivityTab";this.gridTabTip="Shows all <b>Activity</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"Activity":{nmUwmClassName:"AControlFlowSourceEnd",connection:{label:"Associates",invert:true,invertBackendRelation:true,connectionType:"controlflow",nmSelf:true,cardinality:-1,ownUwmClassName:"AControlFlowSource",otherUwmClassName:"AControlFlowTarget"}},"ActivityDecision":{nmUwmClassName:"ADControlFlowSourceEnd",connection:{label:"Associates",invert:true,invertBackendRelation:true,connectionType:"controlflow",nmSelf:true,cardinality:-1,ownUwmClassName:"AControlFlowSource",otherUwmClassName:"ADControlFlowTarget"}},"ActivityInitial":{nmUwmClassName:"AControlFlowTargetEnd",connection:{label:"Associates",invert:true,connectionType:"controlflow",nmSelf:true,cardinality:1,ownUwmClassName:"AControlFlowTarget",otherUwmClassName:"ActivityInitial"}},"ActivityFinal":{nmUwmClassName:"AControlFlowSourceEnd",connection:{label:"Associates",invert:false,connectionType:"controlflow",nmSelf:true,cardinality:1,ownUwmClassName:"AControlFlowSource",otherUwmClassName:"ActivityFinal"}},"ActivityReceive":{nmUwmClassName:"ARControlFlowSourceEnd",connection:{label:"Associates",invert:true,connectionType:"controlflow",nmSelf:true,cardinality:1,ownUwmClassName:"AControlFlowTarget",otherUwmClassName:"ARControlFlowSource"}},"ActivitySend":{nmUwmClassName:"ASControlFlowTargetEnd",connection:{label:"Associates",invert:false,connectionType:"controlflow",nmSelf:true,cardinality:1,ownUwmClassName:"AControlFlowSource",otherUwmClassName:"ASControlFlowTarget"}},"ChiObject":{nmUwmClassName:"ChiObjectObjectFlowSourceEnd",connection:{label:"Modify",invert:true,invertBackendRelation:true,connectionType:"objectflow",nmSelf:true,cardinality:-1,ownUwmClassName:"AObjectFlowSource",otherUwmClassName:"ChiObjectObjectFlowTarget"}}};this.maskInfo={"AControlFlowSourceEnd":"ControlFlow","AControlFlowTargetEnd":"ControlFlow","ADControlFlowSourceEnd":"ControlFlow","ADControlFlowTargetEnd":"ControlFlow","ASControlFlowSourceEnd":"ControlFlow","ASControlFlowTargetEnd":"ControlFlow","ARControlFlowSourceEnd":"ControlFlow","ARControlFlowTargetEnd":"ControlFlow","AObjectFlowSourceEnd":"ObjectFlow","AObjectFlowTargetEnd":"ObjectFlow","ChiObjectObjectFlowSourceEnd":"ObjectFlow","ChiObjectObjectFlowTargetEnd":"ObjectFlow"};}
Ext.extend(cwm.ActivityClass,uwm.model.ModelClass);cwm.ActivityClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This Activity's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ActivityClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageLabelCenterFigure(label,figure,"../application/images/Activity.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ActivityClass());Ext.namespace("cwm");cwm.Activity=function(modelNodeClass){cwm.Activity.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.Activity,uwm.model.ModelObject);cwm.Activity.prototype.initByDisplayResult=function(node){cwm.Activity.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.Activity.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.Activity.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ActivityDecisionClass=function(){cwm.ActivityDecisionClass.superclass.constructor.call(this);this.uwmClassName="ActivityDecision";this.instanceClassName="cwm.ActivityDecision";this.treeIcon="FigureActivityDecision";this.figureIcon="FigureActivityDecision";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=40;this.initialHeight=40;this.description=" A Decision is used to represent a choice amongst several possibilities.  Each transition usually is labeled with a text describing the response to the question posed by the Decision point.";this.helpUrl="help/index.html#ActivityDecision|outline";this.defaultLabel="New ActivityDecision";this.semanticGroup="activity";this.labelProperties={Name:true};this.gridTabIconClass="ActivityDecisionTab";this.gridTabTip="Shows all <b>ActivityDecision</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"Activity":{nmUwmClassName:"AControlFlowSourceEnd",connection:{label:"Associates",invert:true,invertBackendRelation:true,connectionType:"controlflow",nmSelf:true,cardinality:-1,ownUwmClassName:"ADControlFlowSource",otherUwmClassName:"AControlFlowTarget"}}};this.maskInfo={"AControlFlowSourceEnd":"ControlFlow","AControlFlowTargetEnd":"ControlFlow","ADControlFlowSourceEnd":"ControlFlow","ADControlFlowTargetEnd":"ControlFlow"};}
Ext.extend(cwm.ActivityDecisionClass,uwm.model.ModelClass);cwm.ActivityDecisionClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ActivityDecision's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ActivityDecisionClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ActivityDecision.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ActivityDecisionClass());Ext.namespace("cwm");cwm.ActivityDecision=function(modelNodeClass){cwm.ActivityDecision.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ActivityDecision,uwm.model.ModelObject);cwm.ActivityDecision.prototype.initByDisplayResult=function(node){cwm.ActivityDecision.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ActivityDecision.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ActivityDecision.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ActivityFinalClass=function(){cwm.ActivityFinalClass.superclass.constructor.call(this);this.uwmClassName="ActivityFinal";this.instanceClassName="cwm.ActivityFinal";this.treeIcon="FigureActivityFinal";this.figureIcon="FigureActivityFinal";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=40;this.initialHeight=40;this.description=" ";this.helpUrl="help/index.html#ActivityFinal|outline";this.defaultLabel="New ActivityFinal";this.semanticGroup="activity";this.labelProperties={Name:true};this.gridTabIconClass="ActivityFinalTab";this.gridTabTip="Shows all <b>ActivityFinal</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"Activity":{nmUwmClassName:"AControlFlowSourceEnd",connection:{label:"Associates",invert:true,connectionType:"controlflow",cardinality:-1,nmSelf:true,ownUwmClassName:"ActivityFinal",otherUwmClassName:"AControlFlowSource"}}};}
Ext.extend(cwm.ActivityFinalClass,uwm.model.ModelClass);cwm.ActivityFinalClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ActivityFinal's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ActivityFinalClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ActivityFinal.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ActivityFinalClass());Ext.namespace("cwm");cwm.ActivityFinal=function(modelNodeClass){cwm.ActivityFinal.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ActivityFinal,uwm.model.ModelObject);cwm.ActivityFinal.prototype.initByDisplayResult=function(node){cwm.ActivityFinal.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ActivityFinal.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ActivityFinal.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ActivityInitialClass=function(){cwm.ActivityInitialClass.superclass.constructor.call(this);this.uwmClassName="ActivityInitial";this.instanceClassName="cwm.ActivityInitial";this.treeIcon="FigureActivityInitial";this.figureIcon="FigureActivityInitial";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=40;this.initialHeight=40;this.description=" An initial or start node is depicted by a large black spot.";this.helpUrl="help/index.html#ActivityInitial|outline";this.defaultLabel="New ActivityInitial";this.semanticGroup="activity";this.labelProperties={Name:true};this.gridTabIconClass="ActivityInitialTab";this.gridTabTip="Shows all <b>ActivityInitial</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"Activity":{nmUwmClassName:"AControlFlowTargetEnd",connection:{label:"Associates",invert:false,connectionType:"controlflow",cardinality:-1,nmSelf:true,ownUwmClassName:"ActivityInitial",otherUwmClassName:"AControlFlowTarget"}}};}
Ext.extend(cwm.ActivityInitialClass,uwm.model.ModelClass);cwm.ActivityInitialClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ActivityInitial's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ActivityInitialClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ActivityInitial.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ActivityInitialClass());Ext.namespace("cwm");cwm.ActivityInitial=function(modelNodeClass){cwm.ActivityInitial.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ActivityInitial,uwm.model.ModelObject);cwm.ActivityInitial.prototype.initByDisplayResult=function(node){cwm.ActivityInitial.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ActivityInitial.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ActivityInitial.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ActivityReceiveClass=function(){cwm.ActivityReceiveClass.superclass.constructor.call(this);this.uwmClassName="ActivityReceive";this.instanceClassName="cwm.ActivityReceive";this.treeIcon="FigureActivityReceive";this.figureIcon="FigureActivityReceive";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=75;this.initialHeight=45;this.description=" ";this.helpUrl="help/index.html#ActivityReceive|outline";this.defaultLabel="New ActivityReceive";this.semanticGroup="activity";this.labelProperties={Name:true};this.gridTabIconClass="ActivityReceiveTab";this.gridTabTip="Shows all <b>ActivityReceive</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ActivitySend":{nmUwmClassName:"ASControlFlowSourceEnd",connection:{label:"Associates",invert:true,connectionType:"controlflow",nmSelf:true,cardinality:-1,ownUwmClassName:"ARControlFlowTarget",otherUwmClassName:"ASControlFlowSource"}},"Activity":{nmUwmClassName:"AControlFlowTargetEnd",connection:{label:"Associates",invert:true,invertBackendRelation:true,connectionType:"controlflow",nmSelf:true,cardinality:-1,ownUwmClassName:"ARControlFlowSource",otherUwmClassName:"AControlFlowTarget"}}};this.maskInfo={"AControlFlowSourceEnd":"ControlFlow","AControlFlowTargetEnd":"ControlFlow","ASControlFlowSourceEnd":"ControlFlow","ASControlFlowTargetEnd":"ControlFlow","ARControlFlowSourceEnd":"ControlFlow","ARControlFlowTargetEnd":"ControlFlow"};}
Ext.extend(cwm.ActivityReceiveClass,uwm.model.ModelClass);cwm.ActivityReceiveClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ActivityReceive's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ActivityReceiveClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageLabelCenterFigure(label,figure,"../application/images/ActivityReceive.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ActivityReceiveClass());Ext.namespace("cwm");cwm.ActivityReceive=function(modelNodeClass){cwm.ActivityReceive.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ActivityReceive,uwm.model.ModelObject);cwm.ActivityReceive.prototype.initByDisplayResult=function(node){cwm.ActivityReceive.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ActivityReceive.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ActivityReceive.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ActivitySendClass=function(){cwm.ActivitySendClass.superclass.constructor.call(this);this.uwmClassName="ActivitySend";this.instanceClassName="cwm.ActivitySend";this.treeIcon="FigureActivitySend";this.figureIcon="FigureActivitySend";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=80;this.initialHeight=45;this.description=" ";this.helpUrl="help/index.html#ActivitySend|outline";this.defaultLabel="New ActivitySend";this.semanticGroup="activity";this.labelProperties={Name:true};this.gridTabIconClass="ActivitySendTab";this.gridTabTip="Shows all <b>ActivitySend</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ActivityReceive":{nmUwmClassName:"ARControlFlowTargetEnd",connection:{label:"Associates",invert:false,connectionType:"controlflow",nmSelf:true,cardinality:1,ownUwmClassName:"ASControlFlowSource",otherUwmClassName:"ARControlFlowTarget"}},"Activity":{nmUwmClassName:"AControlFlowSourceEnd",connection:{label:"Associates",invert:true,connectionType:"controlflow",nmSelf:true,cardinality:-1,ownUwmClassName:"ASControlFlowTarget",otherUwmClassName:"AControlFlowSource"}}};this.maskInfo={"AControlFlowSourceEnd":"ControlFlow","AControlFlowTargetEnd":"ControlFlow","ARControlFlowSourceEnd":"ControlFlow","ARControlFlowTargetEnd":"ControlFlow","ASControlFlowSourceEnd":"ControlFlow","ASControlFlowTargetEnd":"ControlFlow"};}
Ext.extend(cwm.ActivitySendClass,uwm.model.ModelClass);cwm.ActivitySendClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ActivitySend's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ActivitySendClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageLabelCenterFigure(label,figure,"../application/images/ActivitySend.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ActivitySendClass());Ext.namespace("cwm");cwm.ActivitySend=function(modelNodeClass){cwm.ActivitySend.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ActivitySend,uwm.model.ModelObject);cwm.ActivitySend.prototype.initByDisplayResult=function(node){cwm.ActivitySend.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ActivitySend.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ActivitySend.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiObjectClass=function(){cwm.ChiObjectClass.superclass.constructor.call(this);this.uwmClassName="ChiObject";this.instanceClassName="cwm.ChiObject";this.treeIcon="FigureChiObject";this.figureIcon="FigureChiObject";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=100;this.initialHeight=50;this.description=" a chiObject reppresent an instance of a ChiNode or a Chivalue.";this.helpUrl="help/index.html#ChiObject|outline";this.defaultLabel="New ChiObject";this.semanticGroup=["activity","domain"];this.labelProperties={Name:true,object_status:true};this.gridTabIconClass="ChiObjectTab";this.gridTabTip="Shows all <b>ChiObject</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"},{name:"object_status",mapping:"object_status"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true},{header:"object_status",dataIndex:"object_status",sortable:true}];this.connectionInfo={"ChiNode":{label:"is instance of",invert:false,invertBackendRelation:true,connectionType:"is instance of",cardinality:1},"Activity":{nmUwmClassName:"AObjectFlowSourceEnd",connection:{label:"Modify",invert:true,invertBackendRelation:true,connectionType:"objectflow",nmSelf:true,cardinality:-1,ownUwmClassName:"ChiObjectObjectFlowSource",otherUwmClassName:"AObjectFlowTarget"}}};this.maskInfo={"AObjectFlowSourceEnd":"ObjectFlow","AObjectFlowTargetEnd":"ObjectFlow","ChiObjectObjectFlowSourceEnd":"ObjectFlow","ChiObjectObjectFlowTargetEnd":"ObjectFlow"};}
Ext.extend(cwm.ChiObjectClass,uwm.model.ModelClass);cwm.ChiObjectClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'object_status',toolTip:"",name:'object_status',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiObject's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiObjectClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.StatusFigure(label,figure,this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
cwm.ChiObjectClass.prototype.canCreateNewInDiagram=function(diagram){var result=cwm.ChiObjectClass.superclass.canCreateNewInDiagram(diagram);if(diagram instanceof uwm.diagram.Diagram){result=false;}
return result;}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiObjectClass());Ext.namespace("cwm");cwm.ChiObject=function(modelNodeClass){cwm.ChiObject.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiObject,uwm.model.ModelObject);cwm.ChiObject.prototype.initByDisplayResult=function(node){cwm.ChiObject.superclass.initByDisplayResult.call(this,node);this.data.object_status=node.values[1].object_status;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiObject.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("object_status").loadValue(this.data.object_status);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiObject.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
cwm.ChiObject.prototype.getStatus=function(){return this.getProperty("object_status");}
Ext.namespace("cwm");cwm.ChiFeatureStatusClass=function(){cwm.ChiFeatureStatusClass.superclass.constructor.call(this);this.uwmClassName="ChiFeatureStatus";this.instanceClassName="cwm.ChiFeatureStatus";this.treeIcon="FigureChiFeatureStatus";this.figureIcon="FigureChiFeatureStatus";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description="";this.helpUrl="help/index.html#ChiFeatureStatus|outline";this.defaultLabel="New ChiFeatureStatus";this.labelProperties={Name:true};this.gridTabIconClass="ChiFeatureStatusTab";this.gridTabTip="Shows all <b>ChiFeatureStatus</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiFeatureStatus":{label:"depends on",invert:false,connectionType:"specialization"},"ChiRequirement":{label:"specified by",invert:false,connectionType:"composition"}}}
Ext.extend(cwm.ChiFeatureStatusClass,uwm.model.TechnicalObjectClass);cwm.ChiFeatureStatusClass.prototype.getPropertyForm=function(modelNode){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',toolTip:'',modelNode:modelNode}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',toolTip:'',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'created',name:'created',toolTip:'',readOnly:true,modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',toolTip:'',readOnly:true,modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',toolTip:'',readOnly:true,modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',toolTip:'',readOnly:true,modelNode:modelNode}),]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiFeatureStatusClass());Ext.namespace("cwm");cwm.ChiFeatureStatus=function(modelNodeClass){cwm.ChiFeatureStatus.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiFeatureStatus,uwm.model.TechnicalObject);cwm.ChiFeatureStatus.prototype.initByDisplayResult=function(node){cwm.ChiFeatureStatus.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiFeatureStatus.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
Ext.namespace("cwm");cwm.ChiRequirementTypeClass=function(){cwm.ChiRequirementTypeClass.superclass.constructor.call(this);this.uwmClassName="ChiRequirementType";this.instanceClassName="cwm.ChiRequirementType";this.treeIcon="FigureChiRequirementType";this.figureIcon="FigureChiRequirementType";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description="Type of requirement";this.helpUrl="help/index.html#ChiRequirementType|outline";this.defaultLabel="New ChiRequirementType";this.labelProperties={Name:true};this.gridTabIconClass="ChiRequirementTypeTab";this.gridTabTip="Shows all <b>ChiRequirementType</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiRequirementType":{label:"depends on",invert:false,connectionType:"specialization"},"ChiRequirement":{label:"specified by",invert:false,connectionType:"composition"}}}
Ext.extend(cwm.ChiRequirementTypeClass,uwm.model.TechnicalObjectClass);cwm.ChiRequirementTypeClass.prototype.getPropertyForm=function(modelNode){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',toolTip:'',modelNode:modelNode}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',toolTip:'',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'created',name:'created',toolTip:'',readOnly:true,modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',toolTip:'',readOnly:true,modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',toolTip:'',readOnly:true,modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',toolTip:'',readOnly:true,modelNode:modelNode}),]});}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiRequirementTypeClass());Ext.namespace("cwm");cwm.ChiRequirementType=function(modelNodeClass){cwm.ChiRequirementType.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiRequirementType,uwm.model.TechnicalObject);cwm.ChiRequirementType.prototype.initByDisplayResult=function(node){cwm.ChiRequirementType.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiRequirementType.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
Ext.namespace("cwm");cwm.ChiRequirementStatusClass=function(){cwm.ChiRequirementStatusClass.superclass.constructor.call(this);this.uwmClassName="ChiRequirementStatus";this.instanceClassName="cwm.ChiRequirementStatus";this.treeIcon="FigureChiRequirementStatus";this.figureIcon="FigureChiRequirementStatus";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" ";this.helpUrl="help/index.html#ChiRequirementStatus|outline";this.defaultLabel="New ChiRequirementStatus";this.labelProperties={Name:true};this.gridTabIconClass="ChiRequirementStatusTab";this.gridTabTip="Shows all <b>ChiRequirementStatus</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.ChiRequirementStatusClass,uwm.model.TechnicalObjectClass);cwm.ChiRequirementStatusClass.prototype.getPropertyForm=function(modelNode){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiRequirementStatusClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiRequirementStatus.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiRequirementStatusClass());Ext.namespace("cwm");cwm.ChiRequirementStatus=function(modelNodeClass){cwm.ChiRequirementStatus.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiRequirementStatus,uwm.model.ModelObject);cwm.ChiRequirementStatus.prototype.initByDisplayResult=function(node){cwm.ChiRequirementStatus.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiRequirementStatus.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiRequirementStatus.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiBaseStatusClass=function(){cwm.ChiBaseStatusClass.superclass.constructor.call(this);this.uwmClassName="ChiBaseStatus";this.instanceClassName="cwm.ChiBaseStatus";this.treeIcon="FigureChiBaseStatus";this.figureIcon="FigureChiBaseStatus";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" This class host all status.";this.helpUrl="help/index.html#ChiBaseStatus|outline";this.defaultLabel="New ChiBaseStatus";this.labelProperties={Name:true};this.gridTabIconClass="ChiBaseStatusTab";this.gridTabTip="Shows all <b>ChiBaseStatus</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.ChiBaseStatusClass,uwm.model.TechnicalObjectClass);cwm.ChiBaseStatusClass.prototype.getPropertyForm=function(modelNode){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiBaseStatusClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiBaseStatus.png",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiBaseStatusClass());Ext.namespace("cwm");cwm.ChiBaseStatus=function(modelNodeClass){cwm.ChiBaseStatus.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiBaseStatus,uwm.model.ModelObject);cwm.ChiBaseStatus.prototype.initByDisplayResult=function(node){cwm.ChiBaseStatus.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiBaseStatus.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiBaseStatus.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiAuthorsClass=function(){cwm.ChiAuthorsClass.superclass.constructor.call(this);this.uwmClassName="ChiAuthors";this.instanceClassName="cwm.ChiAuthors";this.treeIcon="FigureChiAuthors";this.figureIcon="FigureChiAuthors";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" This class host all the actors actively involved in the project.";this.helpUrl="help/index.html#ChiAuthors|outline";this.defaultLabel="New ChiAuthors";this.labelProperties={Name:true};this.gridTabIconClass="ChiAuthorsTab";this.gridTabTip="Shows all <b>ChiAuthors</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.ChiAuthorsClass,uwm.model.TechnicalObjectClass);cwm.ChiAuthorsClass.prototype.getPropertyForm=function(modelNode){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Role',name:'Role',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiAuthorsClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiAuthors.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiAuthorsClass());Ext.namespace("cwm");cwm.ChiAuthors=function(modelNodeClass){cwm.ChiAuthors.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiAuthors,uwm.model.ModelObject);cwm.ChiAuthors.prototype.initByDisplayResult=function(node){cwm.ChiAuthors.superclass.initByDisplayResult.call(this,node);this.data.Role=node.values[1].Role;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiAuthors.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Role").loadValue(this.data.Role);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiAuthors.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiGoalTypeClass=function(){cwm.ChiGoalTypeClass.superclass.constructor.call(this);this.uwmClassName="ChiGoalType";this.instanceClassName="cwm.ChiGoalType";this.treeIcon="FigureChiGoalType";this.figureIcon="FigureChiGoalType";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" the type of Goal (eg. Strategic, Operational, Vision, etc).";this.helpUrl="help/index.html#ChiGoalType|outline";this.defaultLabel="New ChiGoalType";this.labelProperties={Name:true};this.gridTabIconClass="ChiGoalTypeTab";this.gridTabTip="Shows all <b>ChiGoalType</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.ChiGoalTypeClass,uwm.model.TechnicalObjectClass);cwm.ChiGoalTypeClass.prototype.getPropertyForm=function(modelNode){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiGoalTypeClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiGoalType.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiGoalTypeClass());Ext.namespace("cwm");cwm.ChiGoalType=function(modelNodeClass){cwm.ChiGoalType.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiGoalType,uwm.model.ModelObject);cwm.ChiGoalType.prototype.initByDisplayResult=function(node){cwm.ChiGoalType.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiGoalType.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiGoalType.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.RelationMultiplicityClass=function(){cwm.RelationMultiplicityClass.superclass.constructor.call(this);this.uwmClassName="RelationMultiplicity";this.instanceClassName="cwm.RelationMultiplicity";this.treeIcon="FigureRelationMultiplicity";this.figureIcon="FigureRelationMultiplicity";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" this class contains all the multiplicities that are supported by a relation.";this.helpUrl="help/index.html#RelationMultiplicity|outline";this.defaultLabel="New RelationMultiplicity";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="RelationMultiplicityTab";this.gridTabTip="Shows all <b>RelationMultiplicity</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.RelationMultiplicityClass,uwm.model.TechnicalObjectClass);cwm.RelationMultiplicityClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.RelationMultiplicityClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/RelationMultiplicity.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.RelationMultiplicityClass());Ext.namespace("cwm");cwm.RelationMultiplicity=function(modelNodeClass){cwm.RelationMultiplicity.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.RelationMultiplicity,uwm.model.TechnicalObject);cwm.RelationMultiplicity.prototype.initByDisplayResult=function(node){cwm.RelationMultiplicity.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.RelationMultiplicity.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.RelationMultiplicity.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.VisibilityClass=function(){cwm.VisibilityClass.superclass.constructor.call(this);this.uwmClassName="Visibility";this.instanceClassName="cwm.Visibility";this.treeIcon="FigureVisibility";this.figureIcon="FigureVisibility";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" this class hosts all the allowed input types like text, password, textarea, select, radio, checkbox, file, fileex, fckeditor, filebrowser, linkbrowser, date ...";this.helpUrl="help/index.html#Visibility|outline";this.defaultLabel="New Visibility";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="VisibilityTab";this.gridTabTip="Shows all <b>Visibility</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.VisibilityClass,uwm.model.TechnicalObjectClass);cwm.VisibilityClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.VisibilityClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/Visibility.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.VisibilityClass());Ext.namespace("cwm");cwm.Visibility=function(modelNodeClass){cwm.Visibility.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.Visibility,uwm.model.TechnicalObject);cwm.Visibility.prototype.initByDisplayResult=function(node){cwm.Visibility.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.Visibility.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.Visibility.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.InputTypeClass=function(){cwm.InputTypeClass.superclass.constructor.call(this);this.uwmClassName="InputType";this.instanceClassName="cwm.InputType";this.treeIcon="FigureInputType";this.figureIcon="FigureInputType";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" this class hosts all the allowed input types like text, password, textarea, select, radio, checkbox, file, fileex, fckeditor, filebrowser, linkbrowser, date ...";this.helpUrl="help/index.html#InputType|outline";this.defaultLabel="New InputType";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="InputTypeTab";this.gridTabTip="Shows all <b>InputType</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.InputTypeClass,uwm.model.TechnicalObjectClass);cwm.InputTypeClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.InputTypeClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/InputType.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.InputTypeClass());Ext.namespace("cwm");cwm.InputType=function(modelNodeClass){cwm.InputType.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.InputType,uwm.model.TechnicalObject);cwm.InputType.prototype.initByDisplayResult=function(node){cwm.InputType.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.InputType.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.InputType.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.RelationTypeClass=function(){cwm.RelationTypeClass.superclass.constructor.call(this);this.uwmClassName="RelationType";this.instanceClassName="cwm.RelationType";this.treeIcon="FigureRelationType";this.figureIcon="FigureRelationType";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" this class host all the relations type hosted by relation. Like Generalizzation, realization, aggregation, composition, etc.";this.helpUrl="help/index.html#RelationType|outline";this.defaultLabel="New RelationType";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="RelationTypeTab";this.gridTabTip="Shows all <b>RelationType</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.RelationTypeClass,uwm.model.TechnicalObjectClass);cwm.RelationTypeClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.RelationTypeClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/RelationType.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.RelationTypeClass());Ext.namespace("cwm");cwm.RelationType=function(modelNodeClass){cwm.RelationType.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.RelationType,uwm.model.TechnicalObject);cwm.RelationType.prototype.initByDisplayResult=function(node){cwm.RelationType.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.RelationType.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.RelationType.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.DisplayTypeClass=function(){cwm.DisplayTypeClass.superclass.constructor.call(this);this.uwmClassName="DisplayType";this.instanceClassName="cwm.DisplayType";this.treeIcon="FigureDisplayType";this.figureIcon="FigureDisplayType";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" list all the allowed display types (e.g image, text, links)";this.helpUrl="help/index.html#DisplayType|outline";this.defaultLabel="New DisplayType";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="DisplayTypeTab";this.gridTabTip="Shows all <b>DisplayType</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.DisplayTypeClass,uwm.model.TechnicalObjectClass);cwm.DisplayTypeClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.DisplayTypeClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/DisplayType.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.DisplayTypeClass());Ext.namespace("cwm");cwm.DisplayType=function(modelNodeClass){cwm.DisplayType.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.DisplayType,uwm.model.TechnicalObject);cwm.DisplayType.prototype.initByDisplayResult=function(node){cwm.DisplayType.superclass.initByDisplayResult.call(this,node);this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.DisplayType.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.DisplayType.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.GlossaryClass=function(){cwm.GlossaryClass.superclass.constructor.call(this);this.uwmClassName="Glossary";this.instanceClassName="cwm.Glossary";this.treeIcon="FigureGlossary";this.figureIcon="FigureGlossary";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" ";this.helpUrl="help/index.html#Glossary|outline";this.defaultLabel="New Glossary";this.semanticGroup="model";this.labelProperties={Name:true};this.gridTabIconClass="GlossaryTab";this.gridTabTip="Shows all <b>Glossary</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.GlossaryClass,uwm.model.TechnicalObjectClass);cwm.GlossaryClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'entryType',toolTip:"the type of glossary entry (eg business, technical, etc)",name:'entryType',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This glossary's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.GlossaryClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/Glossary.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.GlossaryClass());Ext.namespace("cwm");cwm.Glossary=function(modelNodeClass){cwm.Glossary.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.Glossary,uwm.model.TechnicalObject);cwm.Glossary.prototype.initByDisplayResult=function(node){cwm.Glossary.superclass.initByDisplayResult.call(this,node);this.data.entryType=node.values[1].entryType;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.Glossary.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("entryType").loadValue(this.data.entryType);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.Glossary.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiControllerClass=function(){cwm.ChiControllerClass.superclass.constructor.call(this);this.uwmClassName="ChiController";this.instanceClassName="cwm.ChiController";this.treeIcon="FigureChiController";this.figureIcon="FigureChiController";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=96;this.initialHeight=95;this.description=" A ChiController, Views and Associations define the application flow. A controller represent the Business logic where a certain flow is physical implemented.";this.helpUrl="help/index.html#ChiController|outline";this.defaultLabel="New ChiController";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="ChiControllerTab";this.gridTabTip="Shows all <b>ChiController</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiNode":{label:"instantiates",invert:false,connectionType:"association",cardinality:1},"ChiController":{nmUwmClassName:"SourceEnd",connections:[{label:"Generalization",invert:true,invertBackendRelation:true,connectionType:"generalization",nmSelf:true,cardinality:-1},{label:"ActionKey",invert:true,invertBackendRelation:true,connectionType:"association",nmSelf:true,cardinality:-1,nmUwmClassName:"SourceActionKeyEnd",ownUwmClassName:"ChiControllerActionKeySource",otherUwmClassName:"ChiControllerActionKeyTarget"}]},"ChiView":{nmUwmClassName:"NMChiControllerActionKeyChiView",connection:{label:"ActionKey",invert:false,connectionType:"association",nmSelf:false,cardinality:-1}},"ChiBusinessUseCase":{label:"implemented by",invert:true,connectionType:'composition',cardinality:1},"ChiBusinessUseCaseCore":{label:"implemented by",invert:true,connectionType:'composition',cardinality:1}};this.maskInfo={"TargetEnd":"NMChiControllerChiController","SourceEnd":"NMChiControllerChiController","TargetActionKeyEnd":"NMChiControllerActionKeyChiController","SourceActionKeyEnd":"NMChiControllerActionKeyChiController","NMChiControllerActionKeyChiView":"NMChiControllerActionKeyChiView"};}
Ext.extend(cwm.ChiControllerClass,uwm.model.ClassObjectClass);cwm.ChiControllerClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'visibility',toolTip:"visibility",name:'visibility',listType:"Visibility",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'isAbstract',name:'isAbstract',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiController's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiControllerClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ClassFigure(label,figure);}
cwm.ChiControllerClass.prototype.isAttributeEnabled=function(){return false;}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiControllerClass());Ext.namespace("cwm");cwm.ChiController=function(modelNodeClass){cwm.ChiController.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiController,uwm.model.ClassObject);cwm.ChiController.prototype.addAttribute=function(){uwm.model.ModelContainer.getInstance().createModelObject("ChiValue",this);}
cwm.ChiController.prototype.addOperation=function(){uwm.model.ModelContainer.getInstance().createModelObject("Operation",this);}
cwm.ChiController.prototype.initByDisplayResult=function(node){cwm.ChiController.superclass.initByDisplayResult.call(this,node);this.data.visibility=node.values[1].visibility;this.data.isAbstract=node.values[1].isAbstract;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiController.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("visibility").loadValue(this.data.visibility);realForm.findField("isAbstract").loadValue(this.data.isAbstract);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiController.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiNodeClass=function(){cwm.ChiNodeClass.superclass.constructor.call(this);this.uwmClassName="ChiNode";this.instanceClassName="cwm.ChiNode";this.treeIcon="FigureChiNode";this.figureIcon="FigureChiNode";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=96;this.initialHeight=95;this.description=" A Domain Object type used in Chronos. ChiNodes and ChiValues define the application data model.";this.helpUrl="help/index.html#ChiNode|outline";this.defaultLabel="New ChiNode";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="ChiNodeTab";this.gridTabTip="Shows all <b>ChiNode</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiController":{label:"instantiates",invert:true,connectionType:"Association",cardinality:1},"ChiObject":{label:"is instance of",invert:true,invertBackendRelation:true,connectionType:"is instance of",cardinality:-1},"ChiValue":{label:"has properties",invert:false,connectionType:"Composition",cardinality:-1},"Operation":{label:"Contains",invert:false,connectionType:"Composition",cardinality:-1},"ChiNode":{nmUwmClassName:"NodeSourceEnd",connections:[{label:"Generalization",invert:true,invertBackendRelation:true,connectionType:"generalization",nmSelf:true,cardinality:-1},{label:"Association",invert:true,invertBackendRelation:true,connectionType:"association",nmSelf:true,cardinality:-1},{label:"Aggregation",invert:true,invertBackendRelation:true,connectionType:"aggregation",nmSelf:true,cardinality:-1},{label:"Composition",invert:true,invertBackendRelation:true,connectionType:"composition",nmSelf:true,cardinality:-1}]},"ChiNodeManyToMany":{nmUwmClassName:"NMChiNodeChiMany2Many",connections:[{label:"Generalization",invert:true,connectionType:"generalization",nmSelf:false,cardinality:-1},{label:"Association",invert:false,connectionType:"association",nmSelf:false,cardinality:-1},{label:"Aggregation",invert:false,connectionType:"aggregation",nmSelf:false,cardinality:-1},{label:"Composition",invert:false,connectionType:"composition",nmSelf:false,cardinality:-1}]},"ChiView":{label:"ActionKey",invert:false,connectionType:"association",cardinality:1}};this.maskInfo={"NodeTargetEnd":"ChiAssociation","NodeSourceEnd":"ChiAssociation"};}
Ext.extend(cwm.ChiNodeClass,uwm.model.ClassObjectClass);cwm.ChiNodeClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'visibility',toolTip:"visibility",name:'visibility',listType:"Visibility",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'isAbstract',name:'isAbstract',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'display_value',toolTip:"The value that is displayed in a list view. a single value or '|' -separated list of values",name:'display_value',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'parent_order',toolTip:"The order of the associated parents. a single value or '|' -separated list of values",name:'parent_order',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'child_order',toolTip:"The order of the associated children. a single value or '|' -separated list of values",name:'child_order',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'pk_name',toolTip:"The name of the primary key column on the database (optional). The generator will add this automatically if there is no appropriate attribute.",name:'pk_name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_searchable',name:'is_searchable',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'orderby',toolTip:"Definition of default sorting. Possible values: 'none' (no order), 'sortkey' (generates a 'sortkey' column, that is used for explicit sorting) or any the name of any WCMFValue defined in the node optionally.",name:'orderby',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_soap',name:'is_soap',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'initparams',toolTip:"Name of the configuration file's (config.ini) section, in which the initial parameters for the corresponding mapper are defined",name:'initparams',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'table_name',toolTip:"",name:'table_name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_ordered',name:'is_ordered',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiNode's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiNodeClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ClassFigure(label,figure);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiNodeClass());Ext.namespace("cwm");cwm.ChiNode=function(modelNodeClass){cwm.ChiNode.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiNode,uwm.model.ClassObject);cwm.ChiNode.prototype.addAttribute=function(){uwm.model.ModelContainer.getInstance().createModelObject("ChiValue",this);}
cwm.ChiNode.prototype.addOperation=function(){uwm.model.ModelContainer.getInstance().createModelObject("Operation",this);}
cwm.ChiNode.prototype.initByDisplayResult=function(node){cwm.ChiNode.superclass.initByDisplayResult.call(this,node);this.data.visibility=node.values[1].visibility;this.data.isAbstract=node.values[1].isAbstract;this.data.display_value=node.values[1].display_value;this.data.parent_order=node.values[1].parent_order;this.data.child_order=node.values[1].child_order;this.data.pk_name=node.values[1].pk_name;this.data.is_searchable=node.values[1].is_searchable;this.data.orderby=node.values[1].orderby;this.data.is_soap=node.values[1].is_soap;this.data.initparams=node.values[1].initparams;this.data.table_name=node.values[1].table_name;this.data.is_ordered=node.values[1].is_ordered;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiNode.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("visibility").loadValue(this.data.visibility);realForm.findField("isAbstract").loadValue(this.data.isAbstract);realForm.findField("display_value").loadValue(this.data.display_value);realForm.findField("parent_order").loadValue(this.data.parent_order);realForm.findField("child_order").loadValue(this.data.child_order);realForm.findField("pk_name").loadValue(this.data.pk_name);realForm.findField("is_searchable").loadValue(this.data.is_searchable);realForm.findField("orderby").loadValue(this.data.orderby);realForm.findField("is_soap").loadValue(this.data.is_soap);realForm.findField("initparams").loadValue(this.data.initparams);realForm.findField("table_name").loadValue(this.data.table_name);realForm.findField("is_ordered").loadValue(this.data.is_ordered);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiNode.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiNodeClass=function(){cwm.ChiNodeClass.superclass.constructor.call(this);this.uwmClassName="ChiNode";this.instanceClassName="cwm.ChiNode";this.treeIcon="FigureChiNode";this.figureIcon="FigureChiNode";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=96;this.initialHeight=95;this.description=" A Domain Object type used in Chronos. ChiNodes and ChiValues define the application data model.";this.helpUrl="help/index.html#ChiNode|outline";this.defaultLabel="New ChiNode";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="ChiNodeTab";this.gridTabTip="Shows all <b>ChiNode</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiController":{label:"instantiates",invert:true,connectionType:"Association",cardinality:1},"ChiObject":{label:"is instance of",invert:true,invertBackendRelation:true,connectionType:"is instance of",cardinality:-1},"ChiValue":{label:"has properties",invert:false,connectionType:"Composition",cardinality:-1},"Operation":{label:"Contains",invert:false,connectionType:"Composition",cardinality:-1},"ChiNode":{nmUwmClassName:"NodeSourceEnd",connections:[{label:"Generalization",invert:true,invertBackendRelation:true,connectionType:"generalization",nmSelf:true,cardinality:-1},{label:"Association",invert:true,invertBackendRelation:true,connectionType:"association",nmSelf:true,cardinality:-1},{label:"Aggregation",invert:true,invertBackendRelation:true,connectionType:"aggregation",nmSelf:true,cardinality:-1},{label:"Composition",invert:true,invertBackendRelation:true,connectionType:"composition",nmSelf:true,cardinality:-1}]},"ChiNodeManyToMany":{nmUwmClassName:"NMChiNodeChiMany2Many",connections:[{label:"Generalization",invert:true,connectionType:"generalization",nmSelf:false,cardinality:-1},{label:"Association",invert:false,connectionType:"association",nmSelf:false,cardinality:-1},{label:"Aggregation",invert:false,connectionType:"aggregation",nmSelf:false,cardinality:-1},{label:"Composition",invert:false,connectionType:"composition",nmSelf:false,cardinality:-1}]},"ChiView":{label:"ActionKey",invert:false,connectionType:"association",cardinality:1}};this.maskInfo={"NodeTargetEnd":"ChiAssociation","NodeSourceEnd":"ChiAssociation"};}
Ext.extend(cwm.ChiNodeClass,uwm.model.ClassObjectClass);cwm.ChiNodeClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'visibility',toolTip:"visibility",name:'visibility',listType:"Visibility",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'isAbstract',name:'isAbstract',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'display_value',toolTip:"The value that is displayed in a list view. a single value or '|' -separated list of values",name:'display_value',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'parent_order',toolTip:"The order of the associated parents. a single value or '|' -separated list of values",name:'parent_order',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'child_order',toolTip:"The order of the associated children. a single value or '|' -separated list of values",name:'child_order',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'pk_name',toolTip:"The name of the primary key column on the database (optional). The generator will add this automatically if there is no appropriate attribute.",name:'pk_name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_searchable',name:'is_searchable',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'orderby',toolTip:"Definition of default sorting. Possible values: 'none' (no order), 'sortkey' (generates a 'sortkey' column, that is used for explicit sorting) or any the name of any WCMFValue defined in the node optionally.",name:'orderby',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_soap',name:'is_soap',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'initparams',toolTip:"Name of the configuration file's (config.ini) section, in which the initial parameters for the corresponding mapper are defined",name:'initparams',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'table_name',toolTip:"",name:'table_name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_ordered',name:'is_ordered',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiNode's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiNodeClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ClassFigure(label,figure);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiNodeClass());Ext.namespace("cwm");cwm.ChiNodeManyToMany=function(modelNodeClass){cwm.ChiNodeManyToMany.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiNodeManyToMany,uwm.model.ClassObject);cwm.ChiNodeManyToMany.prototype.addAttribute=function(){uwm.model.ModelContainer.getInstance().createModelObject("ChiValue",this);}
cwm.ChiNodeManyToMany.prototype.addOperation=function(){uwm.model.ModelContainer.getInstance().createModelObject("Operation",this);}
cwm.ChiNodeManyToMany.prototype.initByDisplayResult=function(node){cwm.ChiNodeManyToMany.superclass.initByDisplayResult.call(this,node);this.data.display_value=node.values[1].display_value;this.data.parent_order=node.values[1].parent_order;this.data.child_order=node.values[1].child_order;this.data.pk_name=node.values[1].pk_name;this.data.is_searchable=node.values[1].is_searchable;this.data.orderby=node.values[1].orderby;this.data.is_soap=node.values[1].is_soap;this.data.initparams=node.values[1].initparams;this.data.table_name=node.values[1].table_name;this.data.is_ordered=node.values[1].is_ordered;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiNodeManyToMany.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("display_value").loadValue(this.data.display_value);realForm.findField("parent_order").loadValue(this.data.parent_order);realForm.findField("child_order").loadValue(this.data.child_order);realForm.findField("pk_name").loadValue(this.data.pk_name);realForm.findField("is_searchable").loadValue(this.data.is_searchable);realForm.findField("orderby").loadValue(this.data.orderby);realForm.findField("is_soap").loadValue(this.data.is_soap);realForm.findField("initparams").loadValue(this.data.initparams);realForm.findField("table_name").loadValue(this.data.table_name);realForm.findField("is_ordered").loadValue(this.data.is_ordered);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiNodeManyToMany.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiNodeManyToManyClass=function(){cwm.ChiNodeManyToManyClass.superclass.constructor.call(this);this.uwmClassName="ChiNodeManyToMany";this.instanceClassName="cwm.ChiNodeManyToMany";this.treeIcon="FigureChiNodeManyToMany";this.figureIcon="FigureChiNodeManyToMany";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=96;this.initialHeight=95;this.description="A many to many node used in Chronos. It is used to realize a many to many relation between two ChiNodes.";this.helpUrl="help/index.html#ChiNodeManyToMany|outline";this.defaultLabel="New ChiNodeManyToMany";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="ChiNodeManyToManyTab";this.gridTabTip="Shows all <b>ChiNodeManyToMany</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiValue":{label:"has properties",invert:false,connectionType:"Composition",cardinality:-1},"ChiNode":{nmUwmClassName:"NMChiNodeChiMany2Many",connections:[{label:"Generalization",invert:false,connectionType:"generalization",nmSelf:false,cardinality:-1},{label:"Association",invert:false,connectionType:"association",nmSelf:false,cardinality:-1},{label:"Aggregation",invert:false,connectionType:"aggregation",nmSelf:false,cardinality:-1},{label:"Composition",invert:false,connectionType:"composition",nmSelf:false,cardinality:-1}]}};this.maskInfo={"NodeManyToManyTargetEnd":"ChiAssociation","NodeManyToManySourceEnd":"ChiAssociation"};}
Ext.extend(cwm.ChiNodeManyToManyClass,uwm.model.ClassObjectClass);cwm.ChiNodeManyToManyClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'display_value',toolTip:"The value that is displayed in a list view. a single value or '|' -separated list of values",name:'display_value',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'parent_order',toolTip:"The order of the associated parents. a single value or '|' -separated list of values",name:'parent_order',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'child_order',toolTip:"The order of the associated children. a single value or '|' -separated list of values",name:'child_order',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'pk_name',toolTip:"The name of the primary key column on the database (optional). The generator will add this automatically if there is no appropriate attribute.",name:'pk_name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_searchable',name:'is_searchable',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'orderby',toolTip:"Definition of default sorting. Possible values: 'none' (no order), 'sortkey' (generates a 'sortkey' column, that is used for explicit sorting) or any the name of any WCMFValue defined in the node optionally.",name:'orderby',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_soap',name:'is_soap',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'initparams',toolTip:"Name of the configuration file's (config.ini) section, in which the initial parameters for the corresponding mapper are defined",name:'initparams',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'table_name',toolTip:"",name:'table_name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_ordered',name:'is_ordered',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiNodeManyToMany's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiNodeManyToManyClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ClassFigure(label,figure);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiNodeManyToManyClass());Ext.namespace("cwm");cwm.ChiValueClass=function(){cwm.ChiValueClass.superclass.constructor.call(this);this.uwmClassName="ChiValue";this.instanceClassName="cwm.ChiValue";this.treeIcon="FigureChiValue";this.figureIcon="FigureChiValue";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" ";this.helpUrl="help/index.html#ChiValue|outline";this.defaultLabel="New ChiValue";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="ChiValueTab";this.gridTabTip="Shows all <b>ChiValue</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiNode":{label:"has properties",invert:true,connectionType:"Composition"}};}
Ext.extend(cwm.ChiValueClass,uwm.model.ModelNodeClass);cwm.ChiValueClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'default',toolTip:"his reppresent the default value that a property takes automagically.",name:'default',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'PropertyType',toolTip:"this is the type of this property (e.g. string. int, etc.). not necessary",name:'PropertyType',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'display_type',toolTip:"The HTML display type for the attribute e.g. image<sup>11</sup>The interpretation of the display_type is done by DefaultValueRenderer or its subclasses..",name:'display_type',listType:"DisplayType",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'restrictions_description',toolTip:"A text describing the restrictions (both the negative and the positives), which will be shown in case of an error.",name:'restrictions_description',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'restrictions_match',toolTip:"Regular expression, which must be matched by the attribute value<sup>11</sup>The PHP function preg_match is used for comparison..",name:'restrictions_match',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'restrictions_not_match',toolTip:"Regular expression, which must not be matched by the attribute value<sup>11</sup>The PHP function preg_match is used for comparison..",name:'restrictions_not_match',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.EditableComboBox({fieldLabel:'input_type',toolTip:"Definition of the attribute's input control in the HTML form<sup>11</sup>The interpretation of the input_type is done by DefaultControlRenderer or its subclasses..",name:'input_type',listType:"InputType",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'app_data_type',toolTip:"The attribute's application datatype. This can be used in the application to group attributes and execute special logic on them.",name:'app_data_type',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'db_data_type',toolTip:"The atribute's database type. This will be used in the table definition. e.g. INT, VARCHAR, TEXT, ...",name:'db_data_type',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'is_editable',toolTip:"Declares, if the attribute is editable in the UI. The backend can always edit atributes",name:'is_editable',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'column_name',toolTip:"The name of the database column. If not given the attribute name will be used.",name:'column_name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiNode's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiValueClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/ChiValue.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiValueClass());Ext.namespace("cwm");cwm.ChiValue=function(modelNodeClass){cwm.ChiValue.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiValue,uwm.model.AttributeObject);cwm.ChiValue.prototype.initByDisplayResult=function(node){cwm.ChiValue.superclass.initByDisplayResult.call(this,node);this.data['default']=node.values[1]['default'];this.data.PropertyType=node.values[1].PropertyType;this.data.display_type=node.values[1].display_type;this.data.restrictions_description=node.values[1].restrictions_description;this.data.restrictions_match=node.values[1].restrictions_match;this.data.restrictions_not_match=node.values[1].restrictions_not_match;this.data.input_type=node.values[1].input_type;this.data.app_data_type=node.values[1].app_data_type;this.data.db_data_type=node.values[1].db_data_type;this.data.is_editable=node.values[1].is_editable;this.data.column_name=node.values[1].column_name;this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiValue.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("default").loadValue(this.data['default']);realForm.findField("PropertyType").loadValue(this.data.PropertyType);realForm.findField("restrictions_description").loadValue(this.data.restrictions_description);realForm.findField("restrictions_match").loadValue(this.data.restrictions_match);realForm.findField("restrictions_not_match").loadValue(this.data.restrictions_not_match);realForm.findField("input_type").loadValue(this.data.input_type);realForm.findField("app_data_type").loadValue(this.data.app_data_type);realForm.findField("db_data_type").loadValue(this.data.db_data_type);realForm.findField("is_editable").loadValue(this.data.is_editable);realForm.findField("column_name").loadValue(this.data.column_name);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiValue.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiViewClass=function(){cwm.ChiViewClass.superclass.constructor.call(this);this.uwmClassName="ChiView";this.instanceClassName="cwm.ChiView";this.treeIcon="FigureChiView";this.figureIcon="ChiViewTab";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=140;this.initialHeight=80;this.description=" A ChiView is a logical class used to display a ChiNode";this.helpUrl="help/index.html#ChiView|outline";this.defaultLabel="New ChiView";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="ChiViewTab";this.gridTabTip="Shows all <b>ChiView</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiController":{nmUwmClassName:"NMChiControllerActionKeyChiView",connection:{label:"ActionKey",invert:true,connectionType:"association",nmSelf:false,cardinality:-1}},"ChiNode":{label:"ActionKey",invert:true,connectionType:"association",cardinality:1}};this.maskInfo={"NMChiControllerActionKeyChiView":"NMChiControllerActionKeyChiView"}}
Ext.extend(cwm.ChiViewClass,uwm.model.ModelClass);cwm.ChiViewClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Project Id of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Version',toolTip:"the model version of this object",name:'Version',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This ChiView's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiViewClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageLabelCenterFigure(label,figure,"../application/images/ChiView.png",this.initialWidth,this.initialHeight,this.initialWidth,this.initialHeight);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiViewClass());Ext.namespace("cwm");cwm.ChiView=function(modelNodeClass){cwm.ChiView.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiView,uwm.model.ModelObject);cwm.ChiView.prototype.initByDisplayResult=function(node){cwm.ChiView.superclass.initByDisplayResult.call(this,node);this.data.Alias=node.values[1].Alias;this.data.Version=node.values[1].Version;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiView.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Version").loadValue(this.data.Version);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiView.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.OperationClass=function(){cwm.OperationClass.superclass.constructor.call(this);this.uwmClassName="Operation";this.instanceClassName="cwm.Operation";this.treeIcon="FigureOperation";this.figureIcon="FigureOperation";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" ";this.helpUrl="help/index.html#Operation|outline";this.defaultLabel="New Operation";this.semanticGroup="domain";this.labelProperties={Name:true};this.gridTabIconClass="OperationTab";this.gridTabTip="Shows all <b>Operation</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"ChiNode":{label:"Contains",invert:true,connectionType:"Composition"}};}
Ext.extend(cwm.OperationClass,uwm.model.ModelNodeClass);cwm.OperationClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser,regex:/^[a-z][a-zA-Z0-9]*$/,regexText:"the name must only contain letters and numbers"}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'visibility',toolTip:"visibility",name:'visibility',listType:"Visibility",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.Checkbox({fieldLabel:'isAbstract',name:'isAbstract',modelNode:modelNode,stateful:true,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'ReturnType',toolTip:"",name:'ReturnType',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Parameters',toolTip:"",name:'Parameters',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.OperationClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/Operation.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.OperationClass());Ext.namespace("cwm");cwm.Operation=function(modelNodeClass){cwm.Operation.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.Operation,uwm.model.OperationObject);cwm.Operation.prototype.initByDisplayResult=function(node){cwm.Operation.superclass.initByDisplayResult.call(this,node);this.data.visibility=node.values[1].visibility;this.data.isAbstract=node.values[1].isAbstract;this.data.ReturnType=node.values[1].ReturnType;this.data.Parameters=node.values[1].Parameters;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.Operation.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("visibility").loadValue(this.data.visibility);realForm.findField("isAbstract").loadValue(this.data.isAbstract);realForm.findField("ReturnType").loadValue(this.data.ReturnType);realForm.findField("Parameters").loadValue(this.data.Parameters);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.Operation.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.ChiSystemClass=function(){cwm.ChiSystemClass.superclass.constructor.call(this);this.uwmClassName="ChiSystem";this.instanceClassName="cwm.ChiSystem";this.treeIcon="FigureChiSystem";this.figureIcon="FigureChiSystem";this.figureClass="uwm.graphics.figure.RectangleFigure";this.initialWidth=50;this.initialHeight=50;this.description=" a ChiSystem is a entity for the configuration of a specific technology. it is transformed in a section within a configuration file.";this.helpUrl="help/index.html#ChiSystem|outline";this.defaultLabel="New ChiSystem";this.semanticGroup="configuration";this.labelProperties={Name:true};this.gridTabIconClass="ChiSystemTab";this.gridTabTip="Shows all <b>ChiSystem</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={"Property":{label:"Has Properties",invert:false,connectionType:"Composition",cardinality:-1},"ChiValue":{label:"",invert:false,connectionType:'composition',cardinality:-1}};}
Ext.extend(cwm.ChiSystemClass,uwm.model.ClassObjectClass);cwm.ChiSystemClass.prototype.getPropertyForm=function(modelNode,isLockedByOtherUser){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'config',toolTip:"this is the name of the file where the pairs value name &amp; initial value will be generated ",name:'config',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'plattform',toolTip:"this is the target platform for this configuration item",name:'plattform',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Name',toolTip:"the name of this object.",name:'Name',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'Alias',toolTip:"the Alias of this object.",name:'Alias',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.HtmlEditor({fieldLabel:'Notes',toolTip:"the actual description of the object.",name:'Notes',modelNode:modelNode,readOnly:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Author',toolTip:"This system's author's name and role in the project",name:'Author',listType:"ChiAuthors",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.ComboBox({fieldLabel:'Status',toolTip:"state",name:'Status',listType:"ChiBaseStatus",modelNode:modelNode,disabled:isLockedByOtherUser}),new uwm.property.TextField({fieldLabel:'created',toolTip:"the creation date of this object",name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',toolTip:"the user that created this object",name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',toolTip:"the last user that edited this object",name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',toolTip:"the date when this object was modified",name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.ChiSystemClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ClassFigure(label,figure);}
cwm.ChiSystemClass.prototype.isOperationEnabled=function(){return false;}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.ChiSystemClass());Ext.namespace("cwm");cwm.ChiSystem=function(modelNodeClass){cwm.ChiSystem.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.ChiSystem,uwm.model.ClassObject);cwm.ChiSystem.prototype.addAttribute=function(){uwm.model.ModelContainer.getInstance().createModelObject("ChiValue",this);}
cwm.ChiSystem.prototype.addOperation=function(){uwm.model.ModelContainer.getInstance().createModelObject("Operation",this);}
cwm.ChiSystem.prototype.initByDisplayResult=function(node){cwm.ChiSystem.superclass.initByDisplayResult.call(this,node);this.data.config=node.values[1].config;this.data.plattform=node.values[1].plattform;this.data.Alias=node.values[1].Alias;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.Author=node.values[1].Author;this.data.Status=node.values[1].Status;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.ChiSystem.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("config").loadValue(this.data.config);realForm.findField("plattform").loadValue(this.data.plattform);realForm.findField("Alias").loadValue(this.data.Alias);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("Author").loadValue(this.data.Author);realForm.findField("Status").loadValue(this.data.Status);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.ChiSystem.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}
Ext.namespace("cwm");cwm.LanguageClass=function(){cwm.LanguageClass.superclass.constructor.call(this);this.uwmClassName="Language";this.instanceClassName="cwm.Language";this.treeIcon="FigureLanguage";this.figureIcon="FigureLanguage";this.figureClass="uwm.graphics.figure.RectangleFigure";this.description=" ";this.helpUrl="help/index.html#Language|outline";this.defaultLabel="New Language";this.labelProperties={Name:true};this.gridTabIconClass="LanguageTab";this.gridTabTip="Shows all <b>Language</b> within selected scope";this.gridFields=[{name:"oid",mapping:"oid"},{name:"label",mapping:"label"}];this.gridColumns=[{header:"Label",dataIndex:"label",sortable:true}];this.connectionInfo={};}
Ext.extend(cwm.LanguageClass,uwm.model.TechnicalObjectClass);cwm.LanguageClass.prototype.getPropertyForm=function(modelNode){return new uwm.property.PropertyForm({items:[new uwm.property.TextField({fieldLabel:'code',name:'code',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'Name',name:'Name',modelNode:modelNode}),new uwm.property.HtmlEditor({fieldLabel:'Notes',name:'Notes',modelNode:modelNode}),new uwm.property.TextField({fieldLabel:'created',name:'created',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'creator',name:'creator',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'last_editor',name:'last_editor',modelNode:modelNode,readOnly:true}),new uwm.property.TextField({fieldLabel:'modified',name:'modified',modelNode:modelNode,readOnly:true})]});}
cwm.LanguageClass.prototype.getGraphics=function(label,figure){return new uwm.graphics.figure.ImageFigure(label,figure,"../application/images/Language.PNG",96,95,96,95);}
uwm.model.ModelNodeClassContainer.getInstance().registerClass(new cwm.LanguageClass());Ext.namespace("cwm");cwm.Language=function(modelNodeClass){cwm.Language.superclass.constructor.call(this,modelNodeClass);}
Ext.extend(cwm.Language,uwm.model.ModelObject);cwm.Language.prototype.initByDisplayResult=function(node){cwm.Language.superclass.initByDisplayResult.call(this,node);this.data.code=node.values[1].code;this.data.Name=node.values[1].Name;this.data.Notes=node.values[1].Notes;this.data.created=node.values[1].created;this.data.creator=node.values[1].creator;this.data.last_editor=node.values[1].last_editor;this.data.modified=node.values[1].modified;}
cwm.Language.prototype.populatePropertyForm=function(form){var realForm=form.getForm();realForm.findField("code").loadValue(this.data.code);realForm.findField("Name").loadValue(this.data.Name);realForm.findField("Notes").loadValue(this.data.Notes);realForm.findField("created").loadValue(this.data.created);realForm.findField("creator").loadValue(this.data.creator);realForm.findField("last_editor").loadValue(this.data.last_editor);realForm.findField("modified").loadValue(this.data.modified);}
cwm.Language.prototype.getGridData=function(){return{oid:this.getOid(),label:this.getLabel()}}