Did I find the right examples for you? yes no

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

src/m/a/MavensMate-SublimeText-HEAD/mavensmate.py   MavensMate-SublimeText(Download)
    def is_enabled(self):
        return util.is_apex_test_file()
 
 
#opens the apex class, trigger, component or page on the server
    def is_enabled(self, files):
        if files != None and type(files) is list and len(files) > 0:
            for f in files:
                if util.is_apex_test_file(f): return True
        return False