JP2001109550A - Method and device for information processing - Google Patents

Method and device for information processing

Info

Publication number
JP2001109550A
JP2001109550A JP29155999A JP29155999A JP2001109550A JP 2001109550 A JP2001109550 A JP 2001109550A JP 29155999 A JP29155999 A JP 29155999A JP 29155999 A JP29155999 A JP 29155999A JP 2001109550 A JP2001109550 A JP 2001109550A
Authority
JP
Japan
Prior art keywords
time
editing
undo
unit
information processing
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.)
Withdrawn
Application number
JP29155999A
Other languages
Japanese (ja)
Inventor
Takashi Harada
隆史 原田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP29155999A priority Critical patent/JP2001109550A/en
Publication of JP2001109550A publication Critical patent/JP2001109550A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the operability of an undo function by making it possible to give an indication at the moment indicating the point of time of restoration to the state at a desirable point of time by undo. SOLUTION: An operation acquisition part 2 acquires the contents of editing operation done to an object and a time acquisition part 3 acquires the editing time. A data holding part 4 holds in a memory an operation list wherein the acquired editing contents and editing time are made to correspond to each other. When a time indication part 5 indicates time together with the undo, a reverse operation acquisition part 6 extracts an editing operation done after the indicated time according to the editing time held in the operation list and an operation execution part 7 performs a reverse operation according to the extracted editing operation to actualize an undo process.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、一般にアンドゥ
(以下、Undoと記載する)と称される、ユーザ操作
の取り消し操作が可能な情報処理装置及び方法に関す
る。
[0001] 1. Field of the Invention [0002] The present invention relates to an information processing apparatus and method capable of canceling a user operation, which is generally called undo (hereinafter referred to as Undo).

【0002】[0002]

【従来の技術】ドローイング・ツール等では、Undo
機能が用意されており(“元に戻す”、“取り消し”と
いった項目がメニューに用意されている)、ユーザが描
画オブジェクトに移動、変形等の操作を行い、その結果
がユーザの意図と異なっている場合、Undo機能を使
うことでその操作を行う以前の状態に描画オブジェクト
を戻すことができるようになっている。
2. Description of the Related Art Undo is used for drawing tools.
A function is provided (items such as “Undo” and “Cancel” are provided in the menu), and the user performs operations such as moving and transforming the drawing object, and the result is different from the user's intention. In such a case, the drawing object can be returned to a state before the operation is performed by using the Undo function.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、一般に
Undo機能を便用する場合には、プルダウンメニュー
或いはポップアップメニュー等からUndo機能を示す
項目を選択するのであるが、従来のUndo方式では、
項目選択1回につきオブジェクト或いはアプリケーショ
ンの状態を(操作を行った)1回前の状態にしか戻せな
い。このため、オブジェクト或いはアプリケーションの
状態を、何回も操作を加えた後にそれら複数の操作を加
える以前の状態に戻すためには、加えた操作の回数分だ
けメニェーから項目選択を繰り返してUndoを実行さ
せなくてはならず、操作が煩わしいものとなっていた。
However, in general, when using the Undo function, an item indicating the Undo function is selected from a pull-down menu or a pop-up menu. However, in the conventional Undo system,
For each item selection, the state of the object or application can only be returned to the previous state (performed). Therefore, in order to return the state of the object or application to the state before applying the multiple operations after performing the operation many times, repeat the item selection from the menu for the number of operations performed and execute Undo. The operation has to be troublesome.

【0004】本発明は上記の問題に鑑みてなされたもの
であり、Undoによって所望の時点の状態まで復元す
るにあたり、その時点を示す時刻でもって指示を与える
ことを可能とし、Undo機能の操作性を向上すること
を目的とする。
[0004] The present invention has been made in view of the above-mentioned problems, and when restoring to a state at a desired time by Undo, it is possible to give an instruction at a time indicating the time, and the operability of the Undo function is improved. The purpose is to improve.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
めの本発明による情報処理装置は例えば以下の構成を備
える。すなわち、オブジェクトに対して行われた編集操
作について、その編集内容と編集時刻を取得する取得手
段と、前記取得手段によって取得された編集内容と編集
時刻を対応づけてメモリに保持する保持手段と、アンド
ゥ処理とともに時刻を指示する指示手段と、前記メモリ
に保持されている編集時刻に基づいて前記指示手段によ
り指示された時刻以降に行われた編集操作を抽出する抽
出手段と、前記抽出手段によって抽出された編集操作に
従って逆操作を実行することによりアンドゥを行う実行
手段とを備える。
An information processing apparatus according to the present invention for achieving the above object has, for example, the following arrangement. That is, for an editing operation performed on an object, an acquiring unit that acquires the editing content and the editing time of the editing operation, a holding unit that associates the editing content and the editing time acquired by the acquiring unit with each other in a memory, Instructing means for instructing the time together with the undo process; extracting means for extracting an editing operation performed after the time instructed by the instructing means based on the editing time held in the memory; Execution means for performing an undo by executing a reverse operation in accordance with the performed editing operation.

【0006】また、上記の目的を達成するための本発明
による情報処理方法は例えば以下の工程を備える。すな
わち、オブジェクトに対して行われた編集操作につい
て、その編集内容と編集時刻を取得する取得工程と、前
記取得工程によって取得された編集内容と編集時刻を対
応づけてメモリに保持する保持工程と、アンドゥ処理と
ともに時刻を指示する指示工程と、前記メモリに保持さ
れている編集時刻に基づいて前記指示工程により指示さ
れた時刻以降に行われた編集操作を抽出する抽出工程
と、前記抽出工程によって抽出された編集操作に従って
逆操作を実行することによりアンドゥを行う実行工程と
を備える。
Further, an information processing method according to the present invention for achieving the above object includes, for example, the following steps. That is, for an editing operation performed on an object, an acquisition step of acquiring the edited content and editing time of the object, a holding step of storing the edited content and the editing time acquired in the acquiring step in a memory in association with each other, An instructing step of instructing a time together with an undo process; an extracting step of extracting an editing operation performed after the time instructed by the instructing step based on an editing time held in the memory; and an extracting step of extracting by the extracting step. And performing an undo by performing a reverse operation in accordance with the edited operation.

【0007】[0007]

【発明の実施の形態】以下、添付の図面を参照して本発
明の好適な実施形態を説明する。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.

【0008】(第1実施形態)図5は本実施形態による
Undo機能が実行される情報処理装置の概略構成を示
すブロック図である。図5において、101はCPUで
あり、ROM102、RAM103に保持された制御プ
ログラムに従って各種処理を実行する。102はROM
であり、CPU101によって実行される制御プログラ
ムや各種データを格納する。103はRAMであり、C
PU101がCPU101が実行する制御プログラムを
格納したり、CPU101が各種処理を実行するに際し
ての作業領域を提供する。104はディスプレイであ
り、CPU101の制御の下で各種表示を行う。105
は入力装置であり、キーボードやポインティングデバイ
ス(本例ではマウス)を備える。106は外部記憶装置
であり、各種アプリケーションプログラムやデータを格
納する。なお、フローチャートを参照して後述する本実
施形態の制御を実現する制御プログラムは外部記憶装置
106に格納されており、必要に応じてRAM103に
ロードされ、CPU101によって実行されるものとす
る。
(First Embodiment) FIG. 5 is a block diagram showing a schematic configuration of an information processing apparatus in which the Undo function according to the present embodiment is executed. In FIG. 5, reference numeral 101 denotes a CPU, which executes various processes according to control programs stored in a ROM 102 and a RAM 103. 102 is ROM
And stores a control program executed by the CPU 101 and various data. 103 is a RAM, and C
The PU 101 stores a control program executed by the CPU 101 and provides a work area when the CPU 101 executes various processes. A display 104 performs various displays under the control of the CPU 101. 105
Denotes an input device, which includes a keyboard and a pointing device (a mouse in this example). An external storage device 106 stores various application programs and data. A control program for realizing the control of the present embodiment, which will be described later with reference to the flowchart, is stored in the external storage device 106, loaded into the RAM 103 as needed, and executed by the CPU 101.

【0009】図1は本実施形態による編集処理及びUn
do処理の機能構成を示すブロック図である。図1にお
いて、1は入力部であり、入力装置105を介してオブ
ジェクトへの操作や、時刻指示を行う。2は操作取得部
であり、入力部1より指示されたオブジェクトへの操作
を取得する。3は時刻取得部であり、オブジェクトへの
操作が行われた時刻を取得する。4はデータ保持部であ
り、操作取得部2及び時刻取得部3で得られた操作と時
刻を対にしてRAM103に保持する。5は時刻指示部
であり、Undo昨日の実行指示に際して、オブジェク
トの状態を戻したい時間を、入力部1より指示する。6
は逆操作取得部であり、時刻指示部5により指示された
時刻以降に行われた操作をデータ保持部4に保持された
情報より取得し、それらの操作の逆操作を取得する。7
は操作実行部操作であり、コマンドを実行する。
FIG. 1 shows an editing process and an Un process according to this embodiment.
It is a block diagram showing the functional composition of do processing. In FIG. 1, reference numeral 1 denotes an input unit, which performs an operation on an object and a time instruction via the input device 105. Reference numeral 2 denotes an operation acquisition unit that acquires an operation on the object specified by the input unit 1. Reference numeral 3 denotes a time acquisition unit, which acquires a time at which an operation on an object is performed. Reference numeral 4 denotes a data holding unit, which holds the operation and the time obtained by the operation obtaining unit 2 and the time obtaining unit 3 in the RAM 103 as a pair. Reference numeral 5 denotes a time indicating unit, which indicates the time at which the state of the object is to be returned from the input unit 1 when the execution instruction of Undo is issued yesterday. 6
Is an inverse operation acquisition unit that acquires operations performed after the time instructed by the time instruction unit 5 from the information stored in the data storage unit 4 and obtains the inverse operations of those operations. 7
Is an operation execution unit operation for executing a command.

【0010】次に、上記の構成を備えた本実施形態の情
報処理装置におけるUndo機能にかかる処理を説明す
る。図2は、第1の実施形態によるUndo処理の手順
を説明するフローチャートである。また、図3は、第1
の実施形態における画面操作例を示す図である。
Next, a description will be given of processing relating to the Undo function in the information processing apparatus of the present embodiment having the above-described configuration. FIG. 2 is a flowchart illustrating a procedure of the Undo process according to the first embodiment. FIG. 3 shows the first
It is a figure showing the example of screen operation in an embodiment.

【0011】図2のステップS201では入力部1から
の入力を待つ。ステップS202では、入力部1よりの
入力がオブジェクトに対する直接操作か、メニュー選択
なのかを判断する。ここで、オブジェクトに対する直接
操作の場合にはステップS203からステップS205
を、メニュー操作の場合にはステップS206からステ
ップS210をそれぞれ実行し、ステップS201に戻
る。
In step S201 of FIG. 2, an input from the input unit 1 is waited. In step S202, it is determined whether the input from the input unit 1 is a direct operation on the object or a menu selection. Here, in the case of a direct operation on the object, steps S203 to S205
In the case of a menu operation, steps S206 to S210 are executed, and the process returns to step S201.

【0012】まず、オブジェクトに対する直接操作であ
った場合、ステップS203で、操作取得部2が当該操
作(イベント)を取得し、操作実行部7はこの取得され
た操作を実行する。ステップS204では、時刻取得部
3がタイマ等から現在時刻を取得する。そして、ステッ
プS205において、データ保持部4がそれらを1組に
して当該オブジェクト内に保持する。
First, if the operation is a direct operation on the object, the operation acquiring unit 2 acquires the operation (event) in step S203, and the operation executing unit 7 executes the acquired operation. In step S204, the time acquisition unit
3 acquires the current time from a timer or the like. Then, in step S205, the data holding unit 4 holds them as one set in the object.

【0013】具体的には、((create(10,20,30,30),1
996.12.15.14.12.30),(move_start(40,90),1996.1
2.15.14.20.42),(move_end(30,50),1996.12.15.14.
20.48),(resize_start(10,10),1996.12.15.14.21.2
2),(resize_end(50,90),1996.12.15.14.21.27))
といった形のリストが、当該オブジェクトに対応づけら
れて、RAM103に保持される。以下、このリストを
“操作リスト”と呼ぶ。
Specifically, ((create (10,20,30,30), 1
996.12.15.14.12.30), (move_start (40,90), 1996.1
2.15.14.20.42), (move_end (30,50), 1996.12.15.14.
20.48), (resize_start (10,10), 1996.12.15.14.21.2
2), (resize_end (50,90), 1996.12.15.14.21.27))
Is stored in the RAM 103 in association with the object. Hereinafter, this list is referred to as an “operation list”.

【0014】次に、ステップS202において、当該操
作がメニュー操作であると判断された場合について説明
する。メニュー操作が入力された場合、まず、ステップ
S206では、どのメニュー項目が選択されたかを判断
する。ここでは、図3の(1)に示されるように、プル
ダウンメニューが表示され、操作の指示をユーザに促
す。
Next, the case where it is determined in step S202 that the operation is a menu operation will be described. When a menu operation is input, first, in step S206, it is determined which menu item has been selected. Here, as shown in FIG. 3A, a pull-down menu is displayed to prompt the user for an operation instruction.

【0015】ステップS206でUndo以外の機能が
選択されたと判断された場合には、ステップS207に
おいてその機能を実行し、ステップS201に戻る。ま
た、ステップS206ではオブジェクトの選択状態も判
断する。すなわち、オブジェクトが選択されていなけれ
ばUndo機能が使えないことを使用者に知らせるた
め、Undo機能を示すメニュー項目の表示を変える
(表示をしない、或いはグレー表示する等)。そのた
め、オブジェクトが選択されていなければ、メニュー項
目の選択もUndo機能以外しか選択されないことにな
り、ステップS207に進むことになる。
If it is determined in step S206 that a function other than Undo is selected, the function is executed in step S207, and the process returns to step S201. In step S206, the selection state of the object is also determined. That is, in order to inform the user that the Undo function cannot be used unless an object is selected, the display of the menu item indicating the Undo function is changed (not displayed or displayed in gray). Therefore, if no object is selected, the menu item is also selected only for the Undo function, and the process proceeds to step S207.

【0016】さて、ステップS206でプルダウンメニ
ューの中から“時刻指定Undo”が選択された場合に
は、ステップS208に進む。ステップS208では、
時刻指示部5により、図3の(2)に示すような時刻の
入力を行うためのダイアログを表示し、選択されたオブ
ジェクトの状態を戻す時刻をユーザに入力させる。時刻
指示部5は、このダイアログに対して入力された時刻を
取得し、取得した時刻を逆操作取得部6に提供する。逆
操作取得部6は、“時刻付きUndo”メッセージを選
択されているオブジェクトに対して発行するとともに、
メッセージの引数としてダイアログで入力された時刻
(時刻指示部5より提供された時刻)を渡す。“時刻付
きUndo”メッセージを受けたオブジェクトでは、渡
された引数である時刻以降に行われた操作(イベント)
を操作リストから取り出す(ステップS209)。
If "Time designation Undo" is selected from the pull-down menu in step S206, the flow advances to step S208. In step S208,
The time instruction unit 5 displays a dialog for inputting time as shown in (2) of FIG. 3 and prompts the user to input a time to return the state of the selected object. The time instructing unit 5 acquires the time input to the dialog and provides the acquired time to the reverse operation acquiring unit 6. The reverse operation acquisition unit 6 issues a “Undo with time” message to the selected object,
The time input in the dialog (time provided by the time indicating unit 5) is passed as an argument of the message. In the object that receives the “Undo with time” message, the operation (event) performed after the time that is the passed argument
From the operation list (step S209).

【0017】例えば上記の操作リストが保持されてお
り、引数が“1996.12.15.14.20.00”の場合には、((m
ove_start(40,90),1996.12.15.14.20.42),(move_en
d(30,50),1996.12.15.14.20.48),(resize_start(1
0,10),1996.12.15.14.21.22),(resize_end(50,9
0),1996.12.15.14.21.27))が取得される。
For example, when the above operation list is held and the argument is “1996.12.15.14.20.00”, ((m
ove_start (40,90), 1996.12.15.14.20.42), (move_en
d (30,50), 1996.12.15.14.20.48), (resize_start (1
0,10), 1996.12.15.14.21.22), (resize_end (50,9
0), 1996.12.15.14.21.27)) are obtained.

【0018】ステップS210ではステップS209で
得られたリストから、逆操作取得部6が逆操作リストを
生成する。逆操作リストは、操作名と、始めの操作(イ
ベント)からの各操作の開始時間からなる。上記の例の
場合であれば、((resize_start(50,90),0.0.0.0.0.
0),(resize_end(10,10),0.0.0.0.0.5),(move_st
art(30,50),0.0.0.0.0.49),(move_end(40.90),0.
0.0.0.0.55))となる。
In step S210, the reverse operation acquisition section 6 generates a reverse operation list from the list obtained in step S209. The reverse operation list includes an operation name and a start time of each operation from the first operation (event). In the case of the above example, ((resize_start (50,90), 0.0.0.0.0.
0), (resize_end (10,10), 0.0.0.0.0.5), (move_st
art (30,50), 0.0.0.0.0.49), (move_end (40.90), 0.
0.0.0.0.55)).

【0019】ステップS211では、操作実行部7が、
上記のごとき逆操作リストに従ってそれぞれの操作(イ
ベント)を実行する。このとき実行された操作は、それ
が実行された時刻と共に操作リストに追加される。ステ
ップS210が終了した場合には次の入力を待つため、
ステップS201に戻る。
In step S211, the operation execution unit 7
Each operation (event) is executed according to the reverse operation list as described above. The operation performed at this time is added to the operation list together with the time at which the operation was performed. When step S210 ends, the next input is waited for.
It returns to step S201.

【0020】この場合のが面変化は、図3の(3)、
(4)に示されるようになる。すなわち、(3)は、逆
操作リストのうち“resize_start”と“resize_end”が
実行された後の表示画面を示し、(4)は逆操作リスト
のうち“move_start”と“move_end”が実行された後の
表示画面を示している。
In this case, the surface change is represented by (3) in FIG.
As shown in (4). That is, (3) shows the display screen after “resize_start” and “resize_end” of the reverse operation list are executed, and (4) shows “move_start” and “move_end” of the reverse operation list. It shows the display screen after.

【0021】なお、逆操作リスト生成の際に始めの操作
(イベント)からの各操作の開始時間を計算したが、
“*-start”と“*-end”は一対の操作なので、その間
にかかる時間を0とし、次の一対となる操作までの時間
がしきい値以上であれば、ある一定値にすることで、動
作を早くすることも可能である。
Note that, when generating the reverse operation list, the start time of each operation from the first operation (event) was calculated.
Since “* -start” and “* -end” are a pair of operations, the time taken between them is set to 0, and if the time until the next paired operation is greater than or equal to the threshold, it is set to a certain value. It is also possible to speed up the operation.

【0022】また、上記の例では、時刻指示部5におい
て指定された時刻が、“*-start”と“*-end”の一対
の操作の間に存するものではない場合を説明したが、所
望の時刻を入力可能であることから、一対の操作の間の
時刻を指定してしまうことも十分にあり得ることであ
る。指定された時刻が一対の操作の間に存在する場合に
は、その指定時刻の直前の“*-start”を逆操作リスト
に追加するか、指定時刻直後の“*-end”を逆操作リス
トから除去するかのどちらかの処理を行えばよいことは
明らかである。
In the above example, the case where the time specified by the time indicating unit 5 does not exist between the pair of operations of “* -start” and “* -end” has been described. Since the time can be input, it is quite possible that the time between a pair of operations is specified. If the specified time exists between a pair of operations, add “* -start” immediately before the specified time to the reverse operation list, or add “* -end” immediately after the specified time to the reverse operation list. It is clear that either one of the processes of removing from the image may be performed.

【0023】一方、ステップS206で通常のUndo
(オブジェクトを1回操作前の状態に戻す)が選択され
た場合には、オブジェクトに対して“1回Undo”の
メッセージを発行する。“1回Undo”メッセージを
送られたオブジェクトは、ステップS203からステッ
プS205において保持した操作リストから1回分の操
作を取得する(ステップS212)。以降、逆操作リス
トの生成、逆操作リストの実行に関しては上述したとお
りである。
On the other hand, in step S206, the normal Undo
When (return the object to the state before the single operation) is selected, the message "Once Undo" is issued to the object. The object to which the “one time Undo” message is sent acquires one operation from the operation list held in steps S203 to S205 (step S212). Hereinafter, generation of the reverse operation list and execution of the reverse operation list are as described above.

【0024】以上説明したように、本実施形態のUnd
o方式を用いると、オブジェクトを指定時間の状態に戻
すことが可能となる。なお、本実施形態では1つのオブ
ジェクトが選択されている場合について説明したが、複
数のオブジェクトが選択されている場合にも、“1回U
ndo”メッセージ、或いは“時刻指定Undo”メッ
セージをそれぞれのオブジェクトに対して発行すること
で、同様の効果が得られる。
As described above, the Und of the present embodiment
When the o method is used, the object can be returned to the state at the designated time. In the present embodiment, the case where one object is selected has been described. However, even when a plurality of objects are selected, “one time U
By issuing the “ndo” message or the “time designation Undo” message to each object, the same effect can be obtained.

【0025】また、本実施形態においては時刻指定を行
う際、“1996年12月15日14時20分00秒”
という絶対時刻による指定を行ったが、“10分前”と
いう現在時刻からの相対時間による時刻指定でも同様の
効果が得られる。また、本実施形態においては、逆操作
リストに操作イベント発生までの時間情報を付加し、こ
れに従って操作イベントを発生しオブジェクトの内部状
態と共に表示も変更したが、時間情報を省略し、操作イ
ベントにより変化するオブジェクトの状態を内部的に変
化させ、当該リスト上の最後の操作を実行した後に表示
を更新することにより、全体の処理速度を向上させるこ
とも可能である。
In the present embodiment, when the time is designated, "15:20:00 on December 15, 1996"
However, the same effect can be obtained by specifying the time “10 minutes ago” by the relative time from the current time. Further, in the present embodiment, the time information up to the occurrence of the operation event is added to the reverse operation list, and the operation event is generated in accordance with the information, and the display is changed together with the internal state of the object. It is also possible to improve the overall processing speed by internally changing the changing state of the object and updating the display after executing the last operation on the list.

【0026】(第2実施形態)第1実施形態において
は、選択されたオブジェクトがあった場合、選択された
オブジェクト(或いは複数のオブジェクト群)を指定時
間の状態に戻すことが可能となることを示した。本第2
実施形態では、削除操作により表示されていないために
選択状態にできないオブジェクトがある場合について説
明する。
(Second Embodiment) In the first embodiment, when there is a selected object, it is possible to return the selected object (or a plurality of object groups) to the state at the designated time. Indicated. Book second
In the embodiment, a case will be described in which there is an object that cannot be selected because it is not displayed by a delete operation.

【0027】第1実施形態においては、オブジェクトに
対して行われた操作は、すべてオブジェクト自身が内部
で操作リストとして管理することで、目的の効果が得ら
れた。本第2実施形態では、オブジェクトに対して行わ
れた操作はオブジェクト自身が内部で操作リストとして
保持し、更に、オブジェクトに対して“削除”操作が行
われた際には、オブジェクトの表示だけを消し、削除さ
れたオブジェクト自体の情報はそのまま残し(即ち、そ
のオブジェクトに対する操作リストはそのまま保持され
る)、アプリケーション或いはデスクトップ(=オブジ
ェクトが操作されている環境)側で削除された時間を付
加情報として有するオブジェクトへのポインタ・リスト
を保持することで、上記目的の効果が得られることを図
4を基に説明する。
In the first embodiment, all the operations performed on the object are managed internally by the object itself as an operation list, so that the desired effect is obtained. In the second embodiment, an operation performed on an object is internally held as an operation list by itself, and when an “delete” operation is performed on the object, only the display of the object is performed. The information of the deleted and deleted object itself is left as it is (that is, the operation list for the object is kept as it is), and the time when the application or the desktop (= the environment in which the object is operated) is deleted as additional information. The fact that the above-described object effect can be obtained by holding the pointer list to the object having the object will be described with reference to FIG.

【0028】なお、第2実施形態の装置構成や機能構成
は第1実施形態(図1、図5)と同様であり、ここでは
説明を省略する。
The device configuration and the functional configuration of the second embodiment are the same as those of the first embodiment (FIGS. 1 and 5), and a description thereof will be omitted.

【0029】図4は第2実施形態によるUndo処理の
手順を説明するフローチャートである。図4において、
ステップS401では入力を待つ。ステップS402で
は入力がオブジェクトに対する直接操作か、メニュー選
択なのかを判断する。オブジェクトに対する入力である
場合には、ステップS403へ、メニュー操作の場合に
は、ステップS410へ進む。
FIG. 4 is a flowchart for explaining the procedure of the Undo process according to the second embodiment. In FIG.
In step S401, input is waited. In step S402, it is determined whether the input is a direct operation on an object or a menu selection. If the input is for an object, the process proceeds to step S403.

【0030】ステップS403ではオブジェクトに対す
る直接操作が、ポップアップ・メニューによる削除操作
かどうかを判断する。削除操作でない場合には、ステッ
プS404で操作(イベント)を取得し、ステップS4
05でタイマ等から現在の時刻を取得し、ステップS4
06では操作(イベント)と操作時刻を対にして操作リ
ストへ追加する(操作リストは第1実施形態で説明した
ものとおなじものである)。
In step S403, it is determined whether the direct operation on the object is a delete operation using a pop-up menu. If it is not a delete operation, an operation (event) is acquired in step S404, and step S4
In step 05, the current time is obtained from a timer or the like, and
At 06, the operation (event) and the operation time are paired and added to the operation list (the operation list is the same as that described in the first embodiment).

【0031】一方、削除操作であった場合には、ステッ
プS407で削除操作された時刻を取得し、ステップS
408で削除操作されたオブジェクトへのポインタとス
テップS407で得られた時刻とを一組にしたものを、
削除オブジェクトリスト(以下では削除リストと呼ぶ)
に追加する。ステップS409では削除操作されたオブ
ジェクトの表示のみを消し、オブジェクト自体の消去は
行わない。即ち削除操作は操作リストには追加されな
い。
On the other hand, if it is a delete operation, the time at which the delete operation was performed is obtained in step S407, and the process proceeds to step S407.
A pair of the pointer to the object deleted in 408 and the time obtained in step S407 is
Deleted object list (hereinafter referred to as deleted list)
Add to In step S409, only the display of the deleted object is erased, and the object itself is not erased. That is, the delete operation is not added to the operation list.

【0032】一方、ステップS402において、当該操
作がメニュー操作であった場合、ステップS410にお
いて、どのメニュー項目が選択されたかを判断する。選
択されているオブジェクト(或いはオブジェクト群)が
あり、かつメニューから“削除”が選択された場合に
は、ステップS407に進み選択されているオブジェク
トを削除リストへ追加する。
On the other hand, if the operation is a menu operation in step S402, it is determined in step S410 which menu item has been selected. If there is a selected object (or an object group) and “delete” is selected from the menu, the process proceeds to step S407, and the selected object is added to the delete list.

【0033】また、ステップS410で“Undo”或
いは“削除”以外の項目が選択された場合には、選択さ
れた機能を実行して(ステップS411)、次の入力を
得るためステップS401に戻る。
If an item other than "Undo" or "Delete" is selected in step S410, the selected function is executed (step S411), and the process returns to step S401 to obtain the next input.

【0034】ステップS410で“Undo”が選択さ
れた場合には、まずステップS412で時刻の入力を行
うためのダイアログを表示し、操作している環境の状態
を戻す時刻を取得する。ステップS413では、ステッ
プS412で指示された時刻以降に削除操作されたオブ
ジェクトがあるかどうかを、上述の削除リストを基に判
断する。削除されたオブジェクトがない場合には、ステ
ップS416に進む。一方、削除操作されたオブジェク
トがある場合には、ステップS414においてそれら削
除オブジェクトの情報を取り出し、ステップS415で
そのオブジェクトの表示を削除する直前の状態に戻し、
以降ステップS416からステップS418を実行す
る。
If "Undo" is selected in step S410, a dialog for inputting time is displayed in step S412, and a time for returning the state of the operating environment is acquired. In step S413, it is determined based on the above-described deletion list whether or not there is an object that has been deleted after the time designated in step S412. If there is no deleted object, the process proceeds to step S416. On the other hand, if there are objects that have been deleted, the information of the deleted objects is extracted in step S414, and the display of the objects is returned to the state immediately before deletion in step S415.
Thereafter, steps S416 to S418 are executed.

【0035】ステップS416では、“時刻付きund
o”メッセージを、表示されているすべてのオブジェク
トに対して発行する。この時、メッセージの引数として
ダイアログで入力された時刻を渡す。“時刻付きUnd
o”メッセージを受けたオブジェクトでは、渡された引
数である時刻以降に行われた操作(イベント)があれば
ステップS416でそれらを操作リストから取り出し、
ステップS417で逆操作リストを生成し、ステップS
418では逆操作リストに従ってそれぞれの操作(イベ
ント)を実行する。なお、逆操作リストの実行に関して
は、第1実施形態でも説明したように、1つのイベント
を実行するたびに表示を変化させてもよいし、1つ1つ
の操作イベント実行による変化は表示せず内部状悪だけ
変化させ、すべての操作終了後に1度だけ変化させて
も、結果として同様の勅果が得られる。
In step S 416, “Und with time”
o "message is issued to all displayed objects. At this time, the time entered in the dialog is passed as an argument of the message.
In the object receiving the “o” message, if there are operations (events) performed after the time that is the passed argument, those objects are extracted from the operation list in step S416,
In step S417, a reverse operation list is generated, and step S417 is performed.
At 418, each operation (event) is executed according to the reverse operation list. Regarding the execution of the reverse operation list, as described in the first embodiment, the display may be changed each time one event is executed, or the change due to execution of each operation event is not displayed. Even if the internal condition is changed only once and the operation is changed only once after all the operations are completed, the same result is obtained.

【0036】以上野要に、第2実施形態のUndo方式
を用いると、削除操作により表示されていないため選択
状態にできないオブジェクトがある場合でも、指定した
時刻の状態に、アプリケーシヨン或いはデスクトップ
(=オブジェクトが操作されている環境)を戻すことが
できる。
As described above, when the Undo method of the second embodiment is used, even if there is an object that cannot be selected because it is not displayed by the delete operation, the application or desktop (= Environment in which the object is being manipulated).

【0037】以上のように、上記各実施形態によれば、
時刻指示部5により指示された時刻以降に行われた操作
の逆操作を選択されたオブジェクトに対し行うので、オ
ブジェクトを簡易な操作で指示された時刻の状態に戻す
ことができ、メニュー選択操作を減らすことができる。
As described above, according to the above embodiments,
Since the reverse operation of the operation performed after the time instructed by the time instructing unit 5 is performed on the selected object, the object can be returned to the state at the time instructed by a simple operation, and the menu selection operation can be performed. Can be reduced.

【0038】なお、本発明は、複数の機器(例えばホス
トコンピュータ、インタフェイス機器、リーダ、プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機、ファクシミリ装置
など)に適用してもよい。
The present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but can be applied to a single device (for example, a copier, a facsimile). Device).

【0039】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納されたプログ
ラムコードを読み出し実行することによっても、達成さ
れることは言うまでもない。この場合、記憶媒体から読
み出されたプログラムコード自体が前述した実施形態の
機能を実現することになり、そのプログラムコードを記
憶した記憶媒体は本発明を構成することになる。また、
コンピュータが読み出したプログラムコードを実行する
ことにより、前述した実施形態の機能が実現されるだけ
でなく、そのプログラムコードの指示に基づき、コンピ
ュータ上で稼働しているオペレーティングシステム(OS)
などが実際の処理の一部または全部を行い、その処理に
よって前述した実施形態の機能が実現される場合も含ま
れることは言うまでもない。
Further, an object of the present invention is to supply a storage medium (or a recording medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and to provide a computer (a computer) of the system or the apparatus. It is needless to say that the present invention can also be achieved by a CPU or an MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. Also,
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also the operating system (OS) running on the computer based on the instructions of the program code.
It goes without saying that a case where the functions of the above-described embodiments are implemented by performing some or all of the actual processing, and the processing performs the functions of the above-described embodiments.

【0040】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the program code is read based on the instruction of the program code. Needless to say, the CPU included in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0041】[0041]

【発明の効果】以上説明したように、本発明によれば、
Undoによって所望の時点の状態まで復元するにあた
り、その時点を示す時刻でもって指示を与えることが可
能となり、Undo機能の操作性が向上する。
As described above, according to the present invention,
In restoring to a state at a desired time by Undo, it is possible to give an instruction at a time indicating the time, and the operability of the Undo function is improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本実施形態による編集処理及びUndo処理の
機能構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a functional configuration of an editing process and an Undo process according to an embodiment.

【図2】第1の実施形態によるUndo処理の手順を説
明するフローチャートである。
FIG. 2 is a flowchart illustrating a procedure of an Undo process according to the first embodiment.

【図3】第1の実施形態における画面操作例を示す図で
ある。
FIG. 3 is a diagram illustrating a screen operation example according to the first embodiment.

【図4】第2実施形態によるUndo処理の手順を説明
するフローチャートである。
FIG. 4 is a flowchart illustrating a procedure of an Undo process according to a second embodiment.

【図5】本実施形態によるUndo機能が実行される情
報処理装置の概略構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a schematic configuration of an information processing apparatus that executes an Undo function according to the embodiment;

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 オブジェクトに対して行われた編集操作
について、その編集内容と編集時刻を取得する取得手段
と、 前記取得手段によって取得された編集内容と編集時刻を
対応づけてメモリに保持する保持手段と、 アンドゥ処理とともに時刻を指示する指示手段と、 前記メモリに保持されている編集時刻に基づいて前記指
示手段により指示された時刻以降に行われた編集操作を
抽出する抽出手段と、 前記抽出手段によって抽出された編集操作に従って逆操
作を実行することによりアンドゥを行う実行手段とを備
えることを特徴とする情報処理装置。
1. An acquiring unit for acquiring an editing content and an editing time of an editing operation performed on an object, and holding the editing content and the editing time acquired by the acquiring unit in a memory in association with each other. Means for instructing a time together with an undo process; extracting means for extracting an editing operation performed after the time instructed by the instructing means on the basis of an editing time held in the memory; An execution unit for performing an undo by executing a reverse operation in accordance with the editing operation extracted by the unit.
【請求項2】 前記指示手段は、前記時刻を絶対的な時
刻でもって指示することを特徴とする請求項1に記載の
情報処理装置。
2. The information processing apparatus according to claim 1, wherein said instruction means instructs the time with an absolute time.
【請求項3】 前記指示手段は、前記時刻を現在時刻か
らの相対的な時刻でもって指示することを特徴とする請
求項1に記載の情報処理装置。
3. The information processing apparatus according to claim 1, wherein the instructing unit instructs the time by a relative time from a current time.
【請求項4】 前記保持手段は、オブジェクトに対して
削除操作が発生した場合は、削除されたオブジェクトと
編集時刻を対応づけてメモリに保持し、 前記実行手段は、前記指示手段で指示された時刻以降に
削除操作が存在する場合は、削除されたオブジェクトの
表示を復帰し、当該オブジェクトに対して前記抽出手段
によって抽出された編集操作に従って逆操作を実行する
ことを特徴とする請求項1に記載の情報処理装置。
4. When a deletion operation is performed on an object, the holding unit stores the deleted object and an editing time in a memory in association with each other, and the execution unit is instructed by the instruction unit. The method according to claim 1, wherein when a delete operation is performed after the time, the display of the deleted object is restored, and a reverse operation is performed on the object in accordance with the edit operation extracted by the extracting unit. An information processing apparatus according to claim 1.
【請求項5】 前記保持手段において、オブジェクトに
対して行われた編集操作に係る前記編集内容と前記編集
時刻は当該オブジェクト自身によって保持されることを
特徴とする請求項1に記載の情報処理装置。
5. The information processing apparatus according to claim 1, wherein in the holding unit, the editing content and the editing time relating to an editing operation performed on the object are held by the object itself. .
【請求項6】 前記保持手段は、オブジェクトに対して
削除操作が行われた際の削除操作とその時刻については
当該オブジェクトの操作環境側で保持することを特徴と
する請求項5に記載の情報処理装置。
6. The information according to claim 5, wherein the holding unit holds the deletion operation and the time when the deletion operation is performed on the object on the operation environment side of the object. Processing equipment.
【請求項7】 オブジェクトに対して行われた編集操作
について、その編集内容と編集時刻を取得する取得工程
と、 前記取得工程によって取得された編集内容と編集時刻を
対応づけてメモリに保持する保持工程と、 アンドゥ処理とともに時刻を指示する指示工程と、 前記メモリに保持されている編集時刻に基づいて前記指
示工程により指示された時刻以降に行われた編集操作を
抽出する抽出工程と、 前記抽出工程によって抽出された編集操作に従って逆操
作を実行することによりアンドゥを行う実行工程とを備
えることを特徴とする情報処理方法。
7. An acquisition step of acquiring an edit content and an edit time of an edit operation performed on an object, and holding the edit content and the edit time acquired in the acquisition step in a memory in association with each other. An instructing step of instructing a time together with an undo process; an extracting step of extracting an editing operation performed after the time instructed by the instructing step based on an editing time held in the memory; Performing an undo by performing a reverse operation in accordance with the editing operation extracted in the step.
【請求項8】 前記指示工程は、前記時刻を絶対的な時
刻でもって指示することを特徴とする請求項7に記載の
情報処理方法。
8. The information processing method according to claim 7, wherein in the instruction step, the time is indicated by an absolute time.
【請求項9】 前記指示工程は、前記時刻を現在時刻か
らの相対的な時刻でもって指示することを特徴とする請
求項7に記載の情報処理方法。
9. The information processing method according to claim 7, wherein in the instruction step, the time is indicated by a relative time from a current time.
【請求項10】 前記保持工程は、オブジェクトに対し
て削除操作が発生した場合は、削除されたオブジェクト
と編集時刻を対応づけてメモリに保持し、 前記実行工程は、前記指示工程で指示された時刻以降に
削除操作が存在する場合は、削除されたオブジェクトの
表示を復帰し、当該オブジェクトに対して前記抽出工程
によって抽出された編集操作に従って逆操作を実行する
ことを特徴とする請求項7に記載の情報処理方法。
10. The holding step, when a deletion operation is performed on an object, holding the deleted object and an editing time in a memory in association with each other, and the execution step is instructed by the instruction step. 8. The method according to claim 7, wherein when a delete operation exists after the time, the display of the deleted object is restored, and the reverse operation is performed on the object according to the edit operation extracted in the extraction step. The information processing method described.
【請求項11】 前記保持工程において、オブジェクト
に対して行われた編集操作に係る前記編集内容と前記編
集時刻は当該オブジェクト自身によって保持されること
を特徴とする請求項7に記載の情報処理方法。
11. The information processing method according to claim 7, wherein, in the holding step, the editing content and the editing time relating to an editing operation performed on the object are held by the object itself. .
【請求項12】 前記保持工程は、オブジェクトに対し
て削除操作が行われた際の削除操作とその時刻について
は当該オブジェクトの操作環境側で保持することを特徴
とする請求項11に記載の情報処理方法。
12. The information according to claim 11, wherein in the holding step, the deletion operation and the time when the deletion operation is performed on the object are stored on the operation environment side of the object. Processing method.
【請求項13】 コンピュータに編集操作のアンドゥ処
理を実行させるための制御プログラムを格納する記憶媒
体であって、該制御プログラムが、 オブジェクトに対して行われた編集操作について、その
編集内容と編集時刻を取得する取得工程のコードと、 前記取得工程によって取得された編集内容と編集時刻を
対応づけてメモリに保持する保持工程のコードと、 アンドゥ処理とともに時刻を指示する指示工程のコード
と、 前記メモリに保持されている編集時刻に基づいて前記指
示工程により指示された時刻以降に行われた編集操作を
抽出する抽出工程のコードと、 前記抽出工程によって抽出された編集操作に従って逆操
作を実行することによりアンドゥを行う実行工程のコー
ドとを備えることを特徴とする記憶媒体。
13. A storage medium for storing a control program for causing a computer to execute an undo process of an editing operation, the control program comprising, for an editing operation performed on an object, an editing content and an editing time. A code of an acquisition step of associating the edited contents acquired by the acquisition step with the edited time in a memory, a code of an instruction step of instructing a time together with an undo process, and the memory A code of an extraction step for extracting an editing operation performed after the time instructed by the instruction step based on the editing time held in the extracting step, and performing an inverse operation according to the editing operation extracted in the extraction step And a code for an execution step of performing an undo by using the storage medium.
JP29155999A 1999-10-13 1999-10-13 Method and device for information processing Withdrawn JP2001109550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29155999A JP2001109550A (en) 1999-10-13 1999-10-13 Method and device for information processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29155999A JP2001109550A (en) 1999-10-13 1999-10-13 Method and device for information processing

Publications (1)

Publication Number Publication Date
JP2001109550A true JP2001109550A (en) 2001-04-20

Family

ID=17770497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29155999A Withdrawn JP2001109550A (en) 1999-10-13 1999-10-13 Method and device for information processing

Country Status (1)

Country Link
JP (1) JP2001109550A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276299B (en) * 2007-03-30 2012-07-25 富士施乐株式会社 Information processing system and information processing method
CN104714930A (en) * 2013-12-12 2015-06-17 鸿合科技有限公司 Immediate processing method and device for document

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276299B (en) * 2007-03-30 2012-07-25 富士施乐株式会社 Information processing system and information processing method
CN104714930A (en) * 2013-12-12 2015-06-17 鸿合科技有限公司 Immediate processing method and device for document
CN104714930B (en) * 2013-12-12 2018-10-02 鸿合科技股份有限公司 A kind of document immediate processing method and device

Similar Documents

Publication Publication Date Title
JP2000348058A (en) Device and method for image management and computer- readable storage medium
US6567825B2 (en) System and method for processing a working file
JP4922769B2 (en) Information processing apparatus, information processing method, and information processing program
JP3227066B2 (en) Program generation method using program parts
JP4197095B2 (en) GUI program creation support apparatus, creation support method, and computer-readable recording medium recording the creation support program
JP2001109550A (en) Method and device for information processing
JP2000082127A (en) Picture data output device and method therefor
JP2000227914A (en) Document edition device
JP2004272409A (en) Temporary object storing device, method, and program
JP2619487B2 (en) File operation method
JP4261649B2 (en) Image processing apparatus, method, and recording medium
JP3160926B2 (en) Document creation device
US20020065838A1 (en) Information processing apparatus and method, and computer readable memory
JPH0954688A (en) Gui design supporting method
JP2001101327A (en) Information processing method, information processor and printing system
JP4452867B2 (en) Form creation method and apparatus, and recording medium
JP3056128B2 (en) Work area securing method
JP2002149298A (en) Information processing apparatus
JPH08263333A (en) Programming support device and method
JPH086962A (en) Data retrieving device and displaying method for retrieved data
JP3557439B2 (en) Computer operation data search method and apparatus therefor
JP3433475B2 (en) Figure creation device
JP2001005806A (en) Character input device and input control method
JPH10187849A (en) Data string processor
JP3686780B2 (en) Power connection instruction system and power connection instruction method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070109