class PerspectiveEditorGenerator {

    public void generatePerspective(String layoutEditorModel) {
        perspectiveServices.call((LayoutTemplate perspective) -> {
            if (perspective != null) {
                generatePerspective(perspective);
            }
        }).convertToLayoutTemplate(layoutEditorModel);
    }

    @Inject public  PerspectiveEditorGenerator(SyncBeanManager beanManager,
                                      ActivityBeansCache activityBeansCache,
                                      LayoutGenerator layoutGenerator,
                                      Caller<PerspectiveServices> perspectiveServices);

}