Class AbstractDocumentProvider.ElementInfo

    • Field Detail

      • fElement

        public Object fElement
        The element for which the info is stored
      • fCount

        public int fCount
        How often the element has been connected
      • fCanBeSaved

        public boolean fCanBeSaved
        Can the element be saved
      • fDocument

        public IDocument fDocument
        The element's document
      • fIsStateValidated

        public boolean fIsStateValidated
        Has element state been validated
        Since:
        2.0
      • fStatus

        public IStatus fStatus
        The status of this element
        Since:
        2.0
    • Constructor Detail

      • ElementInfo

        public ElementInfo​(IDocument document,
                           IAnnotationModel model)
        Creates a new element info, initialized with the given document and annotation model.
        Parameters:
        document - the document
        model - the annotation model
    • Method Detail

      • equals

        public boolean equals​(Object o)
        An element info equals another object if this object is an element info and if the documents of the two element infos are equal.
        Overrides:
        equals in class Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • documentChanged

        public void documentChanged​(DocumentEvent event)
        Description copied from interface: IDocumentListener
        The manipulation described by the document event has been performed.
        Specified by:
        documentChanged in interface IDocumentListener
        Parameters:
        event - the document event describing the document change