You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm new in theia community, hope someone can help me to understand theia how it design ;-)
I'm curious about why outline-view widget is created from factory when every update, not injecting a singleton widget and get this widget from widget manager ?
This discussion was converted from issue #12160 on February 08, 2023 12:44.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I'm new in theia community, hope someone can help me to understand theia how it design ;-)
I'm curious about why outline-view widget is created from factory when every update, not injecting a singleton widget and get this widget from widget manager ?
theia/packages/outline-view/src/browser/outline-view-service.ts
Line 24 in 6959b6a
Can we create a widget like this steps ?
Then just update the root node when every refreshment.
Beta Was this translation helpful? Give feedback.
All reactions