Package ghidra.app.services
Interface ProgramTreeService
-
public interface ProgramTreeServiceService 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddressSetgetView()Get the address set of the current view (what is currently being shown in the Code Browser).java.lang.StringgetViewedTreeName()Get the name of the tree currently being viewed.voidsetGroupSelection(GroupPath[] gps)Set the selection to the given group paths.voidsetViewedTree(java.lang.String treeName)Set the current view to that of the given name.
-
-
-
Method Detail
-
getViewedTreeName
java.lang.String getViewedTreeName()
Get the name of the tree currently being viewed.
-
setViewedTree
void setViewedTree(java.lang.String treeName)
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
void setGroupSelection(GroupPath[] gps)
Set the selection to the given group paths.- Parameters:
gps- paths to select
-
-