-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add visibleProperty to SidePaneComponent * Making progress into refactoring Sidepane logic - Add immutable info to SidePaneType enum - Replace SidePaneComponent by SidePaneView which has a SidePaneHeaderView that contains all input handling - Create SidePaneContainerView the replacement for SidePane * Populate SidePaneType with information * Wrap the content of web search side pane into WebSearchPaneView * Revert changes to SidePane * Refactor SidePaneContainer - Move some state and logic to SidePaneContainerViewModel - Implement the moveUp and moveDown action - Implement lazy loading for SidePaneView - Expose some initial API for fixing #8115 * Bind side pane check menu selection state to side pane visibility * Fix checkstyle * Remove SidePaneViewModel.java * Fix view menu for sidebar option out of sync with sidebar state - Fix #8115 - Deprecate the old implementation of Sidepane and remove all of its usage in the rest of the application - Implement the toggle method in SidePaneContainerView * Remove unused constructor parameters * Remove deprecated Sidepane component * Move Vbox.setVgrow() to SidePaneView * Merge SidePaneHeaderView into SidePaneView * Avoid firing removed and added events on ObservableList - Swapping elements in ObservableLists is rather difficult to handle. The problem with this code here is that two events are fired (one for removing, and on for adding). Perhaps the easiest solution is to use the sort method using a custom comparator. Since the list is small we can also be inefficient and do this as follows: create a copy of visiblePanes, swap the elements there and then use this new list as a reference for the comparator * Use shorter more declarative code for binding * Rename SidePaneView to SidePaneComponent and SidePaneContainerView to SidePane * Rename initView() to initialize() * Add an overloading of createCheckMenuItem() with a selected property * Rename sidePaneVisibleProperty() to paneVisibleProperty() * Use the name pane rather than sidePane to call components in the SidePane * Remove unused method createSidePaneCheckMenuItem() * Share the visibility property of side pane components by moving it to StateManager * Remove comment * Use better names * Fix checkstyle * Move close/toggle pane actions to separate files * Move sidepane binding logic to SidePaneViewModel * Removed unnecessary properties in stateManager, refactored to mvvm pattern * Moved listener from sidepane visibility property to list of children in sidepane * Removed unused method * Fixed sidepane width issue on startup * Created tests * Cleanups * CHANGELOG.md * more CHANGELOG.md Co-authored-by: Carl Christian Snethlage <cc.snethlage@gmail.com>
- Loading branch information
1 parent
9d55f53
commit 851fa4b
Showing
15 changed files
with
622 additions
and
555 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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.