Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/u/l/ulipad-HEAD/mixins/DirBrowser.py   ulipad(Download)
            projectname = ''
        else:
            projectname = common.getProjectName(self.get_node_filename(item))
 
        return projectname

src/u/l/ulipad-HEAD/plugins/web2py_plugin/editor_ext.py   ulipad(Download)
def other_popup_menu(editor, projectname, menus):
    if 'web2py' in common.getProjectName(editor.filename):
        path = common.getProjectHome(editor.filename)
        if not os.path.exists(os.path.join(path, "web2py.py")):
            common.showerror(win, tr("setting web2py project is not correctly, you must setting project on web2py folder"))

src/u/l/ulipad-HEAD/plugins/docbook/editor_ext.py   ulipad(Download)
def other_popup_menu(editor, projectname, menus):
    if editor.languagename == 'xml' and 'docbook' in common.getProjectName(editor.filename):
        menus.extend([(None, #parent menu id
            [
                (50, 'IDPM_DOCBOOK_PROJECT', 'DocBook', wx.ITEM_NORMAL, '', ''),

src/u/l/ulipad-HEAD/plugins/jQuery/editor_ext.py   ulipad(Download)
def other_popup_menu(editor, projectname, menus):
    if editor.languagename == 'js' and 'jquery' in common.getProjectName(editor.filename):
        menus.extend([(None, #parent menu id
            [
                (30, 'IDPM_JQUERY_PROJECT', tr('jQuery'), wx.ITEM_NORMAL, '', ''),

src/u/l/ulipad-HEAD/plugins/djangoproj/editor_ext.py   ulipad(Download)
def other_popup_menu(editor, projectname, menus):
    if editor.languagename == 'python' and 'django' in common.getProjectName(editor.filename):
        menus.extend([(None, #parent menu id
            [
                (30, 'IDPM_DJANGO_PROJECT', tr('&Django'), wx.ITEM_NORMAL, '', ''),

src/u/l/ulipad-HEAD/mixins/InputAssistant.py   ulipad(Download)
                if not self.syncvar.empty:
                    return True
                if obj.projectname and obj.projectname not in common.getProjectName(win.filename):
                    continue
                #autostring

src/u/l/ulipad-HEAD/mixins/Editor.py   ulipad(Download)
            self.popmenu.Destroy()
            self.popmenu = None
        self.callplugin('other_popup_menu', self, common.getProjectName(self.filename), other_menus)
        import copy
        if other_menus: