Beispiel #1
0
 def _get_editors(self, item):
     name = item and item.name or ''
     args = item and utils.join_value(item.args) or ''
     alias = item.alias if item else ''
     self._suggester = LibrariesSuggester(self._controller, self._history_suggester)
     return [FileNameEditor(self, name, 'Name', self._controller, suggestion_source=self._suggester),
             ValueEditor(self, args, 'Args'),
             ValueEditor(self, alias, 'Alias')]
Beispiel #2
0
 def _get_editors(self, item):
     name = item and item.name or ''
     return [
         FileNameEditor(self,
                        name,
                        'Path',
                        self._controller,
                        suggestion_source=ResourceSuggester(
                            self._controller))
     ]
Beispiel #3
0
 def _get_editors(self, item):
     path = item and item.name or ''
     args = item and utils.join_value(item.args) or ''
     return [
         FileNameEditor(self,
                        path,
                        'Path',
                        self._controller,
                        suggestion_source=self._history_suggester),
         ValueEditor(self, args, 'Args')
     ]