Example #1
0
	def __init__(self, app, master):
		GenericPlugin.__init__(self, app, master)
		events.connect(events.NO_DOCS, self.set_state)
		events.connect(events.DOC_CHANGED, self.set_state)
		events.connect(events.SELECTION_CHANGED, self.set_state)
Example #2
0
	def __init__(self, app, master):
		GenericPlugin.__init__(self, app, master)
		events.connect(events.CONFIG_MODIFIED, self.config_changed)
Example #3
0
 def __init__(self, app, master):
     GenericPlugin.__init__(self, app, master)
     events.connect(events.CONFIG_MODIFIED, self.config_changed)
Example #4
0
 def __init__(self, app, master):
     GenericPlugin.__init__(self, app, master)
     events.connect(events.DOC_CHANGED, self.update)
     events.connect(events.DOC_MODIFIED, self.update)
Example #5
0
	def __init__(self, app, master):
		GenericPlugin.__init__(self, app, master)
		events.connect(events.DOC_CHANGED, self.update)
		events.connect(events.DOC_MODIFIED, self.update)
Example #6
0
 def __init__(self, app, master):
     GenericPlugin.__init__(self, app, master)
     events.connect(events.NO_DOCS, self.set_state)
     events.connect(events.DOC_CHANGED, self.set_state)
     events.connect(events.SELECTION_CHANGED, self.set_state)