FAQ How do I add label decorations to my viewer?

Suppose that your viewer contains model elements for which other plug-ins
have defined label decorators. To make those decorations appear in your
viewer, you need to install a decorating label provider. Assuming that you have
already written your own basic label provider, simply do the following to
add declarative decorations from other plug-ins: