def getEventBroker(self): if self.eventBroker == None: self.eventBroker = E4Utils.getEclipseContext().get( Class.forName( 'org.eclipse.e4.core.services.events.IEventBroker')) return self.eventBroker
def __init__(self): self.eclipseContext = E4Utils.getEclipseContext().createChild() self.bindMap = {}
def getEventBroker(self): if self.eventBroker == None: self.eventBroker = E4Utils.getEclipseContext().get(Class.forName('org.eclipse.e4.core.services.events.IEventBroker')) return self.eventBroker
def injectObject(object, eclipseContext=E4Utils.getEclipseContext()): ContextInjectionFactory.inject(object, eclipseContext)