processing.app.contrib

## Class ContributionListing

- Object
- - ContributionListing

-     public class ContributionListing
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `ContributionListing.ChangeListener`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Comparator<Contribution>` | `COMPARATOR`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `countUpdates(Base base)` TODO This needs to be called when the listing loads, and also whenever the contribs list has been updated (for whatever reason).
    `static ContributionListing` | `getInstance()`
    `Map<String,Contribution>` | `getLibrariesByImportHeader()` Used by JavaEditor to auto-import

    - ### Methods inherited from class Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### COMPARATOR

          public static Comparator<Contribution> COMPARATOR

  - ### Method Detail

    - #### getInstance

          public static ContributionListing getInstance()

    - #### countUpdates

          public int countUpdates(Base base)

      TODO This needs to be called when the listing loads, and also whenever the contribs list has been updated (for whatever reason). In addition, the caller (presumably Base) should update all Editor windows with the correct information on the number of items available.
      Returns:
        The number of contributions that have available updates.

    - #### getLibrariesByImportHeader

          public Map<String,Contribution> getLibrariesByImportHeader()

      Used by JavaEditor to auto-import