Exemple #1
0
        public UmlPage(List <SoftwareProcessElement> softwareProcessProfile) : this()
        {
            try
            {
                SoftwareProcessProfile = softwareProcessProfile;
                Uml4Upmm = new UML4UPMM(softwareProcessProfile);
            }

            catch (Exception ex)
            {
                throw new ProcessManagerException("Diagram initialization failed. Missing OWL file?", ex);
            }
        }
        public UseCaseDiagramPage(List <SoftwareProcessElement> softwareProcessProfile) : this()
        {
            try
            {
                SoftwareProcessProfile = softwareProcessProfile;
                Uml4Upmm     = new UML4UPMM(softwareProcessProfile);
                PaletteModel = Uml4Upmm.MapUPMMToUseCaseDiagramNodeData();
                UCDElementsListbox.SelectedIndex = 0;

                diagram.SelectionChanged += diagram_SelectionChanged;
                palette.SelectionChanged += palette_SelectionChanged;
            }
            catch (Exception ex)
            {
                throw new ProcessManagerException("Diagram initialization failed. Missing OWL file?", ex);
            }
        }
        public ActivityDiagramPage(List <UPMM.SoftwareProcessElement> softwareProcessProfile)
            : this()
        {
            try
            {
                this.softwareProcessProfile = softwareProcessProfile;
                uml4upmm     = new UML4UPMM(softwareProcessProfile);
                paletteModel = uml4upmm.MapUPMMToActivityDiagramNodeData();
                ADElementsListbox.SelectedIndex = 0;

                diagram.SelectionChanged += diagram_SelectionChanged;
                palette.SelectionChanged += palette_SelectionChanged;
            }
            catch (Exception ex)
            {
                throw new ProcessManagerException("Activity diagram initialization failed. Missing OWL file?", ex);
            }
        }
 public SystemDraggingTool()
 {
     Uml4Upmm = new UML4UPMM(OWLParser.OWLAPI.GetSoftwareProcess());
 }