JPH04284534A - Programming device - Google Patents
Programming deviceInfo
- Publication number
- JPH04284534A JPH04284534A JP4986491A JP4986491A JPH04284534A JP H04284534 A JPH04284534 A JP H04284534A JP 4986491 A JP4986491 A JP 4986491A JP 4986491 A JP4986491 A JP 4986491A JP H04284534 A JPH04284534 A JP H04284534A
- Authority
- JP
- Japan
- Prior art keywords
- user interface
- operation object
- data
- source code
- window
- 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
【産業上の利用分野】本発明は、表示画面上にユーザイ
ンタフェースを表示するプログラミング装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programming device that displays a user interface on a display screen.
【0002】0002
【従来の技術】近年において、各種業務を対話形式で遂
行する対話形計算機システムが広く使用されている。こ
の対話形計算機システムは、パーソナルコンピュータ、
ワークステーション等を利用して構成され、データを記
憶するとともに必要な処理を行う中央処理装置、処理結
果を表示画面に表示する表示装置、データ処理に必要な
データや命令等を入力するキーボード及びマウス(ポイ
ンティングデバイス)、必要に応じてデータのハードコ
ピーを出力する印字装置、データを保存する外部記憶装
置等を具える。2. Description of the Related Art In recent years, interactive computer systems have been widely used to perform various tasks in an interactive manner. This interactive computer system consists of a personal computer,
A central processing unit that stores data and performs necessary processing, a display device that displays processing results on a display screen, and a keyboard and mouse that input data and instructions necessary for data processing. (pointing device), a printing device that outputs a hard copy of data as needed, an external storage device that stores data, etc.
【0003】このような対話形計算機システムにおいて
は、キーボードあるいはマウスによって必要な指示を行
うと、この指示に対する応答が表示装置の表示画面の表
示に直ちに反映され、この応答に対して新たな指示を次
々に繰り返して行うことにより、利用者が求めようとし
ている処理結果が得られる。In such an interactive computer system, when a necessary instruction is given using the keyboard or mouse, the response to this instruction is immediately reflected on the display screen of the display device, and a new instruction is issued in response to this response. By repeating the process one after another, the user can obtain the processing result that he or she is seeking.
【0004】このような対話形計算機システムではユー
ザとの対話性、操作性および意思の伝達の迅速制、正確
性を確保するために、所望の入出力機構を備えたユーザ
インタフェースを形成することができる。[0004] In such an interactive computer system, it is necessary to form a user interface equipped with a desired input/output mechanism in order to ensure interactivity, operability, and speedy and accurate communication of intentions with the user. can.
【0005】このユーザインタフェースを形成するに際
し、例えば、XlibProgramming Man
ual Voiume1(O’Reilly&Asso
ciates、Inc)の12A Complete
Applicationに記載されている、電卓プログ
ラムのように、コンピュータ画面上に電卓のようななユ
ーザインタフェースを作成する場合は、その機能、表示
形態、大きさ、座標位置などをプログラムとして記述し
ている。すなわち、ユーザインタフェースに関するプロ
グラムソースコードをコーディングしていた。[0005] When forming this user interface, for example, XlibProgramming Man
ual Voiume1 (O'Reilly & Asso
12A Complete
When creating a calculator-like user interface on a computer screen, such as the calculator program described in ``Applications'', its functions, display form, size, coordinate position, etc. are described as a program. In other words, the program source code related to the user interface was coded.
【0006】例えば、足し算をするためのボタン“+”
を作成する場合、そのボタンの画面上の表示を“+”と
し、画面上での座標位置を他のボタンとの相対位置で例
えばX=5、Y=3と設定して記述している。またベー
スとなるウィンドウのマウスに対する処理や、ボタンの
マウスに対する機能などを、プログラムコードで記述し
ている。For example, the button “+” for addition
When creating a button, the button is displayed as "+" on the screen, and the coordinate position on the screen is set relative to other buttons, for example, X=5, Y=3. In addition, the processing for the mouse of the base window and the functions of the buttons for the mouse are written in program code.
【0007】このようにして作成されたユーザインタフ
ェースを画面上に表示して、マウス等で指示することに
より、当該ユーザインタフェースに対して設定されてい
る機能を実行可能とすることができる。[0007] By displaying the user interface created in this way on the screen and instructing it with a mouse or the like, it is possible to execute the functions set for the user interface.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、上記従
来の対話形計算機システムにおいては、上述したように
記述されたユーザインタフェースを変更する場合、その
機能、表示形態、大きさおよび座標位置などの変更した
い部分に関するプログラムコードを直接変更しなければ
ならず、編集作業が煩雑となり作業効率が極めて悪いと
ともに、プログラムコードの変更ミスによるエラーの原
因になる虞が極めて高かった。またプロトタイプのユー
ザインタフェースを作成する場合、変更作業が多くなる
が、この場合も上述したようにプログラムコードを直接
変更する作業を繰り返さなければならなかった。[Problem to be Solved by the Invention] However, in the conventional interactive computer system described above, when changing the user interface described above, it is necessary to change its function, display form, size, coordinate position, etc. It is necessary to directly change the program code related to the part, which makes the editing work complicated and extremely inefficient, and there is an extremely high possibility that an error may occur due to a mistake in changing the program code. Further, when creating a prototype user interface, there is a lot of modification work, and in this case as well, the work of directly modifying the program code as described above had to be repeated.
【0009】この発明は上記実情に鑑みてなされたもの
であり、対話的に、ユーザインタフェースを再生するプ
ログラムソースコードを作成することのできるプログラ
ミング装置を提供することを目的とする。The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a programming device that can interactively create a program source code for reproducing a user interface.
【0010】0010
【課題を解決するための手段】上記目的を達成するため
、この発明は、表示画面上にユーザインタフェースを表
示するプログラミング装置において、対話形式で入力さ
れたユーザインタフェースのレイアウトに関する情報に
基づいて、特定のユーザインタフェースをレイアウトす
るレイアウト手段と、このレイアウト手段によってレイ
アウトされた前記特定のユーザインタフェースに関する
情報から、当該特定のユーザインタフェースを再生する
際に必要となるデータを抽出するデータ抽出手段と、こ
のデータ抽出手段によって抽出されたデータと、所定の
ユーザインタフェースを再生するためのプログラムとを
合成して、前記特定のユーザインタフェースを再生する
プログラムソースコードを生成するプログラムソースコ
ード生成手段とを具えている。[Means for Solving the Problems] In order to achieve the above object, the present invention provides a programming device that displays a user interface on a display screen. a layout means for laying out a user interface; a data extraction means for extracting data necessary for reproducing the particular user interface from information regarding the particular user interface laid out by the layout means; The apparatus further includes program source code generating means for synthesizing the data extracted by the extracting means and a program for reproducing a predetermined user interface to generate a program source code for reproducing the specific user interface.
【0011】[0011]
【作用】この発明に係るプログラミング装置よれば、対
話形式で入力されたユーザインタフェースのレイアウト
に関する情報に基づいて、特定のユーザインタフェース
がレイアウトされると、そのレイアウトされた特定のユ
ーザインタフェースに関する情報から、該特定のユーザ
インタフェースを再生する際に必要となるデータ(例え
ば、機能、表示形態、大きさ、座標位置など)が抽出さ
れ、また該抽出されたデータと、所定のユーザインタフ
ェースを再生するためのプログラムとが合成されて、当
該特定のユーザインタフェースを再生するプログラムソ
ースコードが生成される。[Operation] According to the programming device according to the present invention, when a specific user interface is laid out based on the information regarding the layout of the user interface inputted in an interactive manner, from the information regarding the laid out specific user interface, Data necessary for reproducing the specific user interface (for example, functions, display format, size, coordinate position, etc.) is extracted, and the extracted data and the data required for reproducing the predetermined user interface are extracted. The programs are synthesized to generate a program source code for reproducing the particular user interface.
【0012】従って、対話的及び視覚的にユーザインタ
フェースをレイアウトするだけで、当該ユーザインタフ
ェースを再生するプログラムソースコードを、自動的に
生成することができる。[0012] Therefore, by simply laying out a user interface interactively and visually, a program source code for reproducing the user interface can be automatically generated.
【0013】[0013]
【実施例】以下、本発明の実施例を添付図面を参照して
説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
【0014】図1は、本発明に係るプログラミング装置
の一実施例を示す機能ブロック図である。FIG. 1 is a functional block diagram showing an embodiment of a programming device according to the present invention.
【0015】入力部11は、ユーザインタフェースを構
成する部品(以下、操作オブジェクトという)に係るレ
イアウト情報、例えば、操作オブジェクトのウィンドウ
の位置や大きさ、機能、表示形態などの情報を入力する
ものである。これらの情報はユーザインタフェース生成
処理部12に与えられる。[0015] The input unit 11 is for inputting layout information regarding parts constituting the user interface (hereinafter referred to as operation objects), such as information such as the position, size, function, and display form of the window of the operation object. be. This information is given to the user interface generation processing section 12.
【0016】ユーザインタフェース生成処理部12では
、入力された情報に基づく操作オブジェクトを生成して
、表示部13に与えるとともに、完成された操作オブジ
ェクト群からなるユーザインタフェースから、当該ユー
ザインタフェースを再生するプログラムソースコードを
生成する。The user interface generation processing section 12 generates an operation object based on the input information and provides it to the display section 13, and also runs a program for reproducing the user interface from the user interface made up of the completed operation object group. Generate source code.
【0017】ユーザインタフェース生成処理部12にお
いて、レイアウト手段121は、入力されたウィンドウ
を作成するための位置、大きさのデータに基づいて、操
作オブジェクトを表示するためのウィンドウを生成する
とともに、入力された操作オブジェクトに係るレイアウ
ト情報に基づいて、操作オブジェクトを生成する。この
生成された操作オブジェクトには内部データとして、レ
イアウト時に設定された、当該操作オブジェクトのウィ
ンドウの位置や大きさ、機能、表示形態などの情報が保
持される。In the user interface generation processing section 12, the layout means 121 generates a window for displaying the operation object based on the input position and size data for creating the window, and also generates a window for displaying the input object. An operation object is generated based on layout information related to the operation object. This generated operation object holds information such as the position, size, function, display form, etc. of the window of the operation object, which was set at the time of layout, as internal data.
【0018】レイアウト手段121は、操作オブジェク
トのレイアウトが完成すると、その旨をプログラムソー
スコード生成部122に通知する。When the layout of the operation object is completed, the layout means 121 notifies the program source code generation section 122 of this fact.
【0019】プログラムソースコード生成部122にお
いて、データ抽出手段122Aは、レイアウト手段12
1によってレイアウトされ完成された操作オブジェクト
に関する情報から、当該操作オブジェクトを再生するた
めに必要となるデータを抽出し、その抽出されたデータ
を、プログラムソースコード生成手段122Bに与える
。In the program source code generation section 122, the data extraction means 122A includes the layout means 12
Data necessary for reproducing the operation object is extracted from information regarding the operation object laid out and completed in step 1, and the extracted data is provided to the program source code generation means 122B.
【0020】なお、操作オブジェクトを再生するために
必要となるデータとしては、操作オブジェクトを表示す
るためのウィンドウの位置や大きさ、及び、操作オブジ
ェクトのウィンドウの位置や大きさ、機能、表示形態な
どの情報がある。[0020] The data required to reproduce the operation object includes the position and size of the window for displaying the operation object, the position and size of the operation object window, the function, the display form, etc. There is information on.
【0021】一方、プログラムソースコード生成手段1
22Bは、データ抽出手段122Aによって抽出された
データと、所定の操作オブジェクトを再生する処理(デ
ータを展開する処理)とを合成して、プログラムソース
コードを生成する。On the other hand, program source code generation means 1
22B generates a program source code by synthesizing the data extracted by the data extraction means 122A and processing for reproducing a predetermined operation object (processing for developing data).
【0022】そのデータを展開する処理は、操作オブジ
ェクトを表示するためのウィンドウを作る処理と、操作
オブジェクトを作る処理から構成されており、ウィンド
ウを作る処理に、データ抽出手段122Aによって抽出
されたウィンドウに係るデータを渡し、一方、操作オブ
ジェクトを作る処理に、データ抽出手段122Aによっ
て抽出された操作オブジェクトに係るデータを渡すこと
によって、ユーザインタフェースを再現するようにして
いる。The process of developing the data consists of a process of creating a window for displaying the operation object and a process of creating the operation object. The user interface is reproduced by passing the data related to the operation object extracted by the data extracting means 122A to the processing for creating the operation object.
【0023】なお、この実施例では、ユーザインタフェ
ース生成処理部12は、マルチウィンドウ機能を実現す
るマルチウィンドウ・システム14をベースにして、操
作オブジェクトのレイアウト処理、及びプログラムソー
スコード生成処理を実行するようにしている。In this embodiment, the user interface generation processing unit 12 is configured to execute layout processing of operation objects and program source code generation processing based on a multi-window system 14 that realizes a multi-window function. I have to.
【0024】図2は、図1に示した実施例を実現したワ
ークステーションのハードウェア構成を示している。FIG. 2 shows the hardware configuration of a workstation that implements the embodiment shown in FIG.
【0025】図2において、図1における入力部11に
対応する、マウス21及びマウス21が接続されたキー
ボード22と、図1における表示部13に対応するビッ
トマップディスプレイ装置23と、各種プログラムやデ
ータを保存するハードディスク装置24と、入力された
各種のデータや命令、ハードディスク装置24からロー
ドされたプログラムやデータを記憶する実メモリ25と
、所定の処理を実行する中央処理装置(以下、CPUと
いう)26とが共通バス27に接続されている。CPU
26は、共通バス27に接続された各部をそのバスを介
して制御する。In FIG. 2, a mouse 21 and a keyboard 22 to which the mouse 21 is connected correspond to the input section 11 in FIG. 1, a bitmap display device 23 corresponding to the display section 13 in FIG. 1, and various programs and data. a hard disk device 24 for storing various input data and instructions, a real memory 25 for storing programs and data loaded from the hard disk device 24, and a central processing unit (hereinafter referred to as CPU) that executes predetermined processing. 26 are connected to a common bus 27. CPU
26 controls each section connected to the common bus 27 via that bus.
【0026】なお、この実施例では、図1におけるユー
ザインタフェース生成処理部12及びマルチウインドウ
システム14は、CPU26が、それぞれの機能を遂行
させるためのソフトウェア(プログラム)をハードディ
スク装置24から実メモリ25にロードして実行するこ
とにより実現されている。In this embodiment, the user interface generation processing unit 12 and multi-window system 14 in FIG. This is achieved by loading and running.
【0027】さらに、ユーザが所望の操作オブジェクト
を作成するに際し、操作オブジェクトのウィンドウの位
置や大きさ、機能、表示形態の設定は、基本的にはマウ
ス21を操作して行うようにしている。勿論、キーボー
ド22を操作して設定するようにしても良い。Furthermore, when the user creates a desired operation object, the position, size, function, and display form of the window of the operation object are basically set by operating the mouse 21. Of course, the settings may be made by operating the keyboard 22.
【0028】この実施例においては、マウス21による
操作オブジェクトの作成を容易にするために各種のパッ
ドが用意されている。次に代表的なパッド及びその機能
について説明する。In this embodiment, various pads are provided to facilitate the creation of operation objects using the mouse 21. Next, typical pads and their functions will be explained.
【0029】図3は他のパッドを呼び出すためのパッド
(以下、ロゴパッドという)31を示しており、ロゴパ
ッド31内のメニュー32の所望する項目を選択するこ
とにより、該当するパッドが画面上に表示される。FIG. 3 shows a pad (hereinafter referred to as a logo pad) 31 for calling up other pads. By selecting a desired item on a menu 32 within the logo pad 31, the corresponding pad is displayed on the screen. be done.
【0030】ここで、マウス21を操作してメニュー3
2の中から「BVD」を選択すると、表示画面上に、図
4で示される、操作オブジェクトのレイアウトに関する
パッド(以下、BVDパッドという)41が表示される
。[0030] Now, operate the mouse 21 to select menu 3.
When "BVD" is selected from 2, a pad (hereinafter referred to as BVD pad) 41 related to the layout of operation objects, shown in FIG. 4, is displayed on the display screen.
【0031】BVDパッド41は、次に説明する0〜1
6の項目から構成されている。次に、各項目のそれぞれ
の機能を説明する。なお、項目番号0〜16と、図4に
示されている番号0〜16とはそれぞれ対応している。[0031] The BVD pad 41 has 0 to 1 as described below.
It consists of 6 items. Next, the functions of each item will be explained. Note that the item numbers 0 to 16 correspond to the numbers 0 to 16 shown in FIG. 4, respectively.
【0032】すなわち、
0…“BVD ”:グリッドを持つウィンドウを作る。
1…“Init”:指定のウィンドウを操作対象とする
。
2…“CreateBox ”:指定した大きさ、位置
に従って操作オブジェクトを作る。
3…“WithPad ”:操作オブジェクトを数値入
力パッドのついた入力枠にする。このとき、表示画面に
は図5で示されるウィンドウ51が表示される。
4…“readon”:操作オブジェクトを入力枠にす
る。
5…“Grid”:グリッドの間隔を指定する。
6…間隔指定領域:グリッドの間隔を指定する。このと
き、図5に示した数値入力パッド51内の数値を選択す
ることにより、間隔指定領域6には、図6に示すように
、実際に設定された数値が記入される。
7…“Move”:操作オブジェクトを移動する。
8…“Copy:操作オブジェクトをコピーする。
9…“Beyond”:他のウィンドウから操作オブジ
ェクトをコピーする。
10…“Delete”:操作オブジェクトを削除する
。
11…“Specs ”:操作オブジェクトの仕様が設
定できる。
12…“Tools ”:他のパッドを呼び出す。
13…“Adjust”:他のパッドを呼び出す。
14…“Setup ”:操作オブジェクトの機能を初
期状態にする。
15…“ing ”:編集中のウィンドウを示す。
16…“Grid”:編集中のウィンドウ全域にグリッ
ドを表示する。That is, 0..."BVD": Create a window with a grid. 1..."Init": Sets the specified window as the operation target. 2... "CreateBox": Creates an operation object according to the specified size and position. 3..."WithPad": Makes the operation object an input frame with a numerical input pad. At this time, a window 51 shown in FIG. 5 is displayed on the display screen. 4...“readon”: Makes the operation object an input frame. 5...“Grid”: Specify the grid interval. 6... Interval specification area: Specify the grid interval. At this time, by selecting the numerical value in the numerical value input pad 51 shown in FIG. 5, the actually set numerical value is written in the interval designation area 6, as shown in FIG. 7...“Move”: Move the operation object. 8..."Copy: Copy the operation object. 9..."Beyond": Copy the operation object from another window. 10..."Delete": Delete the operation object. 11..."Specs": Specify the specifications of the operation object. Can be set. 12... “Tools”: Call other pads. 13... “Adjust”: Call other pads. 14... “Setup”: Set the function of the operation object to its initial state. 15... “ing”: Edit Shows the window inside. 16... “Grid”: Displays a grid over the entire window being edited.
【0033】次に、図3に示したロゴパッド31内のメ
ニュー32の中から、W3を選択した場合は、表示画面
には、図7で示される、フォントの表示、バックの表示
の指定などを行うパッド(以下、W3パッドという)7
1が表示される。Next, if you select W3 from the menu 32 in the logo pad 31 shown in FIG. 3, the display screen will display the font display, background display designation, etc. shown in FIG. pad (hereinafter referred to as W3 pad) 7
1 is displayed.
【0034】W3パッド71は、図7に示したようにパ
ート71A〜71Dから構成されている。次にパート7
1A〜71Dの機能を説明する。The W3 pad 71 is composed of parts 71A to 71D as shown in FIG. Next part 7
The functions of 1A to 71D will be explained.
【0035】すなわち、
71A:操作オブジェクトの枠、フォント、バックの表
示の指定を行う。
72B:操作オブジェクトのBOX の枠に関する表示
の指定を行う。
73C:フォントのバックの表示の指定の指定を行う。
74D:表示フォントの指定を行う。That is, 71A: Specify the display of the frame, font, and background of the operation object. 72B: Specify display regarding the box frame of the operation object. 73C: Specify the display of the font background. 74D: Specify display font.
【0036】さらに、パート71Aは、シェードの指定
部分71A−1と、枠、フォントの指定部分71A−2
とから構成されており、シェードの指定部分71A−1
の拡大図を図8に示し、枠、フォントの指定部分71A
−2の拡大図を図9に示している。Furthermore, the part 71A includes a shade specified portion 71A-1 and a frame and font specified portion 71A-2.
It consists of a designated part 71A-1 of the shade.
FIG. 8 shows an enlarged view of the frame and font designated area 71A.
An enlarged view of -2 is shown in FIG.
【0037】シェードの指定部分71A−1は、図8に
示すように、項目1〜4から構成されたフォントに関す
る指定を行う“Fontshadow”のパート81と
、項目5〜8から構成されたフォントに関する指定を行
う“Frameshadow ”のパート82とから構
成されている。As shown in FIG. 8, the shade specification part 71A-1 includes a "Fontshadow" part 81 for specifying fonts composed of items 1 to 4, and a part 81 for specifying fonts composed of items 5 to 8. It consists of a "Frameshadow" part 82 for specifying.
【0038】次に、シェードの指定部分71A−1の各
項目のそれぞれの機能を説明する。なお、項目番号1〜
8と、図8に示されている番号1〜8とはそれぞれ対応
している。Next, the functions of each item in the shade designated portion 71A-1 will be explained. In addition, item number 1~
8 corresponds to the numbers 1 to 8 shown in FIG. 8, respectively.
【0039】すなわち、
[パート81について]
1…“shade ”:フォントのバックシェードの指
定を行う。
2…“Invert”:インバート表示するかどうかの
指定を行う。
3…“X”:フォントと陰のX方向の距離の指定を行う
。
4…“Y”:フォントと陰のY方向の距離の指定を行う
。
例えば図10(a)に示される内容で設定されたときは
、図10(b)で示される内容の表示状態となる。That is, [Regarding Part 81] 1..."shade": Specifies the back shade of the font. 2...“Invert”: Specify whether to perform inverted display. 3..."X": Specifies the distance between the font and the shadow in the X direction. 4..."Y": Specifies the distance between the font and the shadow in the Y direction. For example, when the content shown in FIG. 10(a) is set, the display state is as shown in FIG. 10(b).
【0040】[パート82について]
5…“Shade ”:操作オブジェクトの陰のシェー
ドの指定を行う。
6…“Invert”:インバート表示するかどうかの
指定を行う。
7…“X”:操作オブジェクトの表示と陰のX方向の距
離の指定を行う。
8…“Y”:操作オブジェクトの表示と陰のY方向の距
離の指定を行う。
例えば図11(a)に示される内容で設定されたときは
、図11(b)で示される内容の表示状態となる。[Regarding Part 82] 5..."Shade": Specifies the shade of the operation object. 6...“Invert”: Specify whether to perform inverted display. 7..."X": Specifies the display of the operation object and the distance in the X direction of the shadow. 8..."Y": Specify the display of the operation object and the distance in the Y direction of the shadow. For example, when the content shown in FIG. 11(a) is set, the display state is as shown in FIG. 11(b).
【0041】一方、枠、フォントの指定部分71A−2
は、図9に示すように、項目9〜13の項目から構成さ
れている。次に、フォントの指定部分71A−2の各項
目のそれぞれの機能を説明する。なお、項目番号9〜1
3と図9に示されている番号9〜13とはそれぞれ対応
している。On the other hand, the frame and font specification portion 71A-2
is composed of items 9 to 13, as shown in FIG. Next, the functions of each item in the font specification section 71A-2 will be explained. In addition, item numbers 9 to 1
3 corresponds to numbers 9 to 13 shown in FIG. 9, respectively.
【0042】すなわち、
9…“Frame ”:操作オブジェクトの枠の表示を
指定する。
10…“Size”:フォントのサイズを指定する。
11…“Face”:ノーマル、ボールド、イタリック
の指定を行う。
12…“Family”:フォントの種類を指定する。
13…“App ”:Aパート内の上記1〜12までの
指定を操作オブジェクトに適用する。That is, 9..."Frame": Specifies the display of the frame of the operation object. 10...“Size”: Specify the font size. 11...“Face”: Specify normal, bold, and italic. 12...“Family”: Specifies the type of font. 13..."App": Apply the above specifications 1 to 12 in the A part to the operation object.
【0043】次に、図7に示したパート71Bは、パー
ト71Bの拡大図を示した図12に示すように、項目1
〜5から構成されている。次に、各項目のそれぞれの機
能を説明する。なお項目番号1〜5と図12に示した番
号1〜5とは対応している。すなわち
1…“Normal”:枠の表示が幅1になる。
2…“Double”:枠が二重になる。
3…“Button”:ボタン表示になる。
4…“None”:枠が消える。
5…“Ellipse ”:枠が楕円になる。Next, part 71B shown in FIG. 7 has item 1 as shown in FIG. 12 which shows an enlarged view of part 71B.
It consists of ~5. Next, the functions of each item will be explained. Note that item numbers 1 to 5 correspond to numbers 1 to 5 shown in FIG. 12. That is, 1..."Normal": The frame is displayed with a width of 1. 2...“Double”: The frame becomes double. 3...“Button”: Displays a button. 4...“None”: The frame disappears. 5...“Ellipse”: The frame becomes an ellipse.
【0044】次に、ユーザが所望する操作オブジェクト
を作成する際の操作手順を、図13のフローチャートに
従って説明する。Next, the operating procedure for creating an operation object desired by the user will be explained with reference to the flowchart shown in FIG.
【0045】最初に、ユーザは新しいユーザインタフェ
ースを作るか否かを判断し(ステップ1301)、作成
する場合は、表示画面上でウィンドウの位置と大きさを
指定し、さらにグリッドを設定して、図14に示すよう
にレイアウトする対象となるウィンドウ1401を作成
する(ステップ1302)。作成されたウィンドウ14
01には内部データとして、設定されたウィンドウの位
置と大きさのデータが保持される。なお図14において
、1402はグリッド(図14では“・”で表している
)であり、1403はビットマップディスプレイ装置2
3の表示画面である。[0045] First, the user determines whether or not to create a new user interface (step 1301), and if so, specifies the position and size of the window on the display screen, sets the grid, A window 1401 to be laid out as shown in FIG. 14 is created (step 1302). Created window 14
01 holds data on the position and size of the set window as internal data. In FIG. 14, 1402 is a grid (represented by "・" in FIG. 14), and 1403 is a bitmap display device 2.
This is the display screen of No. 3.
【0046】グリッド142は、マウス21による操作
オブジェクトの位置や大きさの指定を簡便にする機能を
持っている。このグリッドの設定により、操作オブジェ
クトの大きさはグリッドの整数倍で作成されることにな
り、レイアウトが簡便になる。また、位置の指定もグリ
ッド単位で行うことになり、それぞれの操作オブジェク
トを隣接させたり、一定の間隔をおいて並べる等の操作
が容易となる。The grid 142 has the function of making it easier to specify the position and size of the operation object using the mouse 21. By setting this grid, the size of the operation object is created as an integral multiple of the grid size, which simplifies the layout. In addition, the positions are also specified in grid units, which facilitates operations such as arranging the respective operation objects adjacent to each other or arranging them at regular intervals.
【0047】さてウィンドウ1401を作成したならば
、そのウィンドウ1401上での操作オブジェクトの位
置および大きさを指定して(ステップ1303)、図1
5に示すように操作オブジェクト1501を作成する(
ステップ1304)。このとき、操作オブジェクト15
01はグリッドを基準に位置付けされ、また大きさもグ
リッドに合った形となる。Now, after creating the window 1401, specify the position and size of the operation object on the window 1401 (step 1303), and then
Create an operation object 1501 as shown in 5 (
Step 1304). At this time, the operation object 15
01 is positioned based on the grid, and its size matches the grid.
【0048】作成された操作オブジェクトには内部デー
タとして、設定された操作オブジェクトの位置および大
きさのデータが保持される。同様に、後述する表示形式
に係るデータや機能のデータ等も、設定された際に内部
データとして保持される。The created operation object holds data on the position and size of the set operation object as internal data. Similarly, data related to display formats and function data, which will be described later, are also held as internal data when they are set.
【0049】次に操作オブジェクト1501を作成した
ならば、フォントの種類、サイズ、白ぬき、陰影の有無
、バックの模様(シェード)などの表示形式を操作オブ
ジェクト1501に対して設定する(ステップ1305
)。表示形式が設定された操作オブジェクトの一例を図
16に示している。図16に示される操作オブジェクト
1601のように、表示形式が設定された操作オブジェ
クトは、それらの指定内容を属性として持ち、プログラ
ムソースコードを生成するときデータとして取り込む。Next, once the operation object 1501 has been created, display formats such as font type, size, whiteout, presence/absence of shading, and background pattern (shade) are set for the operation object 1501 (step 1305).
). FIG. 16 shows an example of an operation object with a set display format. Like the operation object 1601 shown in FIG. 16, the operation object for which the display format has been set has the specified contents as attributes, and is taken in as data when generating the program source code.
【0050】表示形式の設定が終了したら、図17に示
すように、機能を設定するためのウィンドウ1701を
オープンし、該ウィンドウ1701内の機能指定領域1
702に、作成された操作オブジェクト1601から起
動される機能を設定する(ステップ1306)。After setting the display format, open a window 1701 for setting functions as shown in FIG.
702, a function activated from the created operation object 1601 is set (step 1306).
【0051】例えば、図17に示した機能指定領域17
02には、“BEEP.FUNCTION ”という関
数が設定されているので、操作オブジェクト1601を
マウス21で選択したときに“BEEP.FUNCTI
ON ”が実行されることとなる。このように機能の設
定に際し、ユーザインタフェースとして、マウス21で
選択された操作オブジェクトが「何をする」のか、その
機能を設定する。For example, the function specification area 17 shown in FIG.
Since the function "BEEP.FUNCTION" is set in 02, when the operation object 1601 is selected with the mouse 21, "BEEP.FUNCTI" is set.
ON" will be executed. In this way, when setting a function, the function is set as the user interface to determine what the operation object selected with the mouse 21 "does."
【0052】機能指定領域1702に指定された機能(
関数)により、操作オブジェクトは、ボタン、メニュー
入力枠、タイプ入力枠、出力表示枠、トグルスイッチや
スライドバーになったりする。この場合、操作オブジェ
クト1601は、ボタンとして機能するわけであるが、
設定された関数“BEEP.FUNCTION ”は、
ユーザインタフェースとして起動される際に、パラメー
タ値を必要とするため、その値の入力領域も追加するこ
とになる。
この入力領域がパラメータ値を保持する操作オブジェク
トであり、タイプ入力枠として機能が設定される。[0052] The function specified in the function specification area 1702 (
Depending on the function), the operation object can be a button, a menu input frame, a type input frame, an output display frame, a toggle switch, or a slide bar. In this case, the operation object 1601 functions as a button,
The set function “BEEP.FUNCTION” is
Since parameter values are required when the user interface is started, an input area for those values will also be added. This input area is an operation object that holds parameter values, and its function is set as a type input frame.
【0053】以上の操作手順で一つの操作オブジェクト
が作成されたことになるので、さらに、操作オブジェク
トを作成する必要があるかどうかを調べる(ステップ1
307)。[0053] Since one operation object has been created through the above operation procedure, check whether it is necessary to create another operation object (step 1).
307).
【0054】ここで、さらに操作オブジェクトを作成す
る場合は、上記ステップ1303に戻り、このステップ
以降の操作を繰り返す。こうして作成された最終的な操
作オブジェクト群の一例を図18に示している。図18
に示した操作オブジェクト群においては、“BEEP.
FUNCTION ”という関数が設定されている操作
オブジェクト1601と、“BELL.FUNCTIO
N ”という関数が設定されている操作オブジェクト1
801と、“GB.CLOSEW ”という関数が設定
されている操作オブジェクト1802と、“GB.MO
VEW”という関数が設定されている操作オブジェクト
1803と、が作成されている。[0054] If more operation objects are to be created, the process returns to step 1303 and the operations from this step onwards are repeated. FIG. 18 shows an example of the final operation object group created in this way. Figure 18
In the operation object group shown in , “BEEP.
An operation object 1601 to which a function called “FUNCTION” is set, and an operation object 1601 to which a function called “BELL. FUNCTIO
Operation object 1 where a function called “N” is set
801, an operation object 1802 to which a function “GB.CLOSEW” is set, and “GB.MO
An operation object 1803 in which a function called "VEW" is set has been created.
【0055】なお図18において、1601Aは操作オ
ブジェクト1601のパラメータ値を入力するための領
域としてのタイプ入力枠(パラメータ値を保持する操作
オブジェクト)であり、1801Aは操作オブジェクト
1801のパラメータ値を入力するための領域としての
タイプ入力枠(パラメータ値を保持する操作オブジェク
ト)である。In FIG. 18, 1601A is a type input frame (operation object that holds parameter values) as an area for inputting parameter values of the operation object 1601, and 1801A is a type input frame for inputting parameter values of the operation object 1801. This is a type input frame (operation object that holds parameter values) as an area for.
【0056】上記ステップ1307で、全ての操作オブ
ジェクトを作成した場合は、作成された操作オブジェク
トをウィンドウ1401上で移動したり、大きさや表示
の変更を行って、最終的な操作オブジェクト全体のレイ
アウトを整える。例えば、図18で示される操作オブジ
ェクト群を、例えば図19に示されるように、最終的な
全体のレイアウトに整える。If all the operation objects have been created in the above step 1307, the final layout of the entire operation object can be adjusted by moving the created operation objects on the window 1401 or changing the size and display. Arrange. For example, the operation object group shown in FIG. 18 is arranged into a final overall layout as shown in FIG. 19, for example.
【0057】さらに、ウィンドウ1401に対するマー
ジンなどを指定して、ウィンドウ1401の大きさ、位
置を整えて、ユーザインタフェース全体のレイアウトを
整える(ステップ1308)。この結果、例えば、図2
0に示される最終的なユーザインタフェースが得られる
ことになる。図20において、操作オブジェクト160
1のタイプ入力枠1601Aには値「800」が入力さ
れており、その値「800」は、当該操作オブジェクト
1601をマウス21によって選択することにより、“
BEEP.FUNCTION ”という関数が起動され
実行される際のパラメータ値になる。[0057] Further, by specifying margins for the window 1401 and adjusting the size and position of the window 1401, the layout of the entire user interface is adjusted (step 1308). As a result, for example, Figure 2
The final user interface shown at 0 will be obtained. In FIG. 20, the operation object 160
The value “800” is input in the type input frame 1601A of No. 1, and the value “800” can be changed by selecting the operation object 1601 with the mouse 21.
BEEP. This is the parameter value when the function called "FUNCTION" is activated and executed.
【0058】そして、図21に示されるように、プログ
ラムソースコード入力用ウィンドウ2101をオープン
して、関数名指定領域2102に所望の関数名、例えば
“BEEP.BELL ”という関数を入力する。この
結果、プログラムソースコード生成部122は、指定さ
れた関数名“BEEP.BELL ”を評価して、もと
のウインドウと同じユーザインタフェースを生成する(
ステップ1309)。
なお、ユーザインタフェースの生成(プログラムソース
コードの生成)の詳細は後述する。Then, as shown in FIG. 21, a program source code input window 2101 is opened, and a desired function name, for example, "BEEP.BELL" is input into a function name specification area 2102. As a result, the program source code generation unit 122 evaluates the specified function name "BEEP.BELL" and generates the same user interface as the original window (
step 1309). Note that the details of the generation of the user interface (generation of the program source code) will be described later.
【0059】上記ステップ1301〜1309の処理が
新しいユーザインタフェースを作成するための操作手順
である。次に、スデップ1301において新しいユーザ
インタフェースを作成しない場合(スデップ1301:
No)、つまり、既に作成されたユーザインタフェース
、例えば図20に示されるユーザインタフェースを変更
する場合は、変更対象となるウィンドウ(この例ではウ
ィンドウ1401)を指定し(ステップ1310)、さ
らに、そのウィンドウ上に表示された操作オブジェクト
(この例では、操作オブジェクト1601、1801〜
1803)の中から、対象となる操作オブジェクトに対
する変更の操作を行う(ステップ1311)。ステップ
1311終了後は、ステップ1308に進む。The processing in steps 1301 to 1309 described above is an operation procedure for creating a new user interface. Next, if a new user interface is not created in step 1301 (step 1301:
No), that is, when changing an already created user interface, for example the user interface shown in FIG. 20, specify the window to be changed (window 1401 in this example) (step 1310), and then The operation objects displayed above (in this example, operation objects 1601, 1801 to
1803), performs an operation to change the target operation object (step 1311). After step 1311 ends, the process advances to step 1308.
【0060】なお、ユーザインタフェースを変更する場
合も、上述した各パッドを用いて変更操作することがで
きる。[0060] When changing the user interface, the above-mentioned pads can also be used to change the user interface.
【0061】次にプログラムソースコード生成部122
によるプログラムソースコードの生成処理動作を、図2
2のフローチャートを参照して説明する。Next, the program source code generator 122
Figure 2 shows the program source code generation process using
This will be explained with reference to the flowchart No. 2.
【0062】最初に、生成するプログラムソースコード
の名前、例えば“BEEP.BELL ”が入力される
と(ステップ2201)、データ抽出手段122Aは、
プログラムでベースとなるウィンドウを再生するために
、対象となるウィンドウの座標位置、大きさ、タイトル
、枠の太さなどのウィンドウ情報を取りだし、そのウィ
ンドウ情報に“BEEP.BELL ”というウィンド
ウ名を与えてデータを作成し、該データを保存する(ス
テップ2202)。このデータをウィンドウを作る関数
に渡すことによって、同じウィンドウが作られる。First, when the name of the program source code to be generated, for example "BEEP.BELL" is input (step 2201), the data extraction means 122A
In order to play the base window in the program, extract the window information such as the coordinate position, size, title, and frame thickness of the target window, and give the window information the window name "BEEP.BELL". data is created and saved (step 2202). The same window is created by passing this data to the function that creates the window.
【0063】次に、操作オブジェクトがデータとして保
存している、座標位置(ベースとなるウィンドウ上の場
所)、大きさを取り出し、データとして保存する(ステ
ップ2203)。また、操作オブジェクトがデータとし
て保存している、表示項目、文字の種類、バックの模様
(シェード)、形の指定を取り出し、表示形式のデータ
として保存する(ステップ2204)。さらに、操作オ
ブジェクトに設定されている、処理(操作オブジェクト
から起動される処理)を取りだし、データとして保存す
る(ステップ2205)。なお、操作オブジェクトが保
存しているデータには、上述した操作オブジェクトの座
標位置、大きさのデータに加えて、操作オブジェクトの
タイトル、枠の太さ、センタリングフラグ、表示マージ
ン、枠の座標位置、起動される処理1、起動される処理
2、表示文字の種類、操作オブジェクトに設定されてい
る固有データ(ユーザデータ)、アクティブフラグなど
がある。Next, the coordinate position (location on the base window) and size stored as data of the operation object are extracted and stored as data (step 2203). Further, the designation of display items, character type, background pattern (shade), and shape, which are stored as data by the operation object, is extracted and stored as display format data (step 2204). Furthermore, the process set for the operation object (the process started from the operation object) is extracted and saved as data (step 2205). In addition to the coordinate position and size data of the operation object mentioned above, the data saved by the operation object includes the operation object's title, frame thickness, centering flag, display margin, frame coordinate position, There are a process 1 to be activated, a process 2 to be activated, the type of display character, unique data (user data) set to the operation object, an active flag, etc.
【0064】次に、一つの操作オブジェクト(部品)を
再生するために必要となるデータを抽出したら、他に再
生すべき操作オブジェクトがまだあるか否かを判断する
(ステップ2206)。ここで、操作オブジェクトが存
在する場合(ステップ2206:YES)は、上記ステ
ップ2203に戻りこのステップ以降を実行し、全ての
操作オブジェクトについてのデータを抽出する。Next, after extracting the data necessary to reproduce one operation object (part), it is determined whether there are any other operation objects to be reproduced (step 2206). Here, if an operation object exists (step 2206: YES), the process returns to step 2203 and executes the steps after this step to extract data regarding all operation objects.
【0065】一方、存在しない場合(ステップ2206
:NO)、プログラムソースコード生成手段122Bは
、ベースとなるウィンドウのデータ、及び、操作オブジ
ェクトのデータと、それらのデータから操作オブジェク
トを再生する機能とを合成して、設定された名前を用い
て、プログラムソースコードを生成し、関数として定義
する(ステップ2207)。この定義された関数を評価
することによりユーザインタフェースが再生される。On the other hand, if it does not exist (step 2206
:NO), the program source code generation means 122B synthesizes the base window data and operation object data, and the function for reproducing the operation object from these data, and uses the set name to synthesize the operation object data. , a program source code is generated and defined as a function (step 2207). The user interface is reproduced by evaluating this defined function.
【0066】次に、操作オブジェクトのレイアウ処理、
完成した操作オブジェクトからソースコードを生成する
処理を、LISP処理系を例にとって説明する。Next, layout processing of the operation object,
The process of generating source code from a completed operation object will be explained using a LISP processing system as an example.
【0067】最初に、操作オブジェクトのレイアウトに
関しては、上述した図13の操作手順に従ってレイアウ
トすることになる。このとき、操作オブジェクトに対す
る機能の設定に際しては、LISP関数で記述すること
になる。この場合、予め関数が作られているか、あるい
は関数名で指定できる場合は、その名前で指定する。ま
たLAMBDA式(ラムダ式)をそのまま指定すること
もできる。First, the layout of the operation objects is performed according to the operation procedure shown in FIG. 13 described above. At this time, when setting a function for the operation object, it is written using a LISP function. In this case, if a function has been created in advance or can be specified by function name, specify it by that name. It is also possible to specify the LAMBDA expression (lambda expression) as is.
【0068】例えば、図17に示した操作オブジェクト
1601に対する機能設定では、機能指定領域1702
に“BEEP.FUNCTION ”という関数が記述
されている。For example, in the function setting for the operation object 1601 shown in FIG.
A function called "BEEP.FUNCTION" is written in the file.
【0069】次に、データ抽出手段122Aによる、ウ
ィンドウの情報および操作オブジェクトの情報の取り出
しについて説明する。Next, the extraction of window information and operation object information by the data extraction means 122A will be explained.
【0070】(1)ウィンドウの情報の取り出し処理の
実行について
例えば、図20に示したウィンドウ1401が保持して
いるデータとして、
「座標位置:X=485、Y=588、横方向の大きさ
:203、縦方向の大きさ:98、タイトル:なし(N
ILがそれを示している)、枠の太さ:1、
ウィンドウ名:BEEP.BELL 、
」をそれぞれ示すデータと
する。(1) Execution of window information retrieval processing For example, as the data held by the window 1401 shown in FIG. 20, "Coordinate position: X=485, Y=588, Horizontal size: 203, Vertical size: 98, Title: None (N
IL shows it), frame thickness: 1, window name: BEEP. BELL,
” as data indicating each.
【0071】この場合、データ抽出手段122Aは、(
A)a:上述した各データを取り出して、
(QUOTE((485 588 203 9
8)NIL 1 BEEP.BELL))
…(1)というウィンドウに係るデータ(1)
を作成する。
b:次に上記データ(1)を自己内に保存する。
(B)上記(1)の(A)の処理が終了したら、上記デ
ータ(1)を、Winfというローカル変数にセットす
るプログラム(以下、プログラム(1)という)を作成
する。In this case, the data extraction means 122A (
A) a: Take out each data mentioned above,
(QUOTE((485 588 203 9
8) NIL 1 BEEP. BELL))
...Data (1) related to the window called (1)
Create. b: Next, save the above data (1) internally. (B) After completing the process in (A) of (1) above, create a program (hereinafter referred to as program (1)) that sets the above data (1) in a local variable called Winf.
【0072】(2)操作オブジェクトの情報の取り出し
処理の実行について
ここでは、BELLという操作オブジェクトを例にとっ
て説明する。例えば、図20に示した操作オブジェクト
1801が保持しているデータとして、
「タイトル=“BELL”、座標位置:X=6、Y=6
、横方向の大きさ=79、縦方向の大きさ=29、枠の
太さ=1、センタリングフラグ=T(T=True)、
表示マージン=2、枠の座標位置:X=5、Y=5、起
動される処理1=設定無し、
起動される処理2=BEEP.FUNCTION 、表
示文字の種類=HELVETICA の8ポイントボー
ルド、固有データ=BNAME (操作オブジェクトの
名前 )がinitName(デフォルト名)、BS
HADE(ボタンにするなどの表示形式 )が(23
130NORMAL−2−2 T 0 0 65535
)、アクティブフラグ=T(T=True)
」
をそれぞれ示すデータとする。(2) Execution of the processing for retrieving information of the operation object will be explained here using an operation object called BELL as an example. For example, as the data held by the operation object 1801 shown in FIG. 20, “Title = “BELL”, Coordinate position:
, horizontal size = 79, vertical size = 29, frame thickness = 1, centering flag = T (T = True),
Display margin = 2, frame coordinate position: X = 5, Y = 5, activated process 1 = no setting, activated process 2 = BEEP. FUNCTION, Display character type = HELVETICA 8 point bold, Unique data = BNAME (name of operation object) is initName (default name), BS
HADE (display format such as button) is (23
130NORMAL-2-2 T 0 0 65535
), active flag = T (T = True)
”
Let the data indicate each.
【0073】この場合、データ抽出手段122Aは、(
A)a:上述した各データを取り出して、
(”BELL”(6 6 79 29)1 T
2(5.5)NIL B
EEP.FUNCTION (HELVETICA 8
BRR)(BNAMEinitName BSHAD
E (231
30 NORMAL−2−2 T 0 06535))
T) …(2)
という操作オブジェクトに係るデータ(2)を作成する
。
b:次に上記データ(2)を自己内に保存する。
(B)操作オブジェクトが複数存在する場合は、各操作
オブジェクトについて上記(2)の(A)の処理を実行
する。
(C)上記(2)の(B)の処理で作成された各データ
をまとめて、Binfというローカル変数にセットする
プログラム(以下、プログラム(2)という)を作る。In this case, the data extraction means 122A (
A) a: Take out each data mentioned above,
("BELL" (6 6 79 29) 1 T
2 (5.5) NIL B
EEP. FUNCTION (HELVETICA 8
BRR) (BNAMEinitName BSHAD
E (231
30 NORMAL-2-2 T 0 06535))
T) …(2)
Data (2) related to the operation object is created. b: Next, save the above data (2) internally. (B) If there are a plurality of operation objects, execute the process (A) of (2) above for each operation object. (C) Create a program (hereinafter referred to as program (2)) that collects each data created in the process of (B) in (2) above and sets it in a local variable called Binf.
【0074】最後に、プログラムソースコード生成手段
122Bによるプログラムソースコードの生成処理を説
明する。Finally, the program source code generation process by the program source code generation means 122B will be explained.
【0075】最初に、ウィンドウに係るデータ(例えば
データ(1))及び上記プログラム(1)と、操作オブ
ジェクトに係るデータ(例えばデータ(2)等)及び上
記プログラム(2)と、データを展開する処理(関数L
B.EXPAND )とを合成して一つのプログラムソ
ースコードにし、その後、設定された名前例えば“BE
EP.BELL ”を用いて、関数として定義する。こ
うして生成されたプログラムソースコードの一例を図2
3に示している。First, data related to the window (for example, data (1)) and the above program (1), data related to the operation object (for example, data (2), etc.) and the above program (2), and the data are expanded. Processing (function L
B. EXPAND ) into a single program source code, and then change the set name, for example "BE
EP. BELL” is used to define it as a function. An example of the program source code generated in this way is shown in Figure 2.
It is shown in 3.
【0076】図23において、2301はウィンドウに
係るデータ、2302は操作オブジェクトに係るデータ
群、2303はデータを展開する処理を示している。な
お、データを展開する処理2303は(関数 引数…
引数)の型で(LB.EXPAND WinfBinf
Bindfig )となっている。ここで、“Win
f”はウィンドウを作る処理を行うものであり、“Bi
nf”は操作オブジェクトを作る処理を行うものである
。In FIG. 23, 2301 indicates data related to a window, 2302 a data group related to an operation object, and 2303 a process for expanding the data. Note that the process 2303 for expanding data is (function argument...
(LB.EXPAND WinfBinf
Bindfig). Here, “Win
f” performs the process of creating a window, and “Bi
nf" performs processing to create an operation object.
【0077】こうして合成されたプログラム(プログラ
ムソースコード)が、ユーザインタフェースを再現する
処理を行うことになる。The program (program source code) synthesized in this way performs processing to reproduce a user interface.
【0078】そこで、関数BEEP.BELL を評価
すると、(イ)上記プログラム1が実行されて、ローカ
ル変数Winfにウィンドウに係るデータがセットされ
る。Therefore, the function BEEP. When BELL is evaluated, (a) the above program 1 is executed and data related to the window is set in the local variable Winf.
【0079】(ロ)また、上記プログラム2が実行され
て、ローカル変数Binfに操作オブジェクトに係るデ
ータ群がセットされる。(b) Furthermore, the above program 2 is executed, and a data group related to the operation object is set in the local variable Binf.
【0080】(ハ)さらに、データを展開する処理(L
B.EXPAND Winf Binf Bindfi
g )が評価される。この評価に際しては、関数LB.
EXPAND に、上記(イ)のローカル変数Winf
及び上記(ロ)のローカル変数Binfを引数にして評
価する。すなわち、1番目の引数“Winf”に上記ロ
ーカル変数Winfにセットされたデータを渡し、2番
目の引数“Binf”に上記ローカル変数Binfにセ
ットされたデータを渡すことによって、ウィンドウ及び
操作オブジェクトが作成され、ユーザインタフェースが
再現されることになる。(c) Furthermore, data expansion processing (L
B. EXPAND Winf Binf Bindfi
g) is evaluated. In this evaluation, the function LB.
In EXPAND, set the local variable Winf in (a) above.
and evaluate using the local variable Binf in (b) above as an argument. That is, the window and operation object are created by passing the data set in the local variable Winf to the first argument "Winf" and passing the data set in the local variable Binf to the second argument "Binf". The user interface will be reproduced.
【0081】なお、操作オブジェクトの再生処理部、つ
まりデータを展開する処理(LB.EXPAND )は
、従来から存在している、プログラムによって操作オブ
ジェクトを作るために用意されていた機能を用いて実現
している。
なお、従来においては、このようなクリエイト処理(操
作オブジェクトを作る処理)に渡すデータを、ユーザが
、プログラムコードで記述し、そのデータを基に操作オ
ブジェクトを作る処理も個々に記述していた。[0081] Note that the operation object reproduction processing section, that is, the data expansion processing (LB.EXPAND), is realized using the functions that have existed in the past and have been prepared for creating operation objects using programs. ing. Note that in the past, the user wrote the data to be passed to such create processing (processing for creating an operation object) in program code, and also individually wrote the processing for creating the operation object based on the data.
【0082】上述した実施例によれば、表示画面を見な
がら対話形式でマウスを操作することにより、操作オブ
ジェクトのレイアウト、機能等の指定を行うことによっ
て、ユーザインタフェースを作るようにしたので、対話
的及び視覚的に、新しいユーザインタフェースを作った
り、既に作成されたユーザインタフェースを変更したり
することができる。According to the above-described embodiment, the user interface is created by specifying the layout, functions, etc. of the operation objects by operating the mouse in an interactive manner while looking at the display screen. Visually and visually, you can create new user interfaces or modify already created user interfaces.
【0083】また、表示画面上でのユーザインタフェー
スが完成したのち、当該ユーザインタフェースを表示す
るためのウィンドウに対して関数名を指定することによ
り、当該ユーザインタフェースを再生するプログラムソ
ースコードを自動的に生成するようにしたので、ユーザ
は、プログラムソースコードを直接記述する必要はない
。[0083] Furthermore, after the user interface on the display screen is completed, by specifying a function name for the window for displaying the user interface, the program source code for reproducing the user interface can be automatically created. Since the program is generated, the user does not need to write the program source code directly.
【0084】特に、既に作られたユーザインタフェース
を変更する場合は、プログラムソースコードのアルゴリ
ズムを直接変更することなく、新しいレイアウト、機能
のユーザインタフェースを再生するプログラムソースコ
ードを得ることができる。In particular, when changing an already created user interface, it is possible to obtain a program source code that reproduces a user interface with a new layout and function without directly changing the algorithm of the program source code.
【0085】[0085]
【発明の効果】以上説明したように本発明によれば、対
話形式で入力されたユーザインタフェースのレイアウト
に関する情報に基づいて作成されたユーザインタフェー
スから、該ユーザインタフェースを再生する際に必要と
なるデータを抽出し、さらに、そのデータと所定のユー
ザインタフェースを再生するためのプログラムとを合成
して、当該ユーザインタフェースを再生するプログラム
ソースコードを生成するようにしたので、ユーザインタ
フェースの作成に際し、ユーザはプログラムソースコー
ドを記述することなく、対話的及び視覚的に、ユーザイ
ンタフェースをレイアウトすれば良いこととなり、ユー
ザインタフェースを容易に作成することが可能となる。[Effects of the Invention] As explained above, according to the present invention, data necessary for reproducing a user interface created based on information regarding the layout of the user interface inputted in an interactive manner can be obtained. , and then synthesizes that data with a program for reproducing a predetermined user interface to generate a program source code for reproducing the user interface, so when creating a user interface, the user can The user interface can be easily created by simply laying out the user interface interactively and visually without writing program source code.
【0086】またユーザインタフェースの変更に際して
も、プログラムソースコードを直接変更することなく、
対話的及び視覚的に、ユーザインタフェースのレイアウ
トを変更すれば良いので、プログラムソースコードの変
更ミスによるエラーを最小限に抑制することができる。[0086] Also, when changing the user interface, the program source code can be changed without directly changing it.
Since the layout of the user interface can be changed interactively and visually, errors caused by mistakes in changing the program source code can be minimized.
【図1】本発明に係るプログラミング装置の一実施例を
示す機能ブロック図。FIG. 1 is a functional block diagram showing an embodiment of a programming device according to the present invention.
【図2】図1に示した実施例を実現したワークステーシ
ョンのハードウェア構成を示す図。FIG. 2 is a diagram showing the hardware configuration of a workstation that implements the embodiment shown in FIG. 1.
【図3】ユーザインタフェースを構成する部品を作成す
る際に使用されるパッドの一例を示す図。FIG. 3 is a diagram showing an example of a pad used when creating parts constituting a user interface.
【図4】ユーザインタフェースを構成する部品を作成す
る際に使用されるパッドの一例を示す図。FIG. 4 is a diagram showing an example of a pad used when creating parts constituting a user interface.
【図5】図4で示したパッドを説明するための図。FIG. 5 is a diagram for explaining the pad shown in FIG. 4.
【図6】図4で示したパッドを説明するための図。FIG. 6 is a diagram for explaining the pad shown in FIG. 4.
【図7】ユーザインタフェースを構成する部品を作成す
る際に使用されるパッドの一例を示す図。FIG. 7 is a diagram showing an example of a pad used when creating parts constituting a user interface.
【図8】図7で示したパッドを説明するための図。FIG. 8 is a diagram for explaining the pad shown in FIG. 7.
【図9】図7で示したパッドを説明するための図。FIG. 9 is a diagram for explaining the pad shown in FIG. 7.
【図10】図7で示したパッドを説明するための図。FIG. 10 is a diagram for explaining the pad shown in FIG. 7.
【図11】図7で示したパッドを説明するための図。FIG. 11 is a diagram for explaining the pad shown in FIG. 7.
【図12】図7で示したパッドを説明するための図。FIG. 12 is a diagram for explaining the pad shown in FIG. 7.
【図13】ユーザインタフェースの生成及び変更の操作
手順を示すフローチャート。FIG. 13 is a flowchart showing an operation procedure for generating and changing a user interface.
【図14】ユーザインタフェースの生成過程を説明する
ための図。FIG. 14 is a diagram for explaining the process of generating a user interface.
【図15】ユーザインタフェースの生成過程を説明する
ための図。FIG. 15 is a diagram for explaining the process of generating a user interface.
【図16】ユーザインタフェースの生成過程を説明する
ための図。FIG. 16 is a diagram for explaining the process of generating a user interface.
【図17】ユーザインタフェースの生成過程を説明する
ための図。FIG. 17 is a diagram for explaining the process of generating a user interface.
【図18】ユーザインタフェースの生成過程を説明する
ための図。FIG. 18 is a diagram for explaining the process of generating a user interface.
【図19】ユーザインタフェースの生成過程を説明する
ための図。FIG. 19 is a diagram for explaining the process of generating a user interface.
【図20】ユーザインタフェースの生成過程を説明する
ための図。FIG. 20 is a diagram for explaining the process of generating a user interface.
【図21】プログラムソースコードを生成させるための
ウィンドウの一例を示す図。FIG. 21 is a diagram showing an example of a window for generating program source code.
【図22】ユーザインタフェースを再生するプログラム
ソースコードの生成処理動作を示すフローチャート。FIG. 22 is a flowchart showing a process for generating a program source code for reproducing a user interface.
【図23】生成されたプログラムソースコードの一例を
示す図。FIG. 23 is a diagram showing an example of generated program source code.
11…入力部、12…ユーザインタフェース生成処理部
、13…表示部、14…マルチウィンドウ・システム、
121…レイアウト手段、122…プログラムソースコ
ード生成部、122A…データ抽出手段、122B…プ
ログラムソースコード生成手段。11... Input unit, 12... User interface generation processing unit, 13... Display unit, 14... Multi-window system,
121...Layout means, 122...Program source code generation unit, 122A...Data extraction means, 122B...Program source code generation means.
Claims (1)
するプログラミング装置において、対話形式で入力され
たユーザインタフェースのレイアウトに関する情報に基
づいて、特定のユーザインタフェースをレイアウトする
レイアウト手段と、このレイアウト手段によってレイア
ウトされた前記特定のユーザインタフェースに関する情
報から、当該特定のユーザインタフェースを再生する際
に必要となるデータを抽出するデータ抽出手段と、この
データ抽出手段によって抽出されたデータと、所定のユ
ーザインタフェースを再生するためのプログラムとを合
成して、前記特定のユーザインタフェースを再生するプ
ログラムソースコードを生成するプログラムソースコー
ド生成手段とを具えたことを特徴とするプログラミング
装置。1. A programming device that displays a user interface on a display screen, comprising: a layout means for laying out a specific user interface based on information regarding the layout of the user interface input in an interactive manner; data extraction means for extracting data necessary for reproducing the particular user interface from the information regarding the particular user interface that has been retrieved; and data extracted by the data extraction means and reproducing the predetermined user interface. 1. A programming device comprising: program source code generating means for generating a program source code for reproducing the specific user interface by synthesizing the program source code for reproducing the specific user interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4986491A JPH04284534A (en) | 1991-03-14 | 1991-03-14 | Programming device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4986491A JPH04284534A (en) | 1991-03-14 | 1991-03-14 | Programming device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04284534A true JPH04284534A (en) | 1992-10-09 |
Family
ID=12842920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4986491A Pending JPH04284534A (en) | 1991-03-14 | 1991-03-14 | Programming device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04284534A (en) |
-
1991
- 1991-03-14 JP JP4986491A patent/JPH04284534A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5467448A (en) | Text formatting by the direct selection of borders in an editing display | |
US5148154A (en) | Multi-dimensional user interface | |
EP0194442B1 (en) | Method for manipulation of graphic sub-objects in an interactive draw graphic system | |
US4905185A (en) | Apparatus for transferring block data in original form and editing the block data | |
JPS61229168A (en) | Generation of graph using computer | |
JPH087748B2 (en) | Document coloring device | |
US20090282325A1 (en) | Sparklines in the grid | |
CN112364496B (en) | Avionics simulation panel generation system based on HTML5 and VUE technologies | |
JPH0689324A (en) | Tool kit and method for establishing form | |
JP3527615B2 (en) | Layout typesetting method | |
JPH04284534A (en) | Programming device | |
Borras et al. | Building user interfaces for database applications: the O2 experience | |
JPH0563819B2 (en) | ||
JP2585311B2 (en) | How to create a program | |
JPS63127333A (en) | Flowchart type programming device | |
JP3144235B2 (en) | Figure creation device | |
JP3035126B2 (en) | Information processing device | |
JPH04294424A (en) | Interactive screen controller for computer system | |
JPS6255731A (en) | Program editing and producing device | |
JPS6314194A (en) | Editor/register for character pattern | |
JPH10207702A (en) | Device for preparing software program | |
JPH08166950A (en) | Document editing device | |
JP2900504B2 (en) | Information processing device | |
JP3020883B2 (en) | Information processing apparatus and control method thereof | |
JP2002140653A (en) | Method and device for preparing simulation data and recording medium |