Hello! I was just wandering if it was possible to import all from a
java package . For example, in java i can do
import org.eclipse.jface.text.*;
And i can use IDocument, which is contained under
org.eclipse.jface.text.IDocument;
In clojure, I try
(ns ParenMatcher
(:gen-class
:implements [ICharacterPairMatcher]
:state state
:init init)
(:use [genutils])
(:import
[org.eclipse.jface]
[org.eclipse.swt]
[org.eclipse.jface.text]
[org.eclipse.swt.widgets]))
But, whenever i try to use an IDocument it throws an error like
java.lang.Exception: No such namespace: IDocument (ParenMatcher.clj:
14)
Help??? Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---