コード例 #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
ファイル: collection.py プロジェクト: rainman110/DataFinder
 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)