We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1259a3e commit 9134e0eCopy full SHA for 9134e0e
1 file changed
extensions/ql-vscode/src/model-editor/modeling-store.ts
@@ -401,6 +401,13 @@ export class ModelingStore extends DisposableObject {
401
});
402
}
403
404
+ /**
405
+ * Sets which method is considered to be selected. This method will be shown in the method modeling panel.
406
+ *
407
+ * The `Method` and `Usage` objects must have been retrieved from the modeling store, and not from
408
+ * a webview. This is because we rely on object referential identity so it must be the same object
409
+ * that is held internally by the modeling store.
410
+ */
411
public setSelectedMethod(dbItem: DatabaseItem, method: Method, usage: Usage) {
412
const dbState = this.getState(dbItem);
413
0 commit comments