forked from eclipse-platform/eclipse.platform.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix onboarding - don't keep onboarding related controls as state (ecl…
…ipse-platform#1400) Issue: eclipse-platform#1180 The StackRenderer may be used several times e.g. when a second Eclipse window is opened via Menu -> Window -> new Window. When this second window is closed, the onboarding controls are disposed. When these controls have been kept as state (fields), the logic does not work anymore any strange ui behaviour can be observed. E.g. Onboarding controls are visible even when an editor is open. Solution: remove the state and get the controls from the model element. In order to find them easier the controls store an ID in their data attribute.
- Loading branch information
1 parent
a7df241
commit 9029bea
Showing
2 changed files
with
81 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters