Package ghidra.app.services
Interface ProgramTreeService
public interface ProgramTreeService
Service provided by the program tree plugin to get the current view
(address set shown in the Code Browser),
and the name of the tree currently being viewed.
-
Method Summary
Modifier and TypeMethodDescriptiongetView()
Get the address set of the current view (what is currently being shown in the Code Browser).Get the name of the tree currently being viewed.void
setGroupSelection
(GroupPath[] gps) Set the selection to the given group paths.void
setViewedTree
(String treeName) Set the current view to that of the given name.
-
Method Details
-
getViewedTreeName
String getViewedTreeName()Get the name of the tree currently being viewed. -
setViewedTree
Set the current view to that of the given name. If treeName is not a known view, then nothing happens.- Parameters:
treeName
- name of the view
-
getView
AddressSet getView()Get the address set of the current view (what is currently being shown in the Code Browser). -
setGroupSelection
Set the selection to the given group paths.- Parameters:
gps
- paths to select
-