First of all, decide which information should be shown in the Error Stripe:
Extend the particular annotation type with severity, custom_sidebar_color
and priority attributes as described in
the Editor API.
To influence the global status type (up-to-date/processing/dirty), implement UpToDateStatusProvider returning the UpToDateStatus and firing change events, and UpToDateStatusProviderFactory.