/// <summary> /// Initializes collections /// </summary> private void InitCollections() { addMessageBackgroundWorker(0, "Init import..."); Phases = new UMLPhaseCollection(); Iterations = new UMLIterationCollection(); Files = new UMLFileCollection(); UseCases = new UMLUseCaseCollection(); Collaborations = new UMLCollaborationCollection(); Packages = new UMLPackageCollection(); }
private UMLCollaborationCollection getCollaborationUseCase() { UMLCollaborationCollection collection = new UMLCollaborationCollection(); foreach (UMLUseCase useCase in UseCases) { useCase.Collaborations = useCase.GetCollaborations(); if (useCase.Collaborations == null) { useCase.GetCollaborations(); } collection.AddRange(useCase.Collaborations); } return(collection); }
public UMLCollaborationCollection GetCollaborations() { Collaborations = this.GetCollaborationCollection <UMLCollaboration, UMLCollaborationCollection>(); return(Collaborations); }
/// <summary> /// Initializes collections /// </summary> private void InitCollections() { addMessageBackgroundWorker(0, "Init import..."); Phases = new UMLPhaseCollection(); Iterations = new UMLIterationCollection(); Files = new UMLFileCollection(); UseCases = new UMLUseCaseCollection(); Collaborations = new UMLCollaborationCollection(); Packages= new UMLPackageCollection(); }