public class AvailableContribution extends Contribution
Contribution.Filter| Constructor and Description |
|---|
AvailableContribution(ContributionType type,
StringDict params) |
| Modifier and Type | Method and Description |
|---|---|
ContributionType |
getType() |
LocalContribution |
install(Base base,
File contribArchive,
boolean confirmReplace,
StatusPanel status) |
boolean |
isInstalled() |
boolean |
writePropertiesFile(File propFile)
We overwrite those fields that aren't proper in the properties file with
the curated version from the Processing site.
|
equals, getAuthorList, getBenignVersion, getLastUpdated, getMaxRevision, getMinRevision, getName, getParagraph, getPrettyVersion, getSentence, getTypeName, getUrl, getVersion, hashCode, isCompatible, isFoundation, loadProperties, loadProperties, setPrettyVersionpublic AvailableContribution(ContributionType type, StringDict params)
public LocalContribution install(Base base, File contribArchive, boolean confirmReplace, StatusPanel status)
contribArchive - a zip file containing the library to installconfirmReplace - true to open a dialog asking the user to confirm removing/moving
the library when a library by the same name already existsstatus - the StatusPanel. Pass null if this function is called for an
install-on-startuppublic boolean isInstalled()
isInstalled in class Contributionpublic ContributionType getType()
getType in class Contributionpublic boolean writePropertiesFile(File propFile)