-
Notifications
You must be signed in to change notification settings - Fork 116
CSSTUDIO-2167 Support for "decorations" in the Logbook application #3191
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
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
1656cec
CSSTUDIO-2167 Add HBox "decorations" to LogEntryCell.fxml.
abrahamwolk 485344c
CSSTUDIO-2167 Add field "HBox decorations" to LogEntryCellController.
abrahamwolk aea98e1
CSSTUDIO-2167 Remove unused import.
abrahamwolk a8f2e21
CSSTUDIO-2167 Initial version of Enum-PV decoration in the Logbook ap…
abrahamwolk 2e46b90
Fix typo.
abrahamwolk 87765f8
CSSTUDIO-2167 Factor out the decorations-feature into its own FXML fi…
abrahamwolk 15a111e
CSSTUDIO-2167 Add support for decorating with 3 PVs.
abrahamwolk b35f1fc
CSSTUDIO-2167 Add tooltip with enum-values to decorations.
abrahamwolk 1985b78
CSSTUDIO-2167 Add PV Name to the tooltip.
abrahamwolk 1c98d51
CSSTUDIO-2167 Add progress indicator when loading decorations.
abrahamwolk 6f6cbdd
CSSTUDIO-2167 Rename "union" -> "vBox".
abrahamwolk 39f8fd1
CSSTUDIO-2167 Add margins next to decorations, improvements, and fix …
abrahamwolk e6baddb
CSSTUDIO-2167 Fix: align the date to the right.
abrahamwolk 5b617e8
CSSTUDIO-2167 If PV is not of enum type, don't display the PV.
abrahamwolk 1202a7d
CSSTUDIO-2167 Factor out function createRectangleWithText().
abrahamwolk f54558f
CSSTUDIO-2167 Fix the logic to determine when a channel was not found.
abrahamwolk 229e414
CSSTUDIO-2167 Handle the case where the archiver doesn't return the l…
abrahamwolk 0f8d88e
CSSTUDIO-2167 When vEnumFromPreviousLogEntryToThisLogEntry.size() > 2…
abrahamwolk 74bf9df
CSSTUDIO-2167 Replace ProgressIndicator with a Rectangle with text.
abrahamwolk 046ac9a
CSSTUDIO-2167 Add the interface org.phoebus.logbook.olog.ui.spi.Decor…
abrahamwolk 0d36f93
CSSTUDIO-2167 Move "Decorations.fxml" into separate module (outside o…
abrahamwolk a1bd311
CSSTUDIO-2167 Move implementation of the decorations out into a separ…
abrahamwolk 8a169ab
CSSTUDIO-2167 Set refresh function for LogEntryTableView.
abrahamwolk fc5d996
CSSTUDIO-2167 Remove dependency on 'app-databrowser'.
abrahamwolk ab5629c
CSSTUDIO-2167 Add back spaces.
abrahamwolk c59e103
CSSTUDIO-2167 Remove unused imports and replace wildcard imports with…
abrahamwolk ae0b08f
CSSTUDIO-2167 Remove the ability to input PVs for decorations under "…
abrahamwolk 2a2116f
CSSTUDIO-2167 Remove "@FXML".
abrahamwolk cbdc098
CSSTUDIO-2167 Improve code style: remove the modifiers 'public' from …
abrahamwolk a906512
CSSTUDIO-2167 Adjust padding.
abrahamwolk 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
14 changes: 14 additions & 0 deletions
14
app/logbook/olog/ui/src/main/java/org/phoebus/logbook/olog/ui/spi/Decoration.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,14 @@ | ||
| package org.phoebus.logbook.olog.ui.spi; | ||
|
|
||
| import javafx.scene.Node; | ||
| import org.phoebus.logbook.LogEntry; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public interface Decoration { | ||
| void setLogEntries(List<LogEntry> logEntries); | ||
|
|
||
| void setRefreshLogEntryTableView(Runnable refreshLogEntryTableView); | ||
|
|
||
| Node createDecorationForLogEntryCell(LogEntry logEntry); | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.