WIP desktop client for Chatto reimplemented in ScalaFX and Sapphire Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
543 B

package wow.doge.chatto.controller
import javafx.event.ActionEvent
import javafx.scene.control.Button
class NavigationController extends AbstractViewController {
def actionClickButton(event: ActionEvent) {
logger.debug(event.toString)
statusBarController.updateLabel(event.getSource.asInstanceOf[Button])
}
def actionHotReload(event: ActionEvent) {
applicationController.replacePrimarySceneContent()
logger.debug("Hot Reload Succeeded")
statusBarController.updateLabel(event.getSource.asInstanceOf[Button])
}
}