JP3003111B2 - How to reset the display state - Google Patents
How to reset the display stateInfo
- Publication number
- JP3003111B2 JP3003111B2 JP5129084A JP12908493A JP3003111B2 JP 3003111 B2 JP3003111 B2 JP 3003111B2 JP 5129084 A JP5129084 A JP 5129084A JP 12908493 A JP12908493 A JP 12908493A JP 3003111 B2 JP3003111 B2 JP 3003111B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- information
- pointer
- editing
- data
- 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.)
- Expired - Fee Related
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は表示状態の復帰方法に係
り、詳細には回路図エディタ、プリント基板パタ−ンエ
ディタなどのデ−タ編集を行う自動(CAD)編集装置
において、デ−タ編集操作を取り消す操作(UNDO)
や、取り消した操作を再実行する操作(REDO)に対
応したデ−タ表示状態の復帰方法に係る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of restoring a display state, and more particularly to an automatic (CAD) editing apparatus for editing data such as a circuit diagram editor and a printed circuit board pattern editor. Operation to cancel editing operation (UNDO)
Also, the present invention relates to a method of restoring a data display state corresponding to an operation (REDO) for re-executing a canceled operation.
【0002】[0002]
【従来の技術】通常CAD編集装置では、デ−タ編集を
行う場合、そのデ−タの編集操作に伴うグラフィック表
示の変更も連動して行われる。従来のCAD編集装置に
おいては、デ−タ編集操作を取り消す操作(UNDO)
や、取り消した操作を再実行する操作(REDO)に対
応したデ−タ表示状態を復帰する場合においても、各デ
−タの以前の表示情報を記憶していないため、デ−タ復
帰後に再度表示情報計算をやり直していた。2. Description of the Related Art Normally, in a CAD editing apparatus, when data is edited, the graphic display is changed in conjunction with the data editing operation. In a conventional CAD editing apparatus, an operation of canceling a data editing operation (UNDO)
Also, when restoring the data display state corresponding to the operation (REDO) for re-executing the canceled operation, since the previous display information of each data is not stored, the data display state is restored after the data restoration. Display information calculation was redone.
【0003】[0003]
【発明が解決しようとする課題】従来の方法では、各デ
−タ以前の表示情報を記憶していないので、デ−タ復帰
後に表示情報を計算しなおしていたため、再度復帰する
ためにかなりの時間を要していた。In the conventional method, since the display information before each data is not stored, the display information is calculated again after the data is restored. It took time.
【0004】本発明の目的は、編集操作毎の操作の取消
時または取り消した操作の再実行時における効率的な表
示状態の復帰方法を提供することにある。An object of the present invention is to provide a method for efficiently returning a display state when an operation for each editing operation is canceled or when the canceled operation is re-executed.
【0005】[0005]
【課題を解決するための手段】本発明は、情報を記憶す
る記憶手段と、記憶された情報を記憶手段から読み出し
て表示する表示手段とを有するデータの編集用自動編集
装置における表示の復帰方法であって、編集対象データ
の各編集操作毎に、表示される情報と、該編集操作前に
表示されていた情報を指し示すUNDOポインタと、編
集操作が取り消されたときにその取り消し前に表示され
ていた情報を指し示すREDOポインタとを記憶手段に
記憶し、編集操作の取消しが指定されたときに、記憶手
段から、UNDOポインタの指し示す表示情報を読み出
して表示手段に表示するとともに、取り消された編集操
作の再実行が指定されたときに、記憶手段から、RED
Oポインタの指し示す表示情報を読み出して表示手段に
表示することを特徴とする。The present invention SUMMARY OF THE INVENTION includes a storage means for storing information, Keru you the information stored in the editing automatic editing system of data and a display means for displaying to read out from the storage means a display method of the return, for each editing operation to be edited data, and information to be displayed, before the editing operation
An UNDO pointer pointing to the displayed information,
Is displayed before the undo operation is canceled
And REDO pointer to which was information when stored in the storage unit, cancel the editing operation is specified, stored Hand
Reads the display information indicated by the UNDO pointer from the row
Display on the display means, and
When re-execution of the operation is specified, RED
Reads the display information indicated by the O pointer and displays it on the display means.
It is characterized by displaying .
【0006】[0006]
【作用】記憶手段に、編集対象データの各編集操作毎
に、表示される情報と、該編集操作前に表示されていた
情報を指し示すUNDOポインタと、編集操作が取り消
されたときにその取り消し前に表示されていた情報を指
し示すREDOポインタとを記憶させ、表示手段に、編
集操作の取消しが指定されたときに、記憶手段から、U
NDOポインタの指し示す表示情報を読み出して表示さ
せるとともに、取り消された編集操作の再実行が指定さ
れたときに、記憶手段から、REDOポインタの指し示
す表示情報を読み出して表示させるので、復帰表示すべ
き情報を再計算する必要なく表示操作を高速化し得、C
ADの応答速度を向上し得、自動設計を効率良く行い得
る。[Action] in the storage means, for each editing operation to be edited data, and the information that is displayed, had been displayed before the editing operation
UNDO pointer to information and editing operation canceled
The information that was displayed before the cancellation
And a redo pointer shown in the table, and when the canceling of the editing operation is designated on the display means,
The display information indicated by the NDO pointer is read and displayed.
Specified to re-execute the canceled editing operation.
From the storage means when the
Since the display information is read out and displayed, the display operation can be sped up without having to recalculate the information to be returned and displayed.
AD response speed can be improved, and automatic design can be performed efficiently.
【0007】[0007]
【実施例】本発明の表示状態の復帰方法を実施するため
のCAD編集装置の記憶手段及び表示手段について説明
する。DESCRIPTION OF THE PREFERRED EMBODIMENTS A storage means and a display means of a CAD editing apparatus for implementing a display state restoring method according to the present invention will be described.
【0008】図2は表示情報格納(記憶)用デ−タ構造
を説明する図である。FIG. 2 is a diagram for explaining a data structure for storing (storing) display information.
【0009】記憶手段、すなわち編集対象デ−タの編集
操作毎の表示情報を記憶する記憶手段は図2に示す様な
構造を用いて編集対象デ−タの編集操作毎の表示情報を
記憶する。該表示情報格納用デ−タ構造は、デ−タを認
識し対応する表示情報を検索するための情報を格納した
デ−タ認識レコ−ド1と、操作に対応した表示情報とU
NDO、REDO時の表示復帰、表示情報を検索するた
めの表示情報レコ−ド2とを有する。デ−タ認識レコ−
ド1によりデ−タを識別するためのデ−タID番号10
と、表示情報レコ−ドのうち現在表示されている状態に
対応するものの位置を指し示す現在位置ポインタ11を
管理する。The storage means, that is, the storage means for storing the display information for each editing operation of the data to be edited, stores the display information for each editing operation of the data to be edited using a structure as shown in FIG. . The display information storage data structure includes a data recognition record 1 storing information for recognizing data and searching for corresponding display information, a display information corresponding to an operation, and a U.S.C.
It has a display information record 2 for restoring display at the time of NDO and REDO, and searching for display information. Data recognition record
Data ID number 10 for identifying data by code 1
And a current position pointer 11 indicating the position of the display information record corresponding to the currently displayed state.
【0010】表示情報レコ−ド2は編集操作毎の表示情
報を格納するもので、操作の取消(UNDO)が指定さ
れたときに以前の表示状態にもどるために、以前の表示
情報を格納している表示情報レコ−ドを指し示すUND
Oポインタ12、同様に、取り消された処理の再実行
(REDO)が指定されたときに以前の表示情報を格納
している表示情報レコ−ドを指し示すREDOポインタ
13、及び線分、円弧等が表示される図形の形状を格納
する図形情報14を有する。The display information record 2 stores display information for each editing operation, and stores previous display information in order to return to the previous display state when operation cancellation (UNDO) is specified. Indicating the displayed display information record
Similarly, the O pointer 12, the REDO pointer 13 pointing to the display information record storing the previous display information when the re-execution (REDO) of the canceled processing is designated, and the line segment, arc, etc. It has graphic information 14 for storing the shape of the graphic to be displayed.
【0011】表示手段、すなわち編集操作の取消や、取
消後の再実行時に以前の表示情報を取り出して表示する
手段は、記憶手段で作成したデ−タ構造から、編集操作
名とデ−タID番号10をもとに、対応するデ−タ認識
レコ−ド1と、その中の現在位置ポインタが指し示す表
示情報レコ−ド2を検索し、編集操作名が操作の取消
(UNDO)ならばUNDOポインタの指す表示情報レ
コ−ドを、取り消された処理の再実行(REDO)なら
ばREDOポインタが指す表示情報レコ−ド2を取り出
す。その表示情報レコ−ド2をもとに表示の復帰を行
う。The display means, ie, means for canceling the editing operation and retrieving the previous display information when re-executing after the cancellation, displays the editing operation name and the data ID from the data structure created by the storage means. Based on the number 10, the corresponding data recognition record 1 and the display information record 2 pointed to by the current position pointer therein are searched, and if the editing operation name is the operation cancellation (UNDO), UNDO is searched. If the display information record indicated by the pointer is to be re-executed (REDO), the display information record 2 indicated by the REDO pointer is taken out. The display is restored based on the display information record 2.
【0012】図1は本発明の実施例を説明するフロ−チ
ャ−ト、図3は初期表示状態での表示図形を説明する
図、図4は初期表示状態でのデ−タ構造を説明する図、
図5は移動後の表示図形を説明する図、図6は移動後の
デ−タ構造を説明する図、図7は取り消した後、すなわ
ちUNDO後の表示図形を説明する図、図8はUNDO
のデ−タ構造を説明する図、図9は移動を再実行した状
態、すなわちREDO後の表示図形を説明する図、図1
0はREDOのデ−タ構造を説明する図である。FIG. 1 is a flow chart for explaining an embodiment of the present invention, FIG. 3 is a view for explaining a display figure in an initial display state, and FIG. 4 is a view for explaining a data structure in an initial display state. Figure,
FIG. 5 is a view for explaining a display figure after movement, FIG. 6 is a view for explaining a data structure after movement, FIG. 7 is a view for explaining a display figure after cancellation, that is, after UNDO, and FIG.
FIG. 9 is a diagram for explaining the data structure of FIG. 1, and FIG.
0 is a view for explaining the data structure of REDO.
【0013】本実施例を図1及び図3から図10に基づ
いて説明する。This embodiment will be described with reference to FIGS. 1 and 3 to 10.
【0014】1)編集対象デ−タの編集操作毎の表示情
報の記憶 最初に全デ−タに関してデ−タ認識レコ−ド、表示情報
レコ−ドを作成する(1−1)。図3ではデ−タ1(デ
−タID番号)の正方形の図形が、図4ではそのデ−タ
構造が示されている。ついでデ−タID番号、操作の種
類を入力する(1−2)。操作の種類がEXITならば
処理を終了する(1−3)。操作の種類がEXITでな
いならばデ−タID番号をキイとして対応するデ−タ認
識レコ−ドを検索しその現在位置ポインタから対応する
表示情報レコ−ドを求める(1−4)。操作の種類がU
NDOでもREDOでもない場合には、現在表示図形を
画面から消去し(1−5、1−8、1−9)操作の種類
にしたがってデ−タ本体を編集し(1−10)、編集操
作後のデ−タの新しい表示図形を計算する(1−1
1)。ステップ1−4で検索した表示情報レコ−ドのR
EDOポインタがゼロでない場合は、そのポインタ以降
の表示情報レコ−ドを全て消去する(1−12)。1) Storage of display information for each editing operation of data to be edited First, a data recognition record and a display information record are created for all data (1-1). FIG. 3 shows a square figure of data 1 (data ID number), and FIG. 4 shows the data structure. Next, a data ID number and an operation type are input (1-2). If the type of operation is EXIT, the process ends (1-3). If the type of operation is not EXIT, the corresponding data recognition record is searched by using the data ID number as a key, and the corresponding display information record is obtained from the current position pointer (1-4). Operation type is U
If neither NDO nor REDO, the currently displayed figure is deleted from the screen (1-5, 1-8, 1-9) and the data body is edited according to the type of operation (1-10), and the editing operation is performed. A new display figure of the subsequent data is calculated (1-1).
1). R of the display information record searched in step 1-4
If the EDO pointer is not zero, all display information records after that pointer are deleted (1-12).
【0015】ステップ1−4で検索した表示情報レコ−
ドのREDOポインタの先に新しい表示情報レコ−ドを
作成し、そこにステップ1−11で計算した新しい表示
図形を格納する。ステップ1−4で検索したデ−タ認識
レコ−ドの現在位置ポインタを新しい表示図形情報レコ
−ドに変更する(1−13、図6参照)。The display information record retrieved in step 1-4
A new display information record is created ahead of the REDO pointer of the record, and the new display graphic calculated in step 1-11 is stored therein. The current position pointer of the data recognition record retrieved in step 1-4 is changed to a new display graphic information record (1-13, see FIG. 6).
【0016】新しい表示図形をグラフィック表示装置に
表示して(1−14、図5参照)ステップ1−2へもど
る。The new display graphic is displayed on the graphic display device (1-14, see FIG. 5), and the process returns to step 1-2.
【0017】2)編集操作の取消や取消後の再実行時の
取消以前の表示情報の取出し 操作の種類がUNDOの場合(1−5)、ステップ1−
4で求めた表示情報レコ−ドのUNDOポインタがゼロ
ならばステップ1−2へもどりゼロではない場合には現
在の表示図形を取り消して(1−15)デ−タ編集を取
消し(1−16、図7参照)ステップ1−4で求めた現
在位置ポインタをUNDOポインタが指す表示情報レコ
−ドに移動する(1−17、図8参照)。操作の種類が
REDOの場合ステッフ゜1−4で求めた表示情報レコ
−ドのREDOポインタがゼロならばステップ1−2へ
もどり、ゼロではない場合には現在の表示図形を消去し
て(1−18)デ−タ編集を取消し(再移動の実行、図
9参照)ステップ1−4で求めた現在位置ポインタをR
EDOポインタが指す表示情報レコ−ドに移動する(1
−20、図10参照)。現在位置ポインタが指し示す表
示情報レコ−ドの表示図形をグラフィック図形装置に表
示する(1−14、図7、図9参照)。2) Cancellation of editing operation or retrieval of display information before cancellation at the time of re-execution after cancellation If the type of operation is UNDO (1-5), step 1-
If the UNDO pointer of the display information record obtained in step 4 is zero, the process returns to step 1-2. If not, the current display figure is canceled (1-15) and the data editing is canceled (1-16). Move the current position pointer obtained in step 1-4 to the display information record indicated by the UNDO pointer (1-17, see FIG. 8). If the type of operation is REDO, the process returns to step 1-2 if the REDO pointer of the display information record obtained in step 1-4 is zero, and if it is not zero, deletes the current display figure (1- 18) Cancel data editing (execution of re-movement, see FIG. 9).
Move to the display information record indicated by the EDO pointer (1
-20, see FIG. 10). The display figure of the display information record indicated by the current position pointer is displayed on the graphic figure apparatus (1-14, see FIGS. 7 and 9).
【0018】[0018]
【発明の効果】記憶手段に、編集対象データの各編集操
作毎に、表示される情報と、該編集操作前に表示されて
いた情報を指し示すUNDOポインタと、編集操作が取
り消されたときにその取り消し前に表示されていた情報
を指し示すREDOポインタとを記憶させ、表示手段
に、編集操作の取消しが指定されたときに、記憶手段か
ら、UNDOポインタの指し示す表示情報を読み出して
表示させるとともに、取り消された編集操作の再実行が
指定されたときに、記憶手段から、REDOポインタの
指し示す表示情報を読み出して表示させるので、復帰表
示すべき情報を再計算する必要なく表示操作を高速化し
得、CADの応答速度を向上し得、自動設計を効率良く
行い得る。The storage means according to the present invention, for each editing operation to be edited data, the information displayed, displayed before the editing operation
UNDO pointer that points to the information
Information that was displayed before the cancellation when it was canceled
Is stored and a REDO pointer to the display means, when the cancellation of the editing operation is specified, whether the storage means
Read the display information indicated by the UNDO pointer
Display and re-execute the canceled edit operation.
When specified, the storage unit reads the REDO pointer
Since the indicated display information is read and displayed, the display operation can be speeded up without recalculating the information to be returned and displayed, the response speed of CAD can be improved, and automatic design can be efficiently performed.
【図1】本発明の表示状態の復帰方法の実施例を説明す
るフロ−チャ−トである。FIG. 1 is a flowchart for explaining an embodiment of a display state returning method according to the present invention.
【図2】表示情報格納用デ−タ構造を説明する図であ
る。FIG. 2 is a diagram illustrating a data structure for storing display information.
【図3】表示図形を説明する図である。FIG. 3 is a diagram illustrating a display graphic.
【図4】デ−タ構造を説明する図である。FIG. 4 is a diagram illustrating a data structure.
【図5】移動後の表示図形を説明する図である。FIG. 5 is a diagram illustrating a display graphic after movement.
【図6】移動後のデ−タ構造を説明する図である。FIG. 6 is a diagram illustrating a data structure after movement.
【図7】UNDO後の表示図形を説明する図である。FIG. 7 is a diagram illustrating a display graphic after UNDO.
【図8】UNDOのデ−タ構造を説明する図である。FIG. 8 is a diagram illustrating the data structure of UNDO.
【図9】REDO後の表示図形を説明する図である。FIG. 9 is a diagram illustrating a display graphic after REDO.
【図10】REDOのデ−タ構造を説明する図である。FIG. 10 is a diagram illustrating a data structure of REDO.
1 デ−タ認識レコ−ド 2 表示情報レコ−ド 10 デ−タID番号 11 現在位置ポインタ 12 UNDOポインタ 13 REDOポインタ 14 図形情報 1 Data Recognition Record 2 Display Information Record 10 Data ID Number 11 Current Position Pointer 12 UNDO Pointer 13 REDO Pointer 14 Graphic Information
Claims (2)
情報を前記記憶手段から読み出して表示する表示手段と
を有するデータの編集用自動編集装置における表示の復
帰方法であって、 編集対象データの各編集操作毎に、表示される情報と、
該編集操作前に表示されていた情報を指し示すUNDO
ポインタと、編集操作が取り消されたときにその取り消
し前に表示されていた情報を指し示すREDOポインタ
とを前記記憶手段に記憶し、編集操作の取消しが指定さ
れたときに、前記記憶手段から、前記UNDOポインタ
の指し示す表示情報を読み出して前記表示手段に表示す
るとともに、取り消された編集操作の再実行が指定され
たときに、前記記憶手段から、前記REDOポインタの
指し示す表示情報を読み出して前記表示手段に表示する
ことを特徴とする表示状態の復帰方法。Storage means for storing 1. A information, Contact Keru recovery display the editing automatic editing system of data and a display means for the stored information and displays the read out from said memory means
A return method, for each editing operation to be edited data, the information displayed,
UNDO indicating information displayed before the editing operation
The pointer and the edit operation when it is canceled
REDO pointer pointing to the previously displayed information
Storing the door in the storage means, cancellation designation editing operations
The UNDO pointer from the storage means when the
The display information pointed to by is read and displayed on the display means.
Specified to re-execute the canceled edit operation.
When the REDO pointer is
A method of restoring a display state, comprising reading out display information to be pointed and displaying the read out information on the display means .
おいて、 編集操作の取消し及び取り消された編集操作の再実行以
外の編集操作が指定されたとき、前記REDOポインタ
の指し示す表示情報がある場合に、該REDOポインタ
の指し示す表示情報以降の表示情報を削除するととも
に、指定された編集操作実行後の新しい表示情報を記憶
することを特徴とする表示状態の復帰方法。 (2)The method for restoring a display state according to claim 1
And Canceling the editing operation and re-executing the canceled editing operation
When an outside editing operation is specified, the REDO pointer
If there is display information indicating the REDO pointer,
Display information after the display information indicated by
New display information after executing the specified editing operation
And restoring the display state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5129084A JP3003111B2 (en) | 1993-05-31 | 1993-05-31 | How to reset the display state |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5129084A JP3003111B2 (en) | 1993-05-31 | 1993-05-31 | How to reset the display state |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06337671A JPH06337671A (en) | 1994-12-06 |
| JP3003111B2 true JP3003111B2 (en) | 2000-01-24 |
Family
ID=15000689
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5129084A Expired - Fee Related JP3003111B2 (en) | 1993-05-31 | 1993-05-31 | How to reset the display state |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3003111B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101427256A (en) * | 2006-02-28 | 2009-05-06 | 奥姆科公司 | Software and method for dental treatment planning |
-
1993
- 1993-05-31 JP JP5129084A patent/JP3003111B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06337671A (en) | 1994-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS645344B2 (en) | ||
| JPH06337671A (en) | How to restore display status | |
| JPH0719311B2 (en) | Data processing device | |
| JPH0764979A (en) | Document information processing device | |
| JPS6315322A (en) | Command history acquisition reuse method | |
| JP3465600B2 (en) | Screen information saving / restoring system and screen information saving / restoring method | |
| JP2567858B2 (en) | Drawing management method and apparatus | |
| JP2537778B2 (en) | Data input device | |
| JP2616203B2 (en) | Management method of name table in translation system | |
| JP2599433Y2 (en) | Memory protection device for each memory board in a multiprocessor system | |
| JP2001155017A (en) | Tagged document creation device and recording medium recording the program | |
| JPH02230375A (en) | Electronic filing system | |
| JP2787945B2 (en) | Information processing apparatus and method | |
| JP2604548B2 (en) | Information processing device | |
| JP2878008B2 (en) | Data input method of CAD system | |
| JPH05250243A (en) | Data processing system for extended storage device | |
| JPH05189183A (en) | Window control method | |
| JPH067399Y2 (en) | Edit data output device | |
| JPH02250166A (en) | information processing equipment | |
| JPH0375942A (en) | Editing history control system for file | |
| JPH04280365A (en) | Document processing method and device | |
| JPH10149357A (en) | Undo processing device and undo processing method | |
| JPH09245044A (en) | Book digitization system and method | |
| JPS6050581A (en) | Character memory system for graphic display unit | |
| JPS606991A (en) | Image data formation system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |