Package ghidra.app.services

# Interface ViewService

All Known Subinterfaces:
  `ViewManagerService`

public interface ViewService
Base interface class for the view providers and view manager service.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AddressSetView`
  `addToView(ProgramLocation loc)`
  Add the view that corresponds to the given program location.
  `AddressSetView`
  `getCurrentView()`
  Get the current view.

- ## Method Details

  - ### addToView

    AddressSetView addToView(ProgramLocation loc)
    Add the view that corresponds to the given program location.
    Parameters:
      `loc` - program location to be added to the view
    Returns:
      new addressSet for the added view

  - ### getCurrentView

    AddressSetView getCurrentView()
    Get the current view.