JPH07129374A - Customized macro command preparation supporting system - Google Patents
Customized macro command preparation supporting systemInfo
- Publication number
- JPH07129374A JPH07129374A JP5275327A JP27532793A JPH07129374A JP H07129374 A JPH07129374 A JP H07129374A JP 5275327 A JP5275327 A JP 5275327A JP 27532793 A JP27532793 A JP 27532793A JP H07129374 A JPH07129374 A JP H07129374A
- Authority
- JP
- Japan
- Prior art keywords
- state
- macro command
- command
- transition diagram
- customization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、CADシステムのマ
クロコマンド作成を支援するカスタマイズ用マクロコマ
ンド作成支援システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a customization macro command creation support system that supports the creation of a macro command for a CAD system.
【0002】[0002]
【従来の技術】従来技術の特開平2−105222は、
ソフトウエア要求仕様を格納する仕様データベース装置
と、ソフトウエア部品を格納するソフトウエア部品デー
タベース装置と、ソフトウエア要求仕様に基づいて、ソ
フトウエア部品データベースを検索し、得られたソフト
ウエア部品からソフトウエアを合成する部品合成装置か
らなる。つまり要求仕様のソフトウエアに合致する部品
をデータベースから一意に選択し、得られたソフトウエ
ア部品を用いてソフトウエアを合成しているため、一般
のプログラミング言語でソフトウエアを製造する場合
は、適用可能できる。しかし、CADシステムはアプリ
ケーションシステム専用のカスタマイズ用の言語を有
し、その言語を用いて、CADシステムで行う一連の操
作手順をカスタマイズするマクロコマンドを作成する場
合がある。このマクロコマンドの動作の流れを記述する
は、入力イベントの選択を待つ状態と、選択された入力
イベントに因づく処理と、処理結果に因づいて遷移する
次の状態を記述しなければならない。従って、このマク
ロコマンドの動作の流れの記述には、上述のソフトウエ
ア要求仕様で利用されるフローチャートは記述に適して
いない。2. Description of the Related Art Japanese Unexamined Patent Publication No. 2-105222 discloses a prior art.
A specification database device that stores software requirement specifications, a software component database device that stores software components, and a software component database is searched based on the software requirement specifications, and software is obtained from the obtained software components. It is composed of a component synthesizing device for synthesizing. In other words, the parts that match the software with the required specifications are uniquely selected from the database, and the software is synthesized using the obtained software parts. Therefore, if you want to manufacture the software in a general programming language, apply it. It is possible. However, the CAD system has a customization language dedicated to the application system, and in some cases, the language may be used to create a macro command that customizes a series of operating procedures performed by the CAD system. To describe the flow of operations of this macro command, it is necessary to describe the state of waiting for the selection of an input event, the processing based on the selected input event, and the next state to be transited based on the processing result. Therefore, the flow chart used in the above software requirement specifications is not suitable for the description of the flow of operation of this macro command.
【0003】[0003]
【発明が解決しようとする課題】CADシステムの利用
者は、カスタマイズ用言語の言語仕様を理解してカスタ
マイズ用マクロコマンドを作成することは比較的苦手な
ため、カスタマイズ用マクロコマンドを作成することを
敬遠しがちである。その主な理由は、マクロコマンドを
カスタマイズ用言語で記述することが、複雑な対話の繰
り返しの中に生ずる入力イベントの選択と、選択によっ
て生じる処理と、その処理の結果に因づく次の選択すべ
き入力イベントが異なるため、一連の動作の流れが、複
雑になる。そのため、利用者は仕様の作成ミス、あるい
はカスタマイズ用言語の記述ミスをしばしば犯す。The user of the CAD system is relatively uncomfortable in creating the customizing macro command by understanding the language specification of the customizing language. Therefore, the user of the CAD system should create the customizing macro command. Tends to shy away. The main reason for this is that writing macro commands in a customizing language selects the input event that occurs during the repetition of a complicated dialogue, the processing that occurs by the selection, and the next selection that is the result of that processing. Since the input event that should be performed is different, the flow of a series of operations becomes complicated. Therefore, users often make mistakes in creating specifications or writing errors in the customization language.
【0004】[0004]
【課題を解決するための手段】この発明の目的は、利用
者がCADシステムのマクロコマンドをカスタマイズ用
言語で記述するとき、複雑な動作の流れを状態遷移図で
示し、この状態遷移図からカスタマイズ用マクロコマン
ドを自動作成することにある。SUMMARY OF THE INVENTION An object of the present invention is to show a complicated operation flow in a state transition diagram when a user writes a macro command of a CAD system in a customizing language, and customize from this state transition diagram. It is to automatically create a macro command for.
【0005】この発明のカスタマイズ用マクロコマンド
作成支援システムは、CADシステムにおけるマクロコ
マンドの動作の流れを示す状態遷移図を、操作者の入力
操作に因づいてグラフィック画面上に作画し、可視表示
する状態遷移図エディタと、前記マクロコマンドを記述
するカスタマイズ用言語のコマンドのライブラリ名を登
録する状態処理ライブラリと、前記状態遷移図に基づい
て前記状態処理ライブラリからカスタマイズ用言語のコ
マンドのライブラリ名を取得し、前記マクロコマンドを
前記コマンドによって記述するカスタマイズ用マクロコ
マンド自動生成部と、前記カスタマイズ用言語のコマン
ドで記述されるマクロコマンドを格納するカスタマイズ
用マクロコマンドファイルと、を備える。The customizing macro command creation support system of the present invention draws a state transition diagram showing the flow of macro command operation in the CAD system on a graphic screen based on the input operation of the operator and visually displays it. A state transition diagram editor, a state processing library that registers a library name of a command in a customization language that describes the macro command, and a library name of a command in a customization language from the state processing library based on the state transition diagram The macro command automatic generation unit for describing the macro command by the command, and the customization macro command file for storing the macro command described by the command of the customization language.
【0006】[0006]
【実施例】この発明について、図面を参照し説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings.
【0007】この発明の一実施例の構成を示す図1を参
照すると、カスタマイズ用マクロコマンド作成支援シス
テム1は、利用者がマクロコマンドをカスタマイズする
ため、マクロコマンドが表わす一連の動作の流れを示す
状態遷移図を作成する状態遷移図エディタ部2と、状態
遷移図に示される各状態とその状態における入力イベン
トによって指定される処理を実行するコマンドのライブ
ラリ名を登録する状態処理ライブラリ3から前記処理の
ライブラリ名を取得するライブラリ読み込み部4と、状
態遷移図エディタ部2で作成された状態遷移図と状態処
理ライブラリ3からカスタマイズ用言語のマクロのライ
ブラリ名とによってカスタマイズ用マクロコマンドを自
動的に生成するカスタマイズ用マクロコマンド自動生成
部5と、カスタマイズ用マクロコマンドを格納するカス
タマイズ用マクロコマンドファイル6と、を備える。Referring to FIG. 1, which shows the configuration of an embodiment of the present invention, the customization macro command creation support system 1 shows a flow of a series of operations represented by a macro command for the user to customize the macro command. The state transition diagram editor unit 2 for creating a state transition diagram, and the state process library 3 for registering the library name of the command for executing the process specified by each state shown in the state transition diagram and the input event in that state A library reading unit 4 for obtaining the library name of the customizing command, a state transition diagram created by the state transition diagram editor unit 2, and a library name of the macro of the customizing language from the state processing library 3 are automatically generated for the customizing macro command. Customize macro command automatic generation unit 5 and customer Includes a customized macro command file 6 to store's macro command, the.
【0008】更に、状態遷移図における状態と入力イベ
ントと処理と次に遷移する状態の関係を例示する図2を
参照すると、入力イベントを待つ状態21と、入力イベ
ント22と、状態21に対するイベント22によって実
行される処理23と、処理23の結果、次に遷移する状
態24との関係が示されている。Further, referring to FIG. 2 exemplifying the relationship among the states in the state transition diagram, the input event, the process, and the next transition state, the state 21 waiting for the input event, the input event 22, and the event 22 for the state 21. The relationship between the process 23 executed by and the state 24 to be transited to next as a result of the process 23 is shown.
【0009】次に、状態遷移図を例示する図3と、状態
ライブラリを例示する図4と、カスタマイズ用マクロコ
マンドを例示する図5とを援用し、図2の遷移図の解釈
に従って、この実施例の動作を説明する。Next, FIG. 3 exemplifying a state transition diagram, FIG. 4 exemplifying a state library, and FIG. 5 exemplifying a macro command for customization are referred to, and this is executed according to the interpretation of the transition diagram of FIG. The operation of the example will be described.
【0010】図3乃至図5の例示は、「シンボルを配置
して、そのシンボルにインスタンス名を付加する」機能
を有するカスタマイズ用マクロコマンドを作成する場合
である。このマクロコマンドのCADシステムにおける
動作の流れは、図6に例示する操作手順101乃至10
5を実施することに相当する。図6のシンボル106乃
至110は、それぞれ動作の流れ101乃至105に対
応して、グラフィク画面に可視表示されるシンボルを示
す。The examples of FIGS. 3 to 5 show a case where a customization macro command having a function of “arranging symbols and adding instance names to the symbols” is created. The operation flow of this macro command in the CAD system is the operation procedure 101 to 10 illustrated in FIG.
This is equivalent to carrying out step 5. Symbols 106 to 110 in FIG. 6 indicate symbols visually displayed on the graphics screen corresponding to the operation flows 101 to 105, respectively.
【0011】利用者は、状態遷移図エディタ部2によっ
て、グラフィク画面上に、図3に例示する状態遷移図3
0を作成する。この状態遷移図は、状態遷移図エディタ
部2と、状態遷移図エディタ部2が有する作画用のコマ
ンドと、状態遷移図エディタ部2に対するマウス、ある
いはキーボードによる入力手段(図示せず)と、によっ
てグラフィク画面上に作画される。先ず、利用者は、エ
ディタ部2のコマンドを利用し、St1の状態31をグ
ラフィク画面上に作画する。次に、入力イベントを示す
イベントCTを状態31の中に入力し、可視表示する。
St1の状態31に対し、イベントTで示されるテキス
ト入力を指定し、処理34を作画する。次に、利用者
は、処理34にsym−drag−offのライブラリ
名を入力し、可視表示する。利用者はSt1の状態31
から処理34を経て遷移するSt2の状態32を作画す
る。またSt1の状態31において、イベントCで示さ
れるマウス中ボタンが押下される場合の処理38には、
終了のendを入力し、可視表示する。利用者はSt2
の状態32にイベントLCを入力し、可視表示する。ま
た、St2の状態32とイベントLで示されるマウス左
ボタンの押下による処理36にsmbol1のライブラ
リ名を入力し、配置する。そして、St2の状態32か
ら処理36を経て遷移するSt3の状態33を作画す
る。更に、また利用者は、St2の状態32とイベント
Cで示されるマウス中ボタンの押下による処理35にs
ymb−drag−offのライブラリ名を入力し、可
視表示し、St1の状態31への遷移を作画する。利用
者はSt3の状態33にイベントCTを入力し、可視表
示する。St3の状態33とイベントTで示されるテキ
スト入力による処理37にインスタンス名のnameを
入力し、終了のendを可視表示する。The user uses the state transition diagram editor unit 2 to display the state transition diagram 3 shown in FIG. 3 on the graphics screen.
Create 0. This state transition diagram is generated by the state transition diagram editor unit 2, commands for drawing the state transition diagram editor unit 2, and input means (not shown) by the mouse or keyboard for the state transition diagram editor unit 2. It is drawn on the graphic screen. First, the user draws the state 31 of St1 on the graphics screen by using the command of the editor unit 2. Next, an event CT indicating an input event is input into the state 31 and displayed visually.
For the state 31 of St1, the text input indicated by the event T is designated, and the process 34 is drawn. Next, the user inputs the library name of sym-drag-off to the process 34 and visually displays it. User is in St1 state 31
The state 32 of St2, which transits from the process to the process 34, is drawn. Further, in the state 31 of St1, in the processing 38 when the middle mouse button indicated by the event C is pressed,
Input end end and display it visually. User is St2
The event LC is input to the state 32 of and displayed visually. In addition, the library name of smbol1 is input and arranged in the process 32 by pressing the left mouse button indicated by the state 32 of St2 and event L. Then, the state 33 of St3 that transitions from the state 32 of St2 through the processing 36 is drawn. Furthermore, the user goes to the processing 32 by pressing the middle mouse button indicated by the state 32 of St2 and the event C.
Input the library name of ymb-drag-off, display it visually, and draw the transition to the state 31 of St1. The user inputs the event CT in the state 33 of St3 and visually displays it. The name of the instance name is input to the process 33 by the text input indicated by the state 33 of St3 and the event T, and the end of the end is visually displayed.
【0012】また、St3の状態33とイベントCで示
されるマウス中ボタンの押下によって遷移する処理34
にsym−drag−onのライブラリ名を入力し、可
視表示し、St2の状態32への遷移を作画する。Further, the state 33 of St3 and the process 34 which is transited by pressing the middle mouse button indicated by the event C
Input the library name of sym-drag-on to, display it visually, and draw the transition to the state 32 of St2.
【0013】次に、状態遷移図エディタ部2は、上述の
状態遷移図30をカスタマイズ用マクロコマンド自動生
成部5に送付する。また、ライブラリ読み込み部4は、
状態遷移図30に指定されている処理34乃至38に対
応するライブラリ名を状態処理ライブラリから読み込
む。カスタマイズ用マクロコマンド自動生成部5は、状
態遷移図30のSt1,St2,St3の各状態31,
32,33と、各状態31,32,33に示されている
各イベントによる遷移先の状態と、を含む情報を受理
し、ライブラリ名に基づいて、図5に示すカスタマイズ
用マクロコマンドを自動生成し、カスタマイズ用マクロ
コマンドファイル6に格納する。Next, the state transition diagram editor section 2 sends the above state transition diagram 30 to the automatic macro command generation section 5 for customization. Also, the library reading unit 4
The library name corresponding to the processes 34 to 38 designated in the state transition diagram 30 is read from the state processing library. The customization macro command automatic generation unit 5 uses the states 31, 31 of St1, St2, and St3 of the state transition diagram 30,
Information including 32 and 33 and a transition destination state due to each event shown in each state 31, 32 and 33 is received, and the macro command for customization shown in FIG. 5 is automatically generated based on the library name. And stores it in the customization macro command file 6.
【0014】[0014]
【発明の効果】以上説明したようにこの発明によれば、
カスタマイズ言語ファイル作成支援システムは、カスタ
マイズ用言語の言語仕様の理解がなく、カスタマイズ用
マクロコマンドの作成を苦手とする利用者にも、状態遷
移図を利用することによって、簡単にカスタマイズ用マ
クロコマンドの作成を行うことができる。As described above, according to the present invention,
The customized language file creation support system makes it easy for users who do not understand the language specifications of the customization language and who are not good at creating customization macro commands to use the state transition diagram to create customization macro commands. Can be created.
【0015】更に、この発明によれば、複雑なCADシ
ステムの操作入力のシーケンスの中で利用者によって引
き起される入力イベントと処理と遷移する状態を状態遷
移図で表現できるため、カスタマイズ用コマンドの仕様
ミス、カスタマイズ用言語の記述ミスを未然に防ぐこと
ができる。Further, according to the present invention, the state transition diagram can represent the transition states between the input event and the process caused by the user in the sequence of the operation input of the complicated CAD system, and therefore the command for customization is used. It is possible to prevent mistakes in specifications and description errors in the customization language.
【図1】この発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.
【図2】状態遷移図の状態とイベントと処理の関係を説
明する図である。FIG. 2 is a diagram illustrating a relationship among states, events, and processes in a state transition diagram.
【図3】図1の状態遷移図エディタ部が作成する状態遷
移図を例示する図である。FIG. 3 is a diagram illustrating a state transition diagram created by a state transition diagram editor unit in FIG. 1.
【図4】図1の状態処理ライブラリを例示する図であ
る。FIG. 4 is a diagram illustrating a state processing library of FIG.
【図5】図1のカスタマイズ用マクロコマンドを例示す
る図である。5 is a diagram illustrating an example of a customization macro command in FIG. 1. FIG.
【図6】CADシステムにおける操作と可視表示シンボ
ルを例示する図である。FIG. 6 is a diagram illustrating an operation and a visible display symbol in the CAD system.
1 カスタマイズ用マクロコマンド作成支援システム 2 状態遷移図エディタ部 3 状態処理ライブラリ 4 ライブラリ読み込み部 5 カスタマイズ用マクロコマンド自動生成部 6 カスタマイズ用マクロコマンド 1 Customization macro command creation support system 2 State transition diagram editor section 3 State processing library 4 Library reading section 5 Customization macro command automatic generation section 6 Customization macro command
Claims (2)
の動作の流れを示す状態遷移図を、操作者の入力操作に
因づいてグラフィック画面上に作画し、可視表示する状
態遷移図エディタと、 前記マクロコマンドを記述するカスタマイズ用言語のコ
マンドのライブラリ名を登録する状態処理ライブラリ
と、 前記状態遷移図に基づいて前記状態処理ライブラリから
カスタマイズ用言語のコマンドのライブラリ名を取得
し、前記マクロコマンドを前記コマンドによって記述す
るカスタマイズ用マクロコマンド自動生成部と、 前記カスタマイズ用言語のコマンドで記述されるマクロ
コマンドを格納するカスタマイズ用マクロコマンドファ
イルと、 を備えることを特徴とするカスタマイズ用マクロコマン
ド作成支援システム。1. A state transition diagram editor for visually displaying and displaying a state transition diagram showing a flow of macro command operations in a CAD system on a graphic screen according to an input operation by an operator, and the macro command. A state processing library that registers a library name of a command of a customization language to be written, and a library name of a command of the customization language is acquired from the state processing library based on the state transition diagram, and the macro command is described by the command. A customization macro command creation support system, comprising: a customization macro command automatic generation unit that performs the above; and a customization macro command file that stores a macro command described by a command in the customization language.
状態遷移図が、CADシステムにおける入力イベントの
選択肢と、それの選択待ちを示す状態と、選択された入
力イベントによって実行される処理と、前記処理に因づ
いて前記状態から遷移する次の状態と、によって表わさ
れることを特徴とする請求項1記載のカスタマイズ用マ
クロコマンド作成支援システム。2. A state transition diagram showing a flow of the operation of the macro command includes an input event option in a CAD system, a state showing selection waiting for the input event, a process executed by the selected input event, and The macro command creation support system for customization according to claim 1, which is represented by a next state that transitions from the state due to processing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5275327A JPH07129374A (en) | 1993-11-04 | 1993-11-04 | Customized macro command preparation supporting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5275327A JPH07129374A (en) | 1993-11-04 | 1993-11-04 | Customized macro command preparation supporting system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07129374A true JPH07129374A (en) | 1995-05-19 |
Family
ID=17553918
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5275327A Pending JPH07129374A (en) | 1993-11-04 | 1993-11-04 | Customized macro command preparation supporting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07129374A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20000061374A (en) * | 1999-03-25 | 2000-10-16 | 김기삼 | Driving Method of Status |
| KR20000061373A (en) * | 1999-03-25 | 2000-10-16 | 김기삼 | Driving Method of Filesystem |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6367632A (en) * | 1986-09-09 | 1988-03-26 | Fujitsu Ltd | Production processing system for task table |
| JPH04115347A (en) * | 1990-09-06 | 1992-04-16 | Nec Corp | Automatic formation system for interactive program |
| JPH04148328A (en) * | 1990-10-11 | 1992-05-21 | Nec Corp | State transition converter |
| JPH0573286A (en) * | 1991-09-17 | 1993-03-26 | Kyushu Nippon Denki Software Kk | Condition change programming device |
| JPH05216641A (en) * | 1992-02-06 | 1993-08-27 | Toshiba Corp | Graphical user interface control program generator |
-
1993
- 1993-11-04 JP JP5275327A patent/JPH07129374A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6367632A (en) * | 1986-09-09 | 1988-03-26 | Fujitsu Ltd | Production processing system for task table |
| JPH04115347A (en) * | 1990-09-06 | 1992-04-16 | Nec Corp | Automatic formation system for interactive program |
| JPH04148328A (en) * | 1990-10-11 | 1992-05-21 | Nec Corp | State transition converter |
| JPH0573286A (en) * | 1991-09-17 | 1993-03-26 | Kyushu Nippon Denki Software Kk | Condition change programming device |
| JPH05216641A (en) * | 1992-02-06 | 1993-08-27 | Toshiba Corp | Graphical user interface control program generator |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20000061374A (en) * | 1999-03-25 | 2000-10-16 | 김기삼 | Driving Method of Status |
| KR20000061373A (en) * | 1999-03-25 | 2000-10-16 | 김기삼 | Driving Method of Filesystem |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5613057A (en) | Method for creating a multimedia application using multimedia files stored in directories that are characteristics of display surface areas | |
| US7930699B2 (en) | Task roster | |
| JPH07168710A (en) | System and method for configuring a program | |
| JPH09222977A (en) | Method based on rule of user interface design for application and device therefor | |
| JPH10240746A (en) | Method for generating single-frame multimedia title | |
| US20040027379A1 (en) | Integrated visual development system for creating computer-implemented dialog scripts | |
| JPH08115194A (en) | How to display help for information processing system | |
| JPH08190476A (en) | Interactive program development support device | |
| JPH05313969A (en) | File list display method | |
| JP3016217B2 (en) | Image processing system that can play back operation history | |
| JPH0512336A (en) | File control method | |
| JPH10222356A (en) | Application creation device and application creation method | |
| JPH05204576A (en) | Dynamic scenario presenting method | |
| JPH08263333A (en) | Programming support device and programming support method | |
| JPH05204624A (en) | Program creating device | |
| JPH086773A (en) | Object program creating apparatus and object program processing method | |
| JP2909011B2 (en) | Memory dump analysis support tool | |
| JP3158526B2 (en) | Function instruction method and information processing device | |
| JPH11232364A (en) | Electronic medical record creation apparatus and electronic medical record creation program storage medium | |
| JPH1021062A (en) | Visual programming apparatus and method | |
| JPS638927A (en) | Menu picture display system | |
| JP2001306754A (en) | Patent specification creation support method and apparatus, and storage medium storing patent specification creation support program | |
| JPH05233732A (en) | Design technique information input system | |
| JPH10240412A (en) | Function registration executing device | |
| JPH05204627A (en) | Menu display processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19970520 |