Class TextViewer.TextHoverKey

  • Enclosing class:
    TextViewer

    protected class TextViewer.TextHoverKey
    extends Object
    Value object used as key in the text hover configuration table. It is modifiable only inside this compilation unit to allow the reuse of created objects for efficiency reasons
    Since:
    2.1
    • Constructor Detail

      • TextHoverKey

        protected TextHoverKey​(String contentType,
                               int stateMask)
        Creates a new text hover key for the given content type and state mask.
        Parameters:
        contentType - the content type
        stateMask - the state mask