@Override
	protected void init() {
		codeViewerService = tool.getService(CodeViewerService.class);
		codeViewerService.addMarginProvider(markerManager.getMarginProvider());
		codeViewerService.addOverviewProvider(markerManager.getOverviewProvider());
	}
Plugin to manage marker and navigation panels.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/marker/MarkerManagerPlugin.java