public CaexDocumentViewModel(IAmlProvider provider) : base(provider) { CaexObject = provider.CaexDocument.CAEXFile; InstanceHierarchies = new ViewModelCollection <InstanceHierarchyViewModel>(provider.CaexDocument.CAEXFile.InstanceHierarchy, this); }
private void Initialize() { CaexObject = _instanceHierarchy; InternalElements = new ViewModelCollection <InternalElementViewModel>(_instanceHierarchy.InternalElement, this); }
private void Initialize() { _internalElement.RefBaseSystemUnitPath = "/Kinematic/Link"; Flanges = new ViewModelCollection <Flange>(_internalElement.ExternalInterface, this); }
private void Initialize() { CaexObject = _interface; Properties = new ViewModelCollection <BasePropertyViewModel>(_interface.Attribute, this); }
private void Initialize() { _internalElement.RefBaseSystemUnitPath = "/Assembly"; Parts = new ViewModelCollection <BaseComponent>(_internalElement.InternalElement, this); }
private void Initialize() { _internalElement.RefBaseSystemUnitPath = "/Part"; DataConnectors = new ViewModelCollection <ExternalDataConnectorViewModel>(_internalElement.ExternalInterface, this); }
private void Initialize() { CaexObject = _instanceHierarchy; Parts = new ViewModelCollection <BaseComponent>(_instanceHierarchy.InternalElement, this); }
private void Initialize() { CaexObject = _internalElement; Interfaces = new ViewModelCollection <InterfaceViewModel>(_internalElement.ExternalInterface, this); }