ToolContribution

processing.app.contrib

## Class ToolContribution

- Object
- - Contribution
  - - LocalContribution
    - - ToolContribution

- All Implemented Interfaces:
    Runnable, Tool

      public class ToolContribution
      extends LocalContribution
      implements Tool

- - ### Field Summary

    - ### Fields inherited from class LocalContribution

      `DELETION_FLAG, RESTART_FLAG`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMenuTitle()`
    `ContributionType` | `getType()`
    `void` | `init(Editor editor)`
    `static ToolContribution` | `load(File folder)`
    `static ArrayList<ToolContribution>` | `loadAll(File toolsFolder)`
    `void` | `run()`

    - ### Methods inherited from class LocalContribution

      `getFolder, getId, getLatestVersion, initLoader, isInstalled`

    - ### Methods inherited from class Contribution

      `getAuthorList, getName, getParagraph, getPrettyVersion, getSentence, getTypeName, getUrl, getVersion`

    - ### Methods inherited from class Object

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

- - ### Method Detail

    - #### load

          public static ToolContribution load(File folder)

    - #### loadAll

          public static ArrayList<ToolContribution> loadAll(File toolsFolder)

    - #### init

          public void init(Editor editor)

      Specified by:
        `init` in interface `Tool`

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`
      Specified by:
        `run` in interface `Tool`

    - #### getMenuTitle

          public String getMenuTitle()

      Specified by:
        `getMenuTitle` in interface `Tool`

    - #### getType

          public ContributionType getType()

      Specified by:
        `getType` in class `Contribution`