-
Notifications
You must be signed in to change notification settings - Fork 68
#1802 GUI State management implementation #1807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
laim2003
wants to merge
44
commits into
devonfw:main
Choose a base branch
from
laim2003:#1802-state-management-implementation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
029f03d
#1296: implemented basic IdeDialog Class
laim2003 89cfb67
#1296: Added basic context state manager class
laim2003 a53296d
#1785: Added basic question/confirmation modal implementation
laim2003 37cad74
#1296: implemented basic IdeDialog Class
laim2003 55a50ce
#1296: Added basic context state manager class
laim2003 3f1569f
#1785: Added basic question/confirmation modal implementation
laim2003 6ce99b3
Merge remote-tracking branch 'origin/#1296-implement-idecontext-for-g…
laim2003 7ef65f3
#1785: - Added logging to IdeGuiStateManager.
laim2003 1764b2f
#1724: implemented basic gui state management
laim2003 ddd3e5f
#1802: implemented basic gui state management
laim2003 9c5a720
Merge remote-tracking branch 'origin/#1802-state-management-implement…
laim2003 b28e216
#1802: removed a few changes so this branch can be the base for other…
laim2003 234e98b
#1802: disabled javadoc warning
laim2003 1c4e766
#1802: - fixed AppBaseTest being stuck
laim2003 6fc3884
Merge branch 'main' into #1802-state-management-implementation
laim2003 2026757
#1802: Added ProjectManager class to handle business logic of reading…
laim2003 c76e185
#1802: Updated IdeGuiStateManager to also update its projectManager, …
laim2003 6f92d93
#1802: javafx updated to java 25
laim2003 9f741a5
Merge branch 'main' into #1802-state-management-implementation
laim2003 48fe018
Revert "#1802: javafx updated to java 25"
laim2003 e0ad015
#1803: added DI for IDE_ROOT in GuiStateManager
laim2003 2c9fc55
#1802: added DI for IDE_ROOT in GuiStateManager
laim2003 2b62c60
Merge remote-tracking branch 'origin/#1802-state-management-implement…
laim2003 40ff54e
#1802: Workaround for IDE_ROOT=null issue. The ideRoot in GuiStateMan…
laim2003 0b67210
#1802: removed redundant DI variant of switchContext() (DI via getIns…
laim2003 2e15d60
#1802: Added tests for GuiStateManager
laim2003 10cf940
Merge branch 'main' into #1802-state-management-implementation
laim2003 5f0b40a
#1802: Extracted mock IDE_ROOT logic into seperate class that can be …
laim2003 3b567ef
Merge remote-tracking branch 'origin/#1802-state-management-implement…
laim2003 e406b65
#1802: added ProjectManagerTest
laim2003 e0e2d9d
#1802: Detached startContext creation from switchContext in IdeGuiSta…
laim2003 d70f460
#1802: Fixed bug in IdeGuiStateManagerTest leading to test failure
laim2003 d6aace2
Merge branch 'main' into #1802-state-management-implementation
laim2003 9c78eac
#1802: Added ContextChangeListener; improved thread safety of IdeGuiS…
laim2003 4c84bb9
Merge branch 'main' into #1802-state-management-implementation
laim2003 69055d9
#1802: tests now use AbstractIdeContextTest
laim2003 9978ce9
#1802: Updated UI logic to:
laim2003 ac3a045
#1802: cleaned up ProjectManagerTest, fixed AppBaseTest to follow new…
laim2003 6c44432
#1802: cleaned up IdeGuiStateManagerTest
laim2003 c30c2ea
Merge branch 'main' into #1802-state-management-implementation
laim2003 1e8b556
#1802: cleaned up ProjectManagerTest to use FileUtils instead of own …
laim2003 d51111d
Merge remote-tracking branch 'origin/#1802-state-management-implement…
laim2003 98a7072
Merge branch 'main' into #1802-state-management-implementation
laim2003 c55a3a3
Merge branch 'main' into #1802-state-management-implementation
laim2003 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
15 changes: 15 additions & 0 deletions
15
gui/src/main/java/com/devonfw/ide/gui/context/GuiContextChangeListener.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| package com.devonfw.ide.gui.context; | ||
|
|
||
| /** | ||
| * Interface that notifies listeners of context changes. | ||
| */ | ||
| public interface GuiContextChangeListener { | ||
|
|
||
| /** | ||
| * This method is called when the context changes. It can be used to update the GUI based on the new context. | ||
| * | ||
| * @param newContext the new {@link IdeGuiContext}. | ||
| */ | ||
| void onContextChange(IdeGuiContext newContext); | ||
|
|
||
| } |
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why removing this comment that could be helpful to explain the execution?