pub fn new_with_project
    (project_manager:Rc<dyn project_manager::API>, initial_project:model::Project) -> Self {
        let logger               = Logger::new("controller::ide::Desktop");
        let current_project      = Rc::new(CloneRefCell::new(initial_project));
        let status_notifications = default();
        let parser               = Parser::new_or_panic();
        let notifications        = default();
        Self {logger,current_project,project_manager,status_notifications,parser,notifications}
    }
/// Create a project controller handle with already loaded project model.
Create a project controller handle with already loaded project model.
Create a project controller handle with already loaded project model .
pub fn new_with_project
    (project_manager:Rc<dyn project_manager::API>, initial_project:model::Project) -> Self {
        let logger               = Logger::new("controller::ide::Desktop");
        let current_project      = Rc::new(CloneRefCell::new(initial_project));
        let status_notifications = default();
        let parser               = Parser::new_or_panic();
        let notifications        = default();
        Self {logger,current_project,project_manager,status_notifications,parser,notifications}
    }
pub fn new_with_project ( project_manager : Rc < dyn project_manager :: API > , initial_project : model :: Project ) -> Self { let logger = Logger :: new ( " " ) ; let current_project = Rc :: new ( CloneRefCell :: new ( initial_project ) ) ; let status_notifications = default ( ) ; let parser = Parser :: new_or_panic ( ) ; let notifications = default ( ) ; Self { logger , current_project , project_manager , status_notifications , parser , notifications } }
Create a project controller handle with already loaded project model.
Create a project controller handle with already loaded project model .
project_manager
Rc<dyn project_manager::API>
initial_project
model::Project
project_manager
Rc<dyn project_manager::API>
initial_project
model::Project