UNPKG

792 BTypeScriptView Raw
1import { GoalInvocation, GoalProjectListenerRegistration } from "../../api/goal/GoalInvocation";
2import { ProjectLoader, ProjectLoadingParameters, WithLoadedProject } from "../../spi/project/ProjectLoader";
3/**
4 * ProjectLoader implementation that invokes GoalProjectListener instances on the loaded project.
5 * Can be used to restore state into a project/workspace area.
6 */
7export declare class ProjectListenerInvokingProjectLoader implements ProjectLoader {
8 private readonly gi;
9 private readonly listeners;
10 constructor(gi: GoalInvocation, listeners: GoalProjectListenerRegistration[]);
11 doWithProject(params: ProjectLoadingParameters, action: WithLoadedProject): Promise<any>;
12 private invokeListeners;
13}
14//# sourceMappingURL=ProjectListenerInvokingProjectLoader.d.ts.map
\No newline at end of file