Did I find the right examples for you? yes no

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

src/m/a/MavensMate-SublimeText-HEAD/mavensmate.py   MavensMate-SublimeText(Download)
    def run(self, edit, api_name="MyClass", class_type="default"): 
        self.template_options = []
        self.github_templates = util.parse_templates_package("ApexClass")
        for t in self.github_templates:
            self.template_options.append([t["name"], t["description"], "Author: "+t["author"]])
    def run(self, edit, api_name="MyAccountTrigger", sobject_name="Account", class_type="default"): 
        self.template_options = []
        self.github_templates = util.parse_templates_package("ApexTrigger")
        for t in self.github_templates:
            self.template_options.append([t["name"], t["description"], "Author: "+t["author"]])
    def run(self, edit, api_name="MyPage", class_type="default"): 
        self.template_options = []
        self.github_templates = util.parse_templates_package("ApexPage")
        for t in self.github_templates:
            self.template_options.append([t["name"], t["description"], "Author: "+t["author"]])
    def run(self, edit, api_name="MyComponent", class_type="default"): 
        self.template_options = []
        self.github_templates = util.parse_templates_package("ApexComponent")
        for t in self.github_templates:
            self.template_options.append([t["name"], t["description"], "Author: "+t["author"]])