+ if (0 === model.index) {
+ appLauncherAreaLauncher.visible = true
+ applicationArea.visible = false
+ layoutHandler.hideAppLayer()
+ }
+ else {
+ pid = launcher.launch(model.application)
+ if (1 < pid) {
+ applicationArea.visible = true
+ appLauncherAreaLauncher.visible = false
+ layoutHandler.makeMeVisible(pid)
+ layoutHandler.showAppLayer()
+ }
+ else {
+ console.warn("app cannot be launched!")
+ }
+ }