예제 #1
0
    def refresh(self, itemStateOnly=False):
        """ 
        L{ItemBase.refresh<datafinder.core.item.base.ItemBase.refresh>} 
        Extends the refresh behavior so the data format can be refreshed as well. 
        """

        self._dataFormat = None
        ItemBase.refresh(self, itemStateOnly)
예제 #2
0
파일: link.py 프로젝트: DLR-SC/DataFinder
 def refresh(self, itemStateOnly=False):
     """ 
     L{ItemBase.refresh<datafinder.core.item.base.ItemBase.refresh>} 
     Extends the refresh behavior so the data format can be refreshed as well. 
     """
     
     self._refreshLinkTarget = True
     ItemBase.refresh(self, itemStateOnly)
예제 #3
0
 def refresh(self, itemStateOnly=False):
     """ 
     L{ItemBase.refresh<datafinder.core.item.base.ItemBase.refresh>} 
     Extends the refresh behavior so the children are refreshed as well. 
     """
     
     self._dataType = None
     if not itemStateOnly:
         if self.childrenPopulated:
             children = self._children[:]
             for child in children:
                 child.invalidate()
         self._children = None
         self._childrenPopulated = False
     ItemBase.refresh(self, itemStateOnly)