<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def initialize_outlineexplorer(self):

 """This method is called separately from 'set_oulineexplorer' to avoid
 doing unnecessary updates when there are multiple editor windows"""

        for index in range(self.get_stack_count()):
            if index != self.get_stack_index():
                self._refresh_outlineexplorer(index=index)