예제 #1
0
 /// <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();
 }
예제 #2
0
        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);
        }
예제 #3
0
 public UMLCollaborationCollection GetCollaborations()
 {
     Collaborations = this.GetCollaborationCollection <UMLCollaboration, UMLCollaborationCollection>();
     return(Collaborations);
 }
예제 #4
0
 /// <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();
 }