add new stuff to new commands

This commit is contained in:
chrys
2016-09-07 00:01:25 +02:00
parent 9ef83ce220
commit 8059338568
5 changed files with 31 additions and 16 deletions

View File

@@ -11,7 +11,12 @@ class command():
def __init__(self):
self.language = ''
self.spellChecker = ''
def initialize(self, environment):
return environment
def shutdown(self, environment):
return environment
def getDescription(self):
return 'No Description found'
def run(self, environment):
if not environment['runtime']['settingsManager'].getSettingAsBool(environment, 'general', 'autoSpellCheck'):
return environment
@@ -62,5 +67,3 @@ class command():
return environment
def setCallback(self, callback):
pass
def shutdown(self):
pass