annotate lisp/energize/ostore.el @ 71:bae944334fa4

Added tag r20-0b30 for changeset 131b0175ea99
author cvs
date Mon, 13 Aug 2007 09:03:07 +0200
parents 376386a54a3c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 ;;; -*- Mode: Emacs-Lisp -*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 ;;; Adds a couple of ObjectStore commands to the Energize "Browse" menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 (defun osbrowser-sentinel (proc msg)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 (cond ((eq (process-status proc) 'exit)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 (message "Osbrowser subprocess exited"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ((eq (process-status proc) 'signal)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 (message "Osbrowser subprocess killed"))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 (defun os-browser ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 (message "Launching osbrowser.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 (set-process-sentinel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 (start-process "os-browser" "*os-browser*" "osbrowser")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 'osbrowser-sentinel))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 (defun ossd-sentinel (proc msg)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 (cond ((eq (process-status proc) 'exit)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 (message "OS schema designer subprocess exited"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ((eq (process-status proc) 'signal)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 (message "OS schema designer subprocess killed"))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 (defun os-schema-designer ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 (message "Launching ossd.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 (set-process-sentinel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 (start-process "os-schema-designer" "*os-schema-designer*" "ossd")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 'osbrowser-sentinel))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 (add-menu-item '("Browse") "----" nil t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 (add-menu-item '("Browse") "OS Browser" 'os-browser t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 (add-menu-item '("Browse") "OS Schema Designer" 'os-schema-designer t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 (provide 'ostore)