Ejemplo n.º 1
0
 public void clear()
 {
     pUnsubscribe();
     fUnsubscribe();
     currentDate  = null;
     expectedDate = null;
     pDate        = fDate = null;
     parent       = null;
 }
Ejemplo n.º 2
0
        public ILink createLink(identity PrecursorID, identity FollowerID, eLnkType type, double delay)
        {
            link newLink = new link(_project,
                                    _project.getTaskFactory().getTask(PrecursorID),
                                    _project.getTaskFactory().getTask(FollowerID),
                                    type, delay);

            newLink.event_linkDeleted += handler_linkDelete;
            addElement(newLink);

            return(newLink);
        }
Ejemplo n.º 3
0
            public typeManager(link parent, eLnkType type, double delay)
            {
                _delay      = delay;
                this.parent = parent;
                init_functions();

                eLnkDot precD = __hlp.getPrecursor(type);
                eLnkDot follD = __hlp.getFollower(type);

                pDotRelation(precD);
                fDotRelation(follD);
            }
Ejemplo n.º 4
0
 private void addElement(link Object)
 {
     dctLinks.Add(Object.getIDobject().ID, Object);
     lastCreated = Object;
 }
Ejemplo n.º 5
0
 private void addElement(link Object)
 {
     dctLinks.Add(Object.getIDobject().ID, Object);
     lastCreated = Object;
 }
Ejemplo n.º 6
0
        public ILink createLink(identity PrecursorID, identity FollowerID, eLnkType type, double delay)
        {
            link newLink = new link(_project,
                _project.getTaskFactory().getTask(PrecursorID),
                _project.getTaskFactory().getTask(FollowerID),
                type, delay);

            newLink.event_linkDeleted += handler_linkDelete;
            addElement(newLink);

            return newLink;
        }
Ejemplo n.º 7
0
 public void clear()
 {
     pUnsubscribe();
     fUnsubscribe();
     currentDate = null;
     expectedDate = null;
     pDate = fDate = null;
     parent = null;
 }
Ejemplo n.º 8
0
            public typeManager(link parent, eLnkType type, double delay)
            {
                _delay = delay;
                this.parent = parent;
                init_functions();

                eLnkDot precD = __hlp.getPrecursor(type);
                eLnkDot follD = __hlp.getFollower(type);

                pDotRelation(precD);
                fDotRelation(follD);
            }