()
| 90 | } |
| 91 | |
| 92 | public Optional<Tab> getCurrentTab() { |
| 93 | return Optional.ofNullable(tabPane.getSelectionModel().getSelectedItem()); |
| 94 | } |
| 95 | |
| 96 | public Optional<Program> getCurrentProgram() { |
| 97 | return getCurrentTab().map(t -> openDocuments.get(t)); |
no outgoing calls
no test coverage detected