Skip to content

Commit

Permalink
Merge pull request #2167 from tynanford/master
Browse files Browse the repository at this point in the history
Add getIconURL method for probe application
  • Loading branch information
shroffk authored Mar 9, 2022
2 parents 831fe8b + 78642cd commit 40651d3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.phoebus.applications.probe;

import java.net.URI;
import java.net.URL;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
Expand Down Expand Up @@ -36,6 +37,12 @@ public String getDisplayName() {
return DISPLAYNAME;
}

@Override
public URL getIconURL()
{
return getClass().getResource("/icons/probe.png");
}

@Override
public AppInstance create() {
ProbeInstance probeInstance = new ProbeInstance(this);
Expand Down

0 comments on commit 40651d3

Please sign in to comment.