X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/d0301620ac9aa7d8170ba628df493c1ff1e1d2fa..6d0d8dfb8b53d8e7e39b2569943adbaed4babeaa:/src/ucw-test-component.lisp diff --git a/src/ucw-test-component.lisp b/src/ucw-test-component.lisp index b5e3e73..bca8dc1 100644 --- a/src/ucw-test-component.lisp +++ b/src/ucw-test-component.lisp @@ -1,12 +1,14 @@ (in-package :lisp-on-lines) ;;;; LoL CLOS Test Class -(defclass/meta test-class () - ((test-string :initform "test string" :type string)) +(defclass lol-test-class () + ((test-string :initform "test string")) (:documentation "foo")) -(define-attributes (test-class) - (test-string t :label "String :" :editablep t)) +(set-default-attributes 'lol-test-class) + +(define-attributes (lol-test-class) + (test-string t :label "String :")) (defcomponent test-component () ((display-types :accessor display-types :initform (list 'viewer 'editor 'creator 'one-line 'as-string))