Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,13 @@ public void initialize() {
patternsVBox.getChildren().clear();

// default to classic concept navigation
conceptsToggleButton.setSelected(true);
navContentPane.setCenter(classicConceptNavigator);

// set up listeners when the toggle button changes
conceptsToggleButton.selectedProperty().addListener((observableValue, aBoolean, t1) -> showConcepts());
patternsToggleButton.selectedProperty().addListener((observableValue, aBoolean, t1) -> showPatterns());

patternCreationEventSubscriber = (evt) -> {
LOG.info("A New Pattern has been added/created. Reloading all the Patterns.");
if(evt.getEventType() == PATTERN_CREATION_EVENT){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>

<StackPane maxHeight="-Infinity" maxWidth="-Infinity" minWidth="-Infinity" stylesheets="@../kview.css" xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1">
<StackPane maxHeight="-Infinity" maxWidth="-Infinity" minWidth="-Infinity" stylesheets="@../kview.css" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1">
<VBox fx:id="scrollPaneContent" maxHeight="1.7976931348623157E308" prefWidth="372.0" styleClass="grey-vertical-scroll-area">
<children>
<HBox alignment="CENTER" minHeight="-Infinity">
Expand All @@ -39,7 +39,7 @@
<String fx:value="nav-toggle-left" />
</styleClass>
</ToggleButton>
<ToggleButton mnemonicParsing="false" onAction="#showPatterns" prefWidth="103.0" text="PATTERNS" toggleGroup="$conPatToggleGroup">
<ToggleButton fx:id="patternsToggleButton" mnemonicParsing="false" onAction="#showPatterns" prefWidth="103.0" text="PATTERNS" toggleGroup="$conPatToggleGroup">
<styleClass>
<String fx:value="nav-toggle" />
<String fx:value="nav-toggle-right" />
Expand Down
Loading