Skip to content

Switch to TreeTableView in save&restore#3872

Open
georgweiss wants to merge 4 commits into
masterfrom
CSSTUDIO-3588
Open

Switch to TreeTableView in save&restore#3872
georgweiss wants to merge 4 commits into
masterfrom
CSSTUDIO-3588

Conversation

@georgweiss

@georgweiss georgweiss commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Upon user request: improve metadata visibility on objects in the hierarchy view by moving from tooltip to content rendered in TreeCell. Decided though that a TreeTableView is a better match for showing more data, in particular as user may hide unwanted columns.

This change also offers the possibility to sort on date or user name.

Screenshot 2026-07-07 at 15 44 32
  • Testing:

    • The feature has automated tests
    • Tests were run
    • If not, explain how you tested your changes
  • Documentation:

    • The feature is documented
    • The documentation is up to date
    • Release notes:
      • Added an entry if the change is breaking or significant
      • Added an entry when adding a new feature

@georgweiss georgweiss requested review from jacomago and shroffk July 7, 2026 14:17
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
8.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

import java.util.ResourceBundle;
import java.util.ServiceLoader;
import java.util.Stack;
import java.util.*;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we normally do * imports?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, will update.

<?import javafx.scene.text.Font?>

<BorderPane xmlns="http://javafx.com/javafx/17.0.12" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.phoebus.applications.saveandrestore.ui.SaveAndRestoreController">
<BorderPane xmlns="http://javafx.com/javafx/26" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.phoebus.applications.saveandrestore.ui.SaveAndRestoreController">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javafx version is still 21 in pom.xml?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in another commit.

import java.io.FileReader;
import java.io.FileWriter;

public class FixElasticImport {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to remove in this commit with a rebase rather than pollute the git history.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. Will do next time.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the readback column is gone?

@georgweiss georgweiss Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no read-back column in the TreeTableView of objects.

@georgweiss georgweiss requested a review from jacomago July 9, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants