// ĠCopyright Ġ 2 0 0 0 - 2 0 1 9 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġcom . intellij . execution . target Ċ Ċ import Ġcom . intellij . execution . target . Language Runtime Type . Companion . EXTENSION _ NAME Ċ import Ġcom . intellij . execution . target . Target Environment Type . Companion . EXTENSION _ NAME Ċ import Ġcom . intellij . ide . wizard . Abstract Wizard Step Ex Ċ import Ġcom . intellij . openapi . extensions . Extension Point Name Ċ import Ġcom . intellij . openapi . project . Project Ċ Ċ /** Ċ Ġ* ĠContribut ed Ġtype Ġfor Ġ[" com . intellij . execution Target Type "][ EXTENSION _ NAME ] Ġextension Ġpoint Ċ Ġ* Ċ Ġ* ĠContribut ed Ġinstances Ġof Ġthis Ġclass Ġdefine Ġa Ġtype Ġof Ġtarget Ġenvironments Ġthat Ġcan Ġbe Ġcreated Ġby Ġuser Ċ Ġ* Ġand Ġconfigured Ġto Ġrun Ġprocesses Ġon . Ċ Ġ*/ Ċ // todo [ remote Servers ]: Ġsuggest Ġ" pre defined " Ġconfigurations Ġ( e . g Ġone Ġper Ġevery Ġconfigured ĠSF TP Ġconnection ) Ċ abstract Ġclass ĠTarget Environment Type < C Ġ: ĠTarget Environment Configuration >( id : ĠString ) Ġ: ĠContribut ed Type Base < C >( id ) Ġ{ ĊĠ Ġ/** ĊĠĠ Ġ* ĠReturns Ġtrue Ġif Ġthe Ġnew Ġconfiguration Ġof Ġgiven Ġtype Ġmay Ġbe Ġset Ġup Ġby Ġthe Ġuser Ġiter atively Ġwith Ġthe Ġhelp Ġof Ġ[ create Steps For New Wizard ] ĊĠĠ Ġ*/ ĊĠ Ġopen Ġfun Ġprovides New Wizard ( project : ĠProject , Ġruntime Type : ĠLanguage Runtime Type < *> ?): ĠBoolean Ġ= Ġfalse ĊĊĠ Ġ/** ĊĠĠ Ġ* ĠPrep ares Ġthe Ġwizard Ġfor Ġsetting Ġup Ġthe Ġnew Ġconfiguration Ġinstance Ġof Ġthis Ġtype . ĊĠĠ Ġ*/ ĊĠ Ġopen Ġfun Ġcreate Steps For New Wizard ( project : ĠProject , Ġconfig To Configure : ĠC , Ġruntime Type : ĠLanguage Runtime Type < *> ?) ĊĠĠĠ Ġ: ĠList < Abstract Wizard Step Ex >? Ġ= Ġnull ĊĊĠ Ġ/** ĊĠĠ Ġ* ĠInstanti ates Ġa Ġnew Ġenvironment Ġfactory Ġfor Ġgiven Ġprepared Ġ[ configuration ][ config ]. ĊĠĠ Ġ*/ ĊĠ Ġabstract Ġfun Ġcreate Environment Factory ( project : ĠProject , Ġconfig : ĠC ): ĠTarget Environment Factory ĊĊĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠ Ġ@ Jvm Field ĊĠĠĠ Ġval ĠEXT ENSION _ NAME Ġ= ĠExtension Point Name . create < Target Environment Type <* >> (" com . intellij . execution Target Type ") ĊĠ Ġ} Ċ }