Beispiel #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)
Beispiel #2
0
	def __init__(self, app, master):
		GenericPlugin.__init__(self, app, master)
		events.connect(events.CONFIG_MODIFIED, self.config_changed)
Beispiel #3
0
 def __init__(self, app, master):
     GenericPlugin.__init__(self, app, master)
     events.connect(events.CONFIG_MODIFIED, self.config_changed)
Beispiel #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)
Beispiel #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)
Beispiel #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)