class BasicProject : SimpleComponent() { // ==== Register ==== override meth register() { addFeatures( Context.NONE ).apply { val terminal = Action( "Open Terminal", HelperFunctions::openTerminal.curry( projectFolder() ) ) .icon("terminal") val browse = Action( "Browse Project Folder", HelperFunctions::openInExternalApp.curry( projectFolder() ) ) .icon( "browse" ) menus( MenuFeature( "Project", listOf( terminal, browse ) ) ) } } }