class LienzoCanvasMediators {

    @PreDestroy
    public void destroy() {
        if (null != mediators) {
            mediators.destroy();
            mediators = null;
        }
    }

    @Inject public  LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                                 final ClientTranslationService translationService,
                                 final LienzoCanvasNotification notification,
                                 final EditorContextProvider editorContextProvider);
      LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                          final ClientTranslationService translationService,
                          final LienzoCanvasNotification notification,
                          final Function<LienzoBoundsPanel, PanelMediators> mediatorsBuilder);

}