Skip to content

Instantly share code, notes, and snippets.

@laurentpetit
Last active December 30, 2015 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laurentpetit/7814400 to your computer and use it in GitHub Desktop.
Save laurentpetit/7814400 to your computer and use it in GitHub Desktop.
(ns hello-world
(:require [ccw.eclipse :as e]
[ccw.e4.dsl :refer :all]))
(defn greet [context]
(e/info-dialog
"Hello world" "This popup provided to you from a user script"))
(defcommand greeter "Hello from CCW")
(defhandler greeter greet)
(defkeybinding greeter "Ctrl+Alt+Y")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment