Ejemplo n.º 1
0
 def __init__(self):
     core.locator().addCommandClass(FuzzyOpenCommand)
     core.locator().addCommandClass(ScanCommand)
Ejemplo n.º 2
0
 def del_(self):
     core.locator().removeCommandClass(FuzzyOpenCommand)
     core.locator().addCommandClass(ScanCommand)
Ejemplo n.º 3
0
 def __init__(self):
     for cmdClass in _CMD_CLASSES:
         core.locator().addCommandClass(cmdClass)
Ejemplo n.º 4
0
 def terminate(self):
     """Explicitly called destructor
     """
     for cmdClass in _CMD_CLASSES:
         core.locator().removeCommandClass(cmdClass)
Ejemplo n.º 5
0
 def __init__(self):
     for comClass in (CommandGotoLine, CommandOpen, CommandSaveAs):
         core.locator().addCommandClass(comClass)
Ejemplo n.º 6
0
 def del_(self):
     """Explicitly called destructor
     """
     for comClass in (CommandGotoLine, CommandOpen, CommandSaveAs):
         core.locator().removeCommandClass(comClass)
Ejemplo n.º 7
0
 def __init__(self):
     for cmdClass in _CMD_CLASSES:
         core.locator().addCommandClass(cmdClass)
Ejemplo n.º 8
0
 def terminate(self):
     """Explicitly called destructor
     """
     for cmdClass in _CMD_CLASSES:
         core.locator().removeCommandClass(cmdClass)
Ejemplo n.º 9
0
 def __init__(self):
     core.locator().addCommandClass(FuzzyOpenCommand)
     core.locator().addCommandClass(ScanCommand)
Ejemplo n.º 10
0
 def terminate(self):
     core.locator().removeCommandClass(FuzzyOpenCommand)
     core.locator().addCommandClass(ScanCommand)
Ejemplo n.º 11
0
 def terminate(self):
     core.locator().removeCommandClass(FuzzyOpenCommand)
     core.locator().addCommandClass(ScanCommand)
Ejemplo n.º 12
0
 def del_(self):
     """Explicitly called destructor
     """
     for comClass in (CommandGotoLine, CommandOpen, CommandSaveAs):
         core.locator().removeCommandClass(comClass)
Ejemplo n.º 13
0
 def __init__(self):
     for comClass in (CommandGotoLine, CommandOpen, CommandSaveAs):
         core.locator().addCommandClass(comClass)