mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 10:40:45 -08:00
all for file extensions
This commit is contained in:
parent
7bb252d80e
commit
a92d3b1402
4 changed files with 49 additions and 2 deletions
|
|
@ -40,6 +40,13 @@ replaced. (Exported)"
|
|||
*inspectors*))
|
||||
(push (list :name name :func func) *inspectors*))
|
||||
|
||||
(defun add-file-extension (name func)
|
||||
"Add a custom file extension with NAME and (FUNC file dir project clog-obj)"
|
||||
(setf *file-extensions* (remove-if (lambda (x)
|
||||
(equalp name (getf x :name)))
|
||||
*file-extensions*))
|
||||
(push (list :name name :func func) *file-extensions*))
|
||||
|
||||
(defun reset-control-pallete (panel)
|
||||
(let* ((app (connection-data-item panel "builder-app-data"))
|
||||
(pallete (select-tool app)))
|
||||
|
|
@ -48,4 +55,4 @@ replaced. (Exported)"
|
|||
(dolist (control *supported-controls*)
|
||||
(if (equal (getf control :name) "group")
|
||||
(add-select-optgroup pallete (getf control :description))
|
||||
(add-select-option pallete (getf control :name) (getf control :description)))))))
|
||||
(add-select-option pallete (getf control :name) (getf control :description)))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue