get_widget


Description:

public override async Object? get_widget ()

Gets the UI widget for this agent.

Creates and returns a SourceView with ProjectManager on first call, waits for initialization to complete before returning. Reuses the same instance on subsequent calls (lazy initialization).

Returns:

The SourceView widget cast as Object, or null if database is not available