/src/slix/incantea.clj
http://github.com/ksuzuki/Sevenri · Clojure · 40 lines · 20 code · 8 blank · 12 comment · 0 complexity · c6a2adfcb3407fbc12a6095ab8df12b4 MD5 · raw file
- ;; %! Copyright (C) 2011 Kei Suzuki All rights reserved. !%
- ;;
- ;; This file is part of Sevenri, a Clojure environment ("This Software").
- ;;
- ;; The use and distribution terms for this software are covered by the Eclipse
- ;; Public License version 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
- ;; which can be found in the COPYING at the root of this distribution.
- ;; By using this software in any fashion, you are agreeing to be bound by the
- ;; terms of this license.
- ;; You must not remove this notice, or any other, from this software.
- (ns ^{:slix true}
- slix.incantea
- (:use [sevenri config core event log slix ui utils]
- [slix.incantea core init ui]))
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- (use-incanter)
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- (defn frame-created
- [event]
- (add-ui))
- (defn opened
- [event]
- (download-datasets)
- (init-ui)
- (set-slix-visible))
- (defn saving
- [event]
- (save-incantea event))
- (defn closing
- [event]
- (remove-all-sketches)
- (close-incantea-repl (slix-name)))