To get the active shell via dependency injection use
@Named(IServiceConstants.ACTIVE_SHELL) Shell shell