(self, edit, new_view=0, other_group=0, and_close=0)
new_view     if True, open directory in new view, rather than existing one
        other_group  if True, create a new group (if need) and open file in this group
        and_close    if True, close FileBrowser view after file was open
new_view     if True, open directory in new view, rather than existing one
        other_group  if True, create a new group (if need) and open file in this group
        and_close    if True, close FileBrowser view after file was open
new_view if True open directory in new view rather than existing one other_group if True create a new group ( if need ) and open file in this group and_close if True close FileBrowser view after file was open
def run(self, edit, new_view=0, other_group=0, and_close=0):
        '''
        new_view     if True, open directory in new view, rather than existing one
        other_group  if True, create a new group (if need) and open file in this group
        and_close    if True, close FileBrowser view after file was open
        '''
        self.index = self.get_all()
        filenames = (self.get_selected(full=True) if not new_view else
                     self.get_marked(full=True) or self.get_selected(full=True))

        window = self.view.window()
        if self.goto_directory(filenames, window, new_view):
            return

        dired_view = self.view
        if other_group:
            self.focus_other_group(window)

        self.last_created_view = None
        for fqn in filenames:
            self.open_item(fqn, window, new_view)

        if and_close:
            window.focus_view(dired_view)
            window.run_command("close")
            if self.last_created_view:
                window.focus_view(self.last_created_view)
def run ( self , edit , new_view = 0 , other_group = 0 , and_close = 0 ) : self . index = self . get_all ( ) filenames = ( self . get_selected ( full = True ) if not new_view else self . get_marked ( full = True ) or self . get_selected ( full = True ) ) window = self . view . window ( ) if self . goto_directory ( filenames , window , new_view ) : return dired_view = self . view if other_group : self . focus_other_group ( window ) self . last_created_view = None for fqn in filenames : self . open_item ( fqn , window , new_view ) if and_close : window . focus_view ( dired_view ) window . run_command ( "close" ) if self . last_created_view : window . focus_view ( self . last_created_view )