public bool Load(IProject project, ICancelProgressHandler progress) { ModelService.WorkDirectory = project.FullModelWorkDirectory; HeiflowModel model = new HeiflowModel(); model.ControlFileName = project.RelativeControlFileName; model.WorkDirectory = project.FullModelWorkDirectory; model.Project = project; model.Initialize(); return(model.Load(progress)); }
public bool CanImport(IProject project) { HeiflowModel model = new HeiflowModel(); return(model.Exsit(project.RelativeControlFileName)); }