If you have IEclipseContext, you can get the objects using:
ECommandService commandService = eclipseContext.get(ECommandService.class);
IEclipseContext.
, ContextInjectionFactory, DI :
MyClasss myClass = ContextInjectionFactory.make(MyClass.class, eclipseContext);
:
ContextInjectionFactory.inject(myClass, eclipseContext);
Eclipse view/editor, :
eclipseContext = ((PartSite)getSite()).getContext();
PartSite , .