示例#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)