@@ -193,7 +193,7 @@ export class ModelEditorView extends AbstractWebview<
193193
194194 break ;
195195 case "refreshMethods" :
196- await withProgress ( ( progress ) => this . loadExternalApiUsages ( progress ) , {
196+ await withProgress ( ( progress ) => this . loadMethods ( progress ) , {
197197 cancellable : false ,
198198 } ) ;
199199
@@ -227,7 +227,7 @@ export class ModelEditorView extends AbstractWebview<
227227
228228 await Promise . all ( [
229229 this . setViewState ( ) ,
230- this . loadExternalApiUsages ( ( update ) =>
230+ this . loadMethods ( ( update ) =>
231231 progress ( {
232232 ...update ,
233233 step : update . step + 500 ,
@@ -283,7 +283,7 @@ export class ModelEditorView extends AbstractWebview<
283283 methods : this . methods ,
284284 } ) ,
285285 this . setViewState ( ) ,
286- withProgress ( ( progress ) => this . loadExternalApiUsages ( progress ) , {
286+ withProgress ( ( progress ) => this . loadMethods ( progress ) , {
287287 cancellable : false ,
288288 } ) ,
289289 ] ) ;
@@ -311,7 +311,7 @@ export class ModelEditorView extends AbstractWebview<
311311
312312 await Promise . all ( [
313313 this . setViewState ( ) ,
314- withProgress ( ( progress ) => this . loadExternalApiUsages ( progress ) , {
314+ withProgress ( ( progress ) => this . loadMethods ( progress ) , {
315315 cancellable : false ,
316316 } ) ,
317317 this . loadExistingModeledMethods ( ) ,
@@ -357,9 +357,7 @@ export class ModelEditorView extends AbstractWebview<
357357 }
358358 }
359359
360- protected async loadExternalApiUsages (
361- progress : ProgressCallback ,
362- ) : Promise < void > {
360+ protected async loadMethods ( progress : ProgressCallback ) : Promise < void > {
363361 try {
364362 const cancellationTokenSource = new CancellationTokenSource ( ) ;
365363 const queryResult = await runExternalApiQueries ( this . mode , {
0 commit comments