Skip to content

Commit

Permalink
Toolbar entry for opening a data browser.
Browse files Browse the repository at this point in the history
Can be controlled via org.phoebus.ui/toolbar_entries, for example by
suppressing it like this:

```
org.phoebus.ui/toolbar_entries=Home, Top Resources, Layouts, File
Browser, !Send To Log Book, !Scan Monitor, !Data Browser, *
```
  • Loading branch information
kasemir committed Aug 23, 2024
1 parent 1acf2c1 commit 85f5c1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2018 Oak Ridge National Laboratory.
* Copyright (c) 2018-2024 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand All @@ -10,14 +10,15 @@
import org.phoebus.framework.workbench.ApplicationService;
import org.phoebus.ui.javafx.ImageCache;
import org.phoebus.ui.spi.MenuEntry;
import org.phoebus.ui.spi.ToolbarEntry;

import javafx.scene.image.Image;

/** Menu entry for opening data browser
/** Menu and toolbar entry for opening data browser
* @author Kay Kasemir
*/
@SuppressWarnings("nls")
public class OpenDataBrowser implements MenuEntry
public class OpenDataBrowser implements MenuEntry, ToolbarEntry
{
@Override
public String getName()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.csstudio.trends.databrowser3.OpenDataBrowser

0 comments on commit 85f5c1d

Please sign in to comment.