MCPcopy Index your code
hub / github.com/benfry/processing4 / getTab

Method getTab

app/src/processing/app/contrib/ManagerFrame.java:227–238  ·  view source on GitHub ↗
(ContributionType contributionType)

Source from the content-addressed store, hash-verified

225
226
227 protected ContributionTab getTab(ContributionType contributionType) {
228 if (contributionType == ContributionType.LIBRARY) {
229 return librariesTab;
230 } else if (contributionType == ContributionType.MODE) {
231 return modesTab;
232 } else if (contributionType == ContributionType.TOOL) {
233 return toolsTab;
234 } else if (contributionType == ContributionType.EXAMPLES) {
235 return examplesTab;
236 }
237 return updatesTab;
238 }
239
240
241// ContributionTab getActiveTab() {

Callers 1

showFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected