/src/slix/log_viewer.clj

http://github.com/ksuzuki/Sevenri · Clojure · 26 lines · 11 code · 4 blank · 11 comment · 0 complexity · f98bd1c772133ed094259f80e74511b1 MD5 · raw file

  1. ;; %! Copyright (C) 2011 Kei Suzuki All rights reserved. !%
  2. ;;
  3. ;; This file is part of Sevenri, a Clojure environment ("This Software").
  4. ;;
  5. ;; The use and distribution terms for this software are covered by the Eclipse
  6. ;; Public License version 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
  7. ;; which can be found in the COPYING at the root of this distribution.
  8. ;; By using this software in any fashion, you are agreeing to be bound by the
  9. ;; terms of this license.
  10. ;; You must not remove this notice, or any other, from this software.
  11. (ns ^{:slix true :singleton true}
  12. slix.log-viewer
  13. (:use [sevenri slix]
  14. [slix.log-viewer core ui]))
  15. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  16. (defn frame-created
  17. [event]
  18. (add-ui))
  19. (defn opened
  20. [event]
  21. (start-view-log)
  22. (set-slix-visible))