JP2008269554A - Source code generating device - Google Patents

Source code generating device Download PDF

Info

Publication number
JP2008269554A
JP2008269554A JP2007254920A JP2007254920A JP2008269554A JP 2008269554 A JP2008269554 A JP 2008269554A JP 2007254920 A JP2007254920 A JP 2007254920A JP 2007254920 A JP2007254920 A JP 2007254920A JP 2008269554 A JP2008269554 A JP 2008269554A
Authority
JP
Japan
Prior art keywords
gui
screen
source code
execution environment
component
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
Application number
JP2007254920A
Other languages
Japanese (ja)
Inventor
Hidenori Fukuda
英徳 福田
Koichi Sakamoto
浩一 坂本
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2007254920A priority Critical patent/JP2008269554A/en
Priority to US12/071,341 priority patent/US20080244424A1/en
Priority to EP08151726A priority patent/EP1988454A1/en
Publication of JP2008269554A publication Critical patent/JP2008269554A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve the efficiency in software development, modification, and maintenance by efficiently designing a user interface with designs which differ among a plurality of execution environments and efficiently outputting source code and GUI display data from the editing result, in a source code generating device for generating source code and GUI display data for displaying a GUI. <P>SOLUTION: Positions, sizes, component attributes, and event actions which differ among execution environments are managed for each of user interface components and are allowed to be independently edited. With this configuration, pieces of information which vary according to execution environments and pieces of information common to execution environments are edited, and pieces of source code and pieces of GUI display data for a plurality of execution environments are generated. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、携帯電話機などに実装したコンピュータに実行させるプログラムのソースコードを生成するソースコード生成装置に係り、特に、コンピュータの複数の異なる実行環境にそれぞれ対応した画面デザインを編集し、GUI表示データを生成すると共に、当該GUI表示データを用いてGUI表示画面を表示させるソースコードを生成するソースコード生成装置に関するものである。   The present invention relates to a source code generation device that generates a source code of a program to be executed by a computer mounted on a mobile phone or the like, and in particular, edits a screen design corresponding to each of a plurality of different execution environments of a computer, and displays GUI display data. And a source code generation device for generating a source code for displaying a GUI display screen using the GUI display data.

従来、プログラム開発作業においてユーザインタフェース部分を効率的かつ汎用的に作成するために、画面を定型のユーザインタフェース部品の組合せとして構築するためのグラフィカルユーザインタフェース(GUI)ライブラリが数多く開発・提供されている。
GUIライブラリの動作方式としては、GUIライブラリをプログラムから呼出す際の引数(パラメタ)によって表示内容を静的に決定するものと、GUIライブラリを実行するプログラムの動作中に、GUIの設定内容を保存したリソースファイル等と呼ばれるデータファイルをGUIライブラリが読み込むことで、実行時に表示内容を動的に決定するものがある。両者の形式を同時に採用しているGUIライブラリも存在する。
2. Description of the Related Art Conventionally, many graphical user interface (GUI) libraries have been developed and provided for constructing a screen as a combination of standard user interface parts in order to efficiently and universally create a user interface part in program development work. .
As the GUI library operation method, the display contents are statically determined by arguments (parameters) when the GUI library is called from the program, and the GUI settings are saved during the operation of the program executing the GUI library. Some GUI libraries read data files called resource files and the like to dynamically determine display contents at the time of execution. There is also a GUI library that employs both formats simultaneously.

静的に表示内容を設定するGUIライブラリでは、GUIに関する設定値は呼出し元のプログラムのソースコードに記述され、動的に表示内容を設定するGUIライブラリではリソースファイルにGUIに関する設定値が記録される。
さらに、これらのGUIライブラリを用いたプログラムにおける表示画面の開発作業の生産性を向上させるために、実際のGUI表示イメージをプレビューしながら、画面上にGUI部品を配置してゆくことでユーザインタフェース部分を設計するGUIデザイン開発ツールが利用されている。
GUIデザイン開発ツールは、編集結果からライブラリを呼出すプログラムのソースコードや、ライブラリが実行時に読み込むリソースファイルを自動的に出力して、編集内容をプログラムの画面表示に反映させる。
In the GUI library that statically sets the display contents, the setting values related to the GUI are described in the source code of the calling source program. In the GUI library that dynamically sets the display contents, the setting values related to the GUI are recorded in the resource file. .
Furthermore, in order to improve the productivity of the display screen development work in the program using these GUI libraries, the user interface portion is arranged by arranging GUI parts on the screen while previewing the actual GUI display image. GUI design development tools for designing are used.
The GUI design development tool automatically outputs the source code of the program that calls the library from the editing result and the resource file read by the library at the time of execution, and reflects the edited contents on the screen display of the program.

プログラムの開発プロジェクトにおいては、ベースとなるハードウェア、オペレーティングシステム、実行プラットフォーム、実行時の設定値などによって、画面表示の環境が異なる場合が多い。例えば、同じプログラムが異なる画面サイズのハードウェアで実行される場合や、実行プラットフォームとなるGUIライブラリのバージョンやオプション機能の有無の状況が異なる場合、またはユーザの設定によって表示機能が変更されている場合等である。   In a program development project, the screen display environment is often different depending on the base hardware, operating system, execution platform, setting value at the time of execution, and the like. For example, when the same program is executed on hardware with different screen sizes, when the version of the GUI library that is the execution platform or the presence or absence of optional functions is different, or when the display function is changed according to user settings Etc.

このような多種の表示環境に対応したプログラムを開発する場合には、従来においては、1つの画面に対して、環境毎に複数のGUIデザインを作成する必要があった。これは、ハードウェアの画面サイズが異なる場合、小さいサイズ画面では狭い範囲にユーザインタフェース部品を配置したり小さいサイズに設定したり、表示するメッセージを短い文に変えたりといった変更が必要なためである。
同様に、同じ画面サイズでもハードウェアの構成の仕方によって縦方向と横方向の表示が必要に成る場合では、縦長または横長の画面にあわせて各部品をレイアウトし直す必要があり、画面数が多いプログラムや複雑な画面を表示するプログラムでは、非常に大きな負担となっていた。
In the case of developing a program corresponding to such various display environments, conventionally, it has been necessary to create a plurality of GUI designs for each environment on one screen. This is because if the screen size of the hardware is different, it is necessary to change the user interface components in a narrow range, set it to a small size, or change the displayed message to a short sentence when the screen size is small. .
Similarly, if vertical and horizontal display is required depending on how the hardware is configured even if the screen size is the same, it is necessary to re-lay out each part according to the vertical or horizontal screen, and the number of screens is large. Programs and programs that display complex screens have been a very heavy burden.

例えば、図31に示すような表示画面を備えた携帯電話機3101において、表示画面を図32に示すように横長方向に回転して画面を縦横の両方向で使用できるようにした機種がある。画面がこのように変化する携帯電話機3101にあっては、縦横両方の画面のデザインが必要になる。これらの画面は、写真や発信ボタンなど構成している部品は共通であるが、画面の方向に合わせて、各部品の位置やサイズが異なる。このように、複数の画面で共通部分が多い場合であっても、従来の画面デザイン手法では、各画面のデザインを実行環境毎に作成する必要があった。   For example, in a cellular phone 3101 having a display screen as shown in FIG. 31, there is a model in which the display screen is rotated in the horizontal direction as shown in FIG. 32 so that the screen can be used in both the vertical and horizontal directions. In the mobile phone 3101 whose screen changes in this way, both vertical and horizontal screen designs are required. These screens have the same components, such as a photo and a send button, but the positions and sizes of the components differ depending on the direction of the screen. As described above, even when there are many common parts in a plurality of screens, the conventional screen design method needs to create a design for each screen for each execution environment.

また、実行環境によっては一部の動作を変更しなければならない場合も発生している。例えば、画面上に配置されたユーザインタフェース部品の間で、方向キーによって入力フォーカスが移動するプログラムでは、例えば左上から右下といったルールに従ってフォーカスを移動させることが多い。このとき縦横の画面方向に応じて部品の並び方が変わるプログラムでは、操作性を統一するためにフォーカス移動の順序を変更しなければならない。こういった場合にも、部品の配置状況に応じてフォーカスを制御する処理を用意する必要があり、煩雑な処理ロジックが必要となっていた。   In some cases, some operations must be changed depending on the execution environment. For example, in a program in which the input focus is moved by a direction key between user interface components arranged on the screen, the focus is often moved according to a rule such as upper left to lower right. At this time, in a program that changes the arrangement of components according to the vertical and horizontal screen directions, the order of focus movement must be changed in order to unify operability. Even in such a case, it is necessary to prepare a process for controlling the focus in accordance with the arrangement state of the components, which requires complicated processing logic.

このような問題に対応するために、高機能なGUIライブラリの中には、画面サイズの設定が変更された場合に、自動的に位置情報を再計算して部品を再配置するものがある。これらは部品の位置を(x,y)座標のような固定値だけでなく、画面左端からの距離や特定の部品からの相対位置などで指定する機能や、部品の大きさを画面サイズに対する割合で指定できる機能を持っている。これは、異なる画面サイズで実行された場合にも自動的に部品の位置を変更して、1つのGUIデザインの設定値で、多種多様な画面サイズに対応するものである。   In order to deal with such a problem, some high-performance GUI libraries automatically recalculate position information and rearrange parts when the screen size setting is changed. These are not only fixed values such as (x, y) coordinates, but also the function to specify the position of the part by the distance from the left edge of the screen, the relative position from a specific part, etc., and the size of the part as a percentage of the screen size It has a function that can be specified with. In this case, even when executed with different screen sizes, the position of the component is automatically changed, and a single GUI design setting value corresponds to various screen sizes.

プログラム開発では、プログラムの動作状態を実際に確認しながらGUIデザインの編集を進めてゆく場合が多い。プログラムを実際の環境上や、シミュレータやエミュレーターと呼ばれる仮想マシン上で実行することで、GUIデザインの編集結果を確認するものである。
GUIデザイン開発ツールと、部品再配置機能を備えたライブラリ、さらにプログラムの実行確認環境を組み合わせることで、複数の画面レイアウト状態における表示を確認しながらGUIデザインを開発することが可能である。
実行環境の設定を切替えたり、実行環境のプラットフォームを切替えたりすることで、1つのプログラムを複数の環境で実行できるため、それぞれの実行環境における動作状況を切替えながらGUIデザインを編集することができる。そして、その編集結果から、GUIライブラリを呼出すソースコードやGUI表示データを出力することで、効率的に開発作業を進めることが可能である。
In program development, GUI design editing often proceeds while actually confirming the operating state of the program. By executing the program in an actual environment or on a virtual machine called a simulator or an emulator, the editing result of the GUI design is confirmed.
By combining a GUI design development tool, a library having a component rearrangement function, and a program execution confirmation environment, it is possible to develop a GUI design while confirming display in a plurality of screen layout states.
By switching the setting of the execution environment or switching the platform of the execution environment, one program can be executed in a plurality of environments, so that the GUI design can be edited while switching the operation status in each execution environment. Then, from the editing result, the source code for calling the GUI library and the GUI display data are output, so that the development work can be advanced efficiently.

GUI表示データとは、GUIライブラリが実行時に表示部品を配置し、色や文字、画像などの属性を設定し、またイベント動作を決定するために使用するXMLデータやバイナリデータ、テキストデータなど、GUI表示の制御情報を含むソースコード以外のデータを指している。   GUI display data refers to GUI data such as XML data, binary data, text data, etc. that are used to place display components at runtime, set attributes such as colors, characters, and images, and determine event operations. Data other than source code that includes display control information.

このような公知文献の例として、自動的に表示部品の位置とサイズの変更が可能なGUI表示プログラムと書式ファイルに定義されたレイアウト情報を組み合わせて、GUIの自動レイアウトを可能とした、下記の特許文献1などがある。   As an example of such a known document, a GUI display program capable of automatically changing the position and size of a display component and layout information defined in a format file are combined to enable automatic GUI layout as described below. There exists patent document 1 etc.

特開平10−228372号公報Japanese Patent Laid-Open No. 10-228372

GUIライブラリを用いるプログラムのGUIデザイン開発において、複数の実行環境で共通に利用できるGUIデザインを開発するためには、環境の数だけ複数の画面デザインを作成するか、自動再配置に対応したライブラリを利用する必要がある。また、実行環境によって異なる処理を行うプログラムでは、環境を判定して別個の処理を行うロジックを作成する必要がある。   In GUI design development of programs that use GUI libraries, in order to develop GUI designs that can be used in common in multiple execution environments, create multiple screen designs for the number of environments, or create libraries that support automatic relocation. Need to use. In a program that performs different processing depending on the execution environment, it is necessary to create a logic that determines the environment and performs separate processing.

実行環境の数だけGUIデザインを作成する場合は、GUIデザイン作成の手間が何倍にも増加するだけでなく、GUIデザインの変更のために大きな手間が掛かるという問題がある。
同一のユーザインタフェース部品と同一の機能を持った画面でも、ユーザインタフェース部品の位置やサイズが異なるだけで多数のGUIデザインを行わなければならず、デザイン結果から生成されたソースコードやGUI表示データが期待通りに動作することを確認する作業も、実行環境の数だけ必要となる。
In the case of creating GUI designs for the number of execution environments, there is a problem that not only the effort for GUI design creation is increased many times, but also a great effort is required for changing the GUI design.
Even on a screen having the same function as the same user interface component, a large number of GUI designs must be performed only by changing the position and size of the user interface component. Source code and GUI display data generated from the design result are The number of execution environments is also required to confirm that it works as expected.

また、画面に新たな部品を追加する作業では、複数のGUIデザインに対して追加作業を行って、適切に管理する必要がある。
同じ画面を示す複数のGUIデザイン情報がツール上で連動していない場合が多いため、画面名やコメントなどにより手作業で管理せざるをえず、メンテナンスやエンハンスの効率が低下すると共に、ミスが発生し易いという問題があった。
In addition, in the operation of adding a new part to the screen, it is necessary to perform an additional operation for a plurality of GUI designs and appropriately manage them.
Since multiple GUI design information showing the same screen is often not linked on the tool, it must be managed manually by screen names and comments, etc., and maintenance and enhancement efficiency decreases, and mistakes are made. There was a problem that it was likely to occur.

自動再配置に対応したGUIライブブラリを使用する方法では、GUIライブラリで設定可能な配置方法しか選択できないという問題がある。
例えばユーザインタフェース部品の横サイズを「固定値」または「画面幅に対する割合」の2通りで設定できるGUIライブラリを利用するケースでは、全ての実行環境で一定の割合の横サイズとして良いプログラム以外には対応できない。例えば、画面の横幅が200pixel〜1600pixelの実行環境が想定される場合に、ある程度以上大きな画面や逆に小さな画面では、一定の割合の横幅では大き過ぎて余白が発生する問題や、逆に小さ過ぎて全ての情報を表示できない問題などが発生する。
通常は特別な画面サイズに対応する処理として、画面サイズが一定範囲を超えたら固定値とするといった処理を追加するが、固定値と可変値を切替える処理を実装するソースコードが必要となるため、画面デザインとソースコードをツール上で関連付けできない上に、部品のサイズや画面のバターンによって複雑なメンテナンスが必要になるという問題があった。
In the method using the GUI library corresponding to the automatic rearrangement, there is a problem that only an arrangement method that can be set in the GUI library can be selected.
For example, in the case of using a GUI library in which the horizontal size of the user interface component can be set in two ways of “fixed value” or “ratio to the screen width”, other than programs that can be set to a fixed proportion of horizontal size in all execution environments I can not cope. For example, when an execution environment with a screen width of 200 pixels to 1600 pixels is assumed, on a screen that is larger than a certain size, or on the contrary, a small screen, on the other hand, a certain percentage of the width is too large and margins are generated. Problem that cannot display all information.
Normally, as a process corresponding to a special screen size, a process such as a fixed value is added when the screen size exceeds a certain range, but since source code that implements a process to switch between a fixed value and a variable value is required, There is a problem that the screen design and the source code cannot be associated with each other on the tool, and complicated maintenance is required depending on the size of the part and the pattern of the screen.

また、実行環境に応じて処理を切替える場合も同様である。GUIデザインツールとソースコードが自動的に関連付けられないため、仕様書やソースコードのコメントによって手作業で実行環境と処理ロジックの関連付けを管理する必要がある。
また、部品の追加や画面サイズの変更などが発生した場合に、画面デザインの変更に伴う影響範囲を特定して、適切なソースコード修正を行うためには大きな作業量が必要となり、メンテナンス及びエンハンスの効率が低下する問題となっていた。
The same applies to the case where processing is switched according to the execution environment. Since the GUI design tool and the source code are not automatically associated with each other, it is necessary to manually manage the association between the execution environment and the processing logic based on the specification or the comment of the source code.
In addition, when parts are added or the screen size is changed, a large amount of work is required to identify the scope of impact associated with the screen design change and make appropriate source code corrections. It has become a problem that the efficiency of.

本発明の目的は、以上のような問題点を考慮し、複数の実行環境毎に異なるデザインを持つユーザインタフェースを効率的にデザインし、そのデザイン結果から実行環境毎に異なるGUI表示データとソースコードを効率的に出力し、GUI表示データを含むプログラムの開発、修正、保守作業の効率化を図ることができるソースコード生成装置を提供することである。   An object of the present invention is to efficiently design a user interface having a different design for each of a plurality of execution environments in consideration of the above problems, and to display GUI display data and source code that are different for each execution environment from the design result. Is provided, and a source code generation apparatus capable of improving the efficiency of development, correction, and maintenance work of a program including GUI display data is provided.

上記目的を達成するために、本発明のソースコード生成装置は、コンピュータに実行させるプログラムのソースコード及びユーザインタフェース部品を表示画面に表示するためのGUI表示データを生成するソースコード生成装置であって、
ユーザインタフェース部品1つ1つに対して実行環境毎に異なる位置、サイズ、部品の属性、イベント動作などの部品要素情報を独立して編集し、複数の実行環境情報と関連付けて記憶する記憶手段と、記憶された部品要素情報に基づき指定された実行環境に対応したユーザインタフェース部品のGUI表示データ及び当該GUI表示データを用いてユーザインタフェース部品を表示するためのソースコードを生成して出力するソースコード及びGUI表示データ生成手段を備えることを特徴とする。
また、GUI表示データによりユーザインタフェース部品を編集画面にプレビューする手段を備えることを特徴とする。
また、実行環境に応じて、一部のユーザインタフェース部品をソースコードまたはGUI表示データの出力対象から除外する手段を有することを特徴とする。
In order to achieve the above object, a source code generation device of the present invention is a source code generation device for generating GUI display data for displaying a source code of a program to be executed by a computer and a user interface component on a display screen. ,
Storage means for independently editing component element information such as a position, size, component attribute, and event action that are different for each execution environment for each user interface component, and storing the information in association with a plurality of execution environment information; Source code for generating and outputting user interface component GUI display data corresponding to the execution environment specified based on the stored component element information and source code for displaying the user interface component using the GUI display data And a GUI display data generation means.
In addition, a means for previewing a user interface component on an editing screen by using GUI display data is provided.
Further, according to the execution environment, there is a means for excluding some user interface components from the output target of the source code or GUI display data.

本発明のソースコード生成装置によれば、次のような効果がある。
(1)ソースコード生成装置が出力するソースコード及びGUI表示データの動作対象となる実行環境が複数存在する場合に、1つの画面デザインに対して複数の位置、属性、イベント動作などの部品要素情報を実行環境毎に個別に指定して編集することで、実行環境毎に最適の画面デザインを持ったプログラムのソースコード及びGUI表示データを編集し、生成することが可能となる。
(2)プログラムのGUIデザイン開発において、1つの画面で複数の実行環境に対応したデザイン結果やイベント動作を、ソースコード生成装置上でデザイン時にプレビューして確認することにより、実際にプログラムを動作させて確認するために必要な作業を軽減できる。
(3)複数の実行環境のうち、一部のユーザインタフェース部品が特定の環境で不要と成る場合には、これらを除外したGUIデザインを設計し、ソースコードまたはGUI表示データを生成することによって、ユーザインタフェース部品の制御に必要な処理の記述と、GUIデザインと連携した管理を自動的に行うことが可能となる。
According to the source code generation device of the present invention, there are the following effects.
(1) Component element information such as a plurality of positions, attributes, and event operations for one screen design when there are a plurality of execution environments that are the operation targets of the source code and GUI display data output from the source code generation device. Can be specified and edited for each execution environment to edit and generate the source code and GUI display data of the program having the optimum screen design for each execution environment.
(2) In GUI design development of a program, the design results and event operations corresponding to multiple execution environments on a single screen are previewed and confirmed on the source code generator at the time of design, so that the program is actually operated. Can reduce the work required for confirmation.
(3) Among some execution environments, when some user interface parts are unnecessary in a specific environment, a GUI design excluding these is designed, and by generating source code or GUI display data, It is possible to automatically perform processing description necessary for control of user interface components and management linked with GUI design.

以下に、本発明を適用した、複数の実行環境に対応したGUIデザインを行うソースコード生成装置の一実施の形態について説明する。
図1は、本発明の実施形態の一例を示すシステム構成図である。
本ソースコード生成装置は、処理装置1、入力装置2、表示装置3、GUIデザイン情報ファイル4、リソースファイル5、複数の素材データファイル6、ソースファイル7、GUI表示データファイル8、メモリ9、CPU10、既存のデザイン情報ファイル99からなり、入力装置2はキー入力装置21とポインティング入力装置22からなり、メモリ9の上でソースコード生成プログラム91とオペレーティングシステム92が実行される。
Hereinafter, an embodiment of a source code generation device that applies a GUI design corresponding to a plurality of execution environments to which the present invention is applied will be described.
FIG. 1 is a system configuration diagram showing an example of an embodiment of the present invention.
The source code generation device includes a processing device 1, an input device 2, a display device 3, a GUI design information file 4, a resource file 5, a plurality of material data files 6, a source file 7, a GUI display data file 8, a memory 9, and a CPU 10. The input device 2 includes a key input device 21 and a pointing input device 22, and a source code generation program 91 and an operating system 92 are executed on the memory 9.

図2は、ソースコード生成プログラム91の機能、テーブルおよび処理対象データを示すブロック図である。
ソースコード生成プログラム91は、GUI編集機能101と、部品属性編集機能102と、イベント動作編集機能103と、実行環境選択機能104と、ユーザインタフェース部品提供機能105と、リソース管理機能106と、GUIデザイン情報ファイル入出力機能111と、リソースファイル入出力機能112と、ソースコード生成機能113と、GUI表示データ生成機能114から構成され、GUIデザイン情報を記録したGUIデザイン情報ファイル4と、素材データの情報を管理するリソースファイル5と、ユーザインタフェース部品に設定してGUIを構成する画像や文字列である素材データを記録した複数の素材データファイル6と、従来の技術で開発したデザイン情報を記録した既存のデザイン情報ファイル99と、GUIデザイン情報ファイル4から読み込まれた画面単位の情報を管理する画面テーブル201と、GUIデザイン情報ファイル4から読み込まれたユーザインタフェース部品の位置、属性、イベント動作などの部品要素情報を管理する部品テーブル202と、GUIデザイン情報ファイル4から読み込まれた実行環境の情報を管理する環境テーブル203と、予め登録されたユーザインタフェース部品の種別や原型情報を管理する原型テーブル204と、リソースファイル5から読み込まれた素材データの情報を管理するリソーステーブル205と、複数の素材データファイル6の内容を読み込んだ素材テーブル206と、GUIデザインの結果を視覚的な表示結果イメージとして合成した複数のプレビュー画面301と、ソースコード生成機能113およびGUI表示データ生成機能114の処理結果を示す結果情報302と、GUIデザイン結果から生成されたソースコード303と、GUIデザイン結果から生成されたGUI表示データ304を有し、ソースコード生成機能113によってソースコード303をソースファイル7に、GUI表示データ生成機能114によってGUI表示データ304をGUI表示データファイル8に出力する。
また、データ保存処理として画面テーブル201と部品テーブル202の内容をGUIデザイン情報ファイル4に、リソーステーブル205の内容をリソースファイル5に出力する。
FIG. 2 is a block diagram showing functions, tables, and processing target data of the source code generation program 91.
The source code generation program 91 includes a GUI editing function 101, a component attribute editing function 102, an event operation editing function 103, an execution environment selection function 104, a user interface component providing function 105, a resource management function 106, and a GUI design. A GUI design information file 4 that records GUI design information, and includes information on an information file input / output function 111, a resource file input / output function 112, a source code generation function 113, and a GUI display data generation function 114 A resource file 5 that manages user data, a plurality of material data files 6 that record material data, which are images and character strings that are set in user interface components, and existing design information that has been developed using conventional technology Design information file 99, A screen table 201 for managing information in units of screens read from the UI design information file 4, and a component table for managing component element information such as positions, attributes, and event actions of user interface components read from the GUI design information file 4. 202, an environment table 203 for managing execution environment information read from the GUI design information file 4, a prototype table 204 for managing types and prototype information of user interface parts registered in advance, and a resource file 5. A resource table 205 that manages information on the material data, a material table 206 that reads the contents of a plurality of material data files 6, a plurality of preview screens 301 that combine GUI design results as visual display result images, Source code A function 113 and a GUI display data generation function 114, the result information 302, the source code 303 generated from the GUI design result, and the GUI display data 304 generated from the GUI design result. The source code 303 is output to the source file 7 by 113, and the GUI display data 304 is output to the GUI display data file 8 by the GUI display data generation function 114.
Further, the contents of the screen table 201 and the parts table 202 are output to the GUI design information file 4 and the contents of the resource table 205 are output to the resource file 5 as data storage processing.

本実施形態のソースコード生成装置の表示装置に表示される画面の例を図3に示す。
本装置の画面50aは部品提供ウィンドウ51a、GUI編集ウィンドウ52a、イベント編集ウィンドウ53a、実行環境選択ウィンドウ54a、部品属性表示ウィンドウ55a、リソース管理ウィンドウ56aからなり、画面50aの一部に新規画面作成ボタン57a、ソース生成ボタン58aが表示されている。
また、GUI編集ウィンドウ52aにはユーザインタフェース部品521a、522a、523aのプレビュー画像が表示されている。
なお、図2においては、本ソースコード生成装置の動作中に生成されるデータのうち、メモリ9上に生成されるデータを40に、ファイルとして存在するデータを41に示すが、これは本実施例における実装の想定によるものであり、メモリとファイルの配置種別を上記に限定するものではない。
An example of a screen displayed on the display device of the source code generation device of this embodiment is shown in FIG.
The screen 50a of this apparatus includes a component providing window 51a, a GUI editing window 52a, an event editing window 53a, an execution environment selection window 54a, a component attribute display window 55a, and a resource management window 56a. A new screen creation button is provided as part of the screen 50a. 57a and a source generation button 58a are displayed.
Also, preview images of user interface components 521a, 522a, and 523a are displayed in the GUI editing window 52a.
In FIG. 2, among the data generated during the operation of the source code generation device, data generated on the memory 9 is indicated by 40 and data existing as a file is indicated by 41. This is based on the assumption of the implementation in the example, and the arrangement type of the memory and the file is not limited to the above.

図4及び図5は、環境テーブル203および部品テーブル202の例およびそれぞれのテーブルのエントリの関連を示す図であり、図4は新しい実行環境のデータが追加される前の状態を符号203aおよび202aで示し、図5は新しい実行環境のデータが追加された後の状態を符号203bおよび202bで示している。
環境テーブル203aは、VGAやQVGAなど実行環境ごとにエントリを保持し、実行環境に関する画面サイズや色数、固有イベントなどの情報を記録する。
部品テーブル202aは、ボタンやテキストなど画面に配置するGUI部品ごとにエントリを保持し、さらに各エントリは、環境テーブル20a内に保持した実行環境に対応してサブエントリを保持する。各サブエントリは、部品に関する情報のうち、部品のサイズや位置など環境に依存した情報を記録する。
図4及び図5において、○印を付したエントリは、カレント実行環境(実行環境選択ウィンドウにおいて選択されている実行環境)のエントリを表わす。
FIGS. 4 and 5 are diagrams showing examples of the environment table 203 and the parts table 202 and the relationship between the entries in the respective tables. FIG. 4 shows the state before the new execution environment data is added by reference numerals 203a and 202a. FIG. 5 shows the state after the new execution environment data is added by reference numerals 203b and 202b.
The environment table 203a holds an entry for each execution environment such as VGA and QVGA, and records information such as the screen size, the number of colors, and unique events related to the execution environment.
The component table 202a holds an entry for each GUI component arranged on the screen such as a button or text, and each entry holds a subentry corresponding to the execution environment held in the environment table 20a. Each sub-entry records information depending on the environment, such as the size and position of the component, among the information related to the component.
In FIG. 4 and FIG. 5, an entry with a circle represents an entry of the current execution environment (execution environment selected in the execution environment selection window).

図6は、画面テーブル201の例を示す。画面テーブル201は、氏名入力画面など、画面ごとにエントリを保持し、画面に配置した部品間の親子関係など、画面内のGUI部品に関する情報のうち実行環境に依存しないものを記録する。
図6において、○印や◎印は、画面テーブル201内のエントリのうちGUI編集ウィンドウ52aに表示中の画面(「カレント画面」とよぶ)、およびカレント画面に配置したGUI部品のうち選択状態のものを表す。
FIG. 6 shows an example of the screen table 201. The screen table 201 holds an entry for each screen, such as a name input screen, and records information that does not depend on the execution environment among GUI components in the screen, such as a parent-child relationship between components arranged on the screen.
In FIG. 6, ○ mark and ◎ mark indicate the selected state of the GUI component arranged on the screen (referred to as “current screen”) displayed in the GUI edit window 52a among the entries in the screen table 201. Represents a thing.

図7は、原型テーブル204の例を示す。一般に、GUI部品は、枠線の太さや表示文字のフォントなど各種の属性を持つ。GUI部品がどのような属性を持つかは、ボタンやテキストといった部品の種別によって決定され、各属性がどのような値を持つかは、個々の部品のインスタンスごとに決定される。
原型テーブル204は、GUI部品の種別ごとにエントリを保持し、各種別の部品が持つ属性およびそのデフォルト値を記録する。
なお、個々の部品のインスタンスの属性値は、部品テーブル202に記録されている。
FIG. 7 shows an example of the prototype table 204. In general, a GUI component has various attributes such as the thickness of a frame line and a font of a display character. The attribute of a GUI component is determined by the type of component such as a button or text, and the value of each attribute is determined for each instance of each component.
The prototype table 204 holds an entry for each type of GUI component, and records attributes and default values of various types of components.
Note that the attribute value of the instance of each component is recorded in the component table 202.

図8は、リソーステーブル205の例を示す。リソースとは、文字列や画像など、GUI画面を構成するデータのことである。リソーステーブル205は、リソースごとにエントリを保持し、リソースを特定するための識別子(リソースID)、および文字列や画像といったデータの型(MIME TYPE)およびその値などを保持する。具体的には、文字列型であれば文字列自体、画像型であれば画像を格納したファイルのパスなどを保持する。   FIG. 8 shows an example of the resource table 205. A resource is data constituting a GUI screen, such as a character string or an image. The resource table 205 holds an entry for each resource, and holds an identifier (resource ID) for specifying the resource, a data type (MIME TYPE) such as a character string and an image, its value, and the like. Specifically, the character string itself is stored for the character string type, and the path of the file storing the image is stored for the image type.

図9は、素材テーブル206の例を示す。素材とは、データのうち画像、音声、動画など、マルチメディアコンテンツのことである。素材テーブル206は、素材ごとにエントリを保持し、素材を特定するための識別子、画像を格納したファイルのパスなどを記録する。   FIG. 9 shows an example of the material table 206. The material is multimedia content such as an image, sound, and moving image in the data. The material table 206 holds an entry for each material, and records an identifier for specifying the material, a path of a file storing an image, and the like.

以上の構成に係るソースコード生成装置の処理の概要は以下の通りである。
ソースコード生成機能113は、編集開始時にユーザの指定に従ってGUIデザイン情報ファイル入出力機能111を使用してGUIデザイン情報ファイル4を読み込み、画面テーブル201、部品テーブル202、環境テーブル203に内容を設定し、リソースファイル入出力機能112を使用してリソースファイル5、複数の素材データファイル6を読み込んで、リソーステーブル205、素材テーブル206に内容を設定する。
さらに、予めプログラムされた内容から原型テーブル204を生成する。テーブルの準備完了後に、画面テーブル201と部品テーブル202、リソーステーブル205、素材テーブル206の内容から、画面上に配置された部品の表示状態を示すプレビュー画面301を生成してGUI編集ウィンドウ52aの初期画面として表示し、リソーステーブルの内容をリソース管理ウィンドウ56aに設定し、部品属性表示ウィンドウ55aとイベント編集ウィンドウ53aの内容をクリアして初期化し、原型テーブル204の内容を部品提供ウィンドウ51aに表示し、環境テーブル203の内容を実行環境選択ウィンドウ54aに表示してユーザの操作待ち状態に入る。
The outline of the processing of the source code generation device according to the above configuration is as follows.
The source code generation function 113 reads the GUI design information file 4 using the GUI design information file input / output function 111 according to the user's specification at the start of editing, and sets the contents in the screen table 201, the parts table 202, and the environment table 203. The resource file 5 and the plurality of material data files 6 are read using the resource file input / output function 112, and the contents are set in the resource table 205 and the material table 206.
Further, the prototype table 204 is generated from the contents programmed in advance. After the table preparation is completed, a preview screen 301 showing the display state of the parts arranged on the screen is generated from the contents of the screen table 201, the parts table 202, the resource table 205, and the material table 206, and the initial GUI editing window 52a It is displayed as a screen, the contents of the resource table are set in the resource management window 56a, the contents of the part attribute display window 55a and the event editing window 53a are cleared and initialized, and the contents of the prototype table 204 are displayed in the part providing window 51a. Then, the contents of the environment table 203 are displayed on the execution environment selection window 54a to enter a user operation waiting state.

なお、本実施形態のソースコード生成装置は、従来技術によって作成したデザイン情報のファイルである既存のデザイン情報ファイル99も利用することができる。すなわち、本発明のGUIデザイン情報においては、図4の部品テーブル202に示すとおり、各GUI部品のレイアウト情報を実行環境ごとに記録する。一方、従来技術においては、1つのGUIデザイン情報には1つの実行環境用のレイアウト情報を記録する。従来の複数のGUIデザイン情報ファイル99を読み込んでマージし、本発明でのデザイン情報ファイルに変換することによって、既存のデザイン情報ファイル99を利用することが可能となる。
本ソースコード生成装置における起動時のデータの流れを図10に示す。
Note that the source code generation apparatus of the present embodiment can also use an existing design information file 99 which is a design information file created by a conventional technique. That is, in the GUI design information of the present invention, as shown in the component table 202 of FIG. 4, the layout information of each GUI component is recorded for each execution environment. On the other hand, in the prior art, layout information for one execution environment is recorded in one GUI design information. An existing design information file 99 can be used by reading and merging a plurality of conventional GUI design information files 99 and converting them into a design information file according to the present invention.
FIG. 10 shows a data flow at the time of activation in the source code generation device.

ユーザの操作待ち状態において、次に、GUIデザインの編集を行う場合には、編集対象となる実行環境を実行環境選択機能104から選択し、ユーザインタフェース部品提供機能105から新規画面の追加を作成する。
画面追加操作によって、画面テーブル201に新規エントリが追加され、GUI編集ウインドウ52aにユーザインタフェース部品を持たない空白の画面のプレビュー画像が表示される。
When the GUI design is to be edited next while waiting for a user operation, the execution environment to be edited is selected from the execution environment selection function 104 and a new screen is added from the user interface component provision function 105. .
As a result of the screen addition operation, a new entry is added to the screen table 201, and a preview image of a blank screen having no user interface component is displayed in the GUI editing window 52a.

次に、GUI編集ウインドウ52aに表示された空白の領域に対してユーザインタフェース部品提供ウインドウ51aから必要なユーザインタフェース部品を選択し、ドラッグ&ドロップ操作によってGUI編集ウインドウ52aに追加する。
ユーザインタフェース部品を追加した結果、部品テーブル202に新規エントリが追加され、GUI編集機能101のプレビュー画像にユーザインタフェース部品のイメージ図形が追加される。
Next, necessary user interface components are selected from the user interface component providing window 51a for the blank area displayed in the GUI editing window 52a, and added to the GUI editing window 52a by a drag and drop operation.
As a result of adding the user interface component, a new entry is added to the component table 202, and the image graphic of the user interface component is added to the preview image of the GUI editing function 101.

また、部品テーブル202のエントリには、対応するユーザインタフェース部品の位置、サイズ、属性値、イベント動作などの情報が、環境テーブル203に設定された環境の数だけ複数格納されており、プレビュー画像の生成には、その時点で実行環境選択ウインドウ54aに指定された実行環境の位置、サイズ、属性値、イベント動作の情報が利用される。
環境テーブル203と部品テーブル202の例および環境テーブルエントリと部品テーブルのエントリ内の属性情報の関連は図4に示した通りである。
Also, the entry of the part table 202 stores a plurality of pieces of information such as the position, size, attribute value, and event action of the corresponding user interface part for the number of environments set in the environment table 203. For generation, information on the position, size, attribute value, and event action of the execution environment designated in the execution environment selection window 54a at that time is used.
Examples of the environment table 203 and the parts table 202 and the relationship between the attribute information in the environment table entry and the part table entry are as shown in FIG.

入力装置2を構成するポインティング入力装置22の操作によってユーザインタフェース部品を選択し、位置とサイズを変更できる。変更されたユーザインタフェース部品の位置情報及びサイズ情報は、部品テーブル22内の対応するエントリに記憶される。
複数のユーザインタフェース部品からなる画面を作成する場合には、部品提供ウインドウ51aから部品を追加する操作を必要な回数だけ繰り返す。
A user interface component can be selected by operating the pointing input device 22 constituting the input device 2, and the position and size can be changed. The changed position information and size information of the user interface component are stored in a corresponding entry in the component table 22.
When creating a screen composed of a plurality of user interface components, the operation of adding components from the component providing window 51a is repeated as many times as necessary.

ユーザインタフェース部品の属性情報を編集する際には、GUI編集ウインドウ52aに表示されたユーザインタフェース部品をポインティング入力装置22で選択する。すると、選択されたユーザインタフェース部品の属性情報が一覧表として部品属性編集機能102によって部品属性表示ウインドウ55aに表示される。
ユーザインタフェース部品の属性の設定値を変更する場合には、キー入力装置21によって新しい設定値を入力するか、またはポインティング入力装置22によって新しい設定値を選択する。
When editing the attribute information of the user interface component, the user interface component displayed in the GUI editing window 52a is selected by the pointing input device 22. Then, the attribute information of the selected user interface component is displayed as a list in the component attribute display window 55a by the component attribute editing function 102.
When changing the setting value of the attribute of the user interface component, the new setting value is input by the key input device 21 or the new setting value is selected by the pointing input device 22.

ユーザインタフェース部品の属性値には、GUIライブラリで提供されるクラスやGUI表示データと1対1に対応した設定値の他に、本ソースコード生成装置の動作を指定する仮想的な属性値も含まれる。例えばソースコードへの出力の有無を指定する属性値はソースコード生成機能113またはGUI表示データ生成機能114の動作を制御するための内部パラメタで、ONに設定された状態でソースコード生成を実行すると、該当するユーザインタフェース部品の処理をソースファイルまたはGUI表示データファイルに出力し、OFFの場合は出力しない制御を行う。
ソースコード出力値の他にも、イベント制御の有無を指定する属性、ソースコードファイル名を指定する属性など、GUIライブラリ内のクラスが持つ設定値とは直接関係のない属性値も存在し、部品テーブル202上のエントリに記録される
The attribute value of the user interface component includes a virtual attribute value that specifies the operation of the source code generation device in addition to the setting value corresponding to the class and GUI display data provided in the GUI library on a one-to-one basis. It is. For example, an attribute value specifying whether or not to output to the source code is an internal parameter for controlling the operation of the source code generation function 113 or the GUI display data generation function 114, and when the source code generation is executed in a state set to ON. The processing of the corresponding user interface component is output to the source file or the GUI display data file, and control is not performed when it is OFF.
In addition to the source code output value, there are also attribute values that are not directly related to the setting value of the class in the GUI library, such as an attribute that specifies the presence / absence of event control and an attribute that specifies the source code file name. Recorded in entry on table 202

ユーザインタフェース部品の属性値に指定される文字列や画像などの素材データの情報は、一旦リソーステーブル205と素材テーブル206に登録された後に、部品属性編集機能102の選択肢として部品属性表示ウインドウ55aに表示される。
リソーステーブル205に素材データファイル6を登録する場合には、リソース管理機能106で新規エントリを作成する。新しく素材データファイルまたは素材文字列を入力した後に追加ボタンを選択すると、リソーステーブル205に素材データ及びリソースの属性情報(ファイル種別など)を格納した新エントリを追加し、素材テーブル206に選択された素材データファイル6の内容を読込んだ新エントリを作成する。
Information on material data such as character strings and images specified as attribute values of user interface parts is once registered in the resource table 205 and the material table 206 and then displayed in the part attribute display window 55a as an option of the part attribute editing function 102. Is displayed.
When registering the material data file 6 in the resource table 205, the resource management function 106 creates a new entry. When an add button is selected after inputting a new material data file or material character string, a new entry storing material data and resource attribute information (file type, etc.) is added to the resource table 205, and the material table 206 is selected. A new entry is created by reading the contents of the material data file 6.

このようにして作成されたリソーステーブル205の内容が部品属性編集機能102の属性値候補として部品属性表示ウインドウ55aに一覧表示され、本ソースコード生成装置の操作者はポインティング入力装置22で指定することにより、ユーザインタフェース部品に設定する素材データファイル6を指定する属性を編集できる。
素材属性を含めたユーザインタフェース部品の属性の設定値はプレビュー画面301に即座に反映される。GUIデザイン編集時のブロック図上の処理とデータの流れを図11に示す。
The contents of the resource table 205 created in this way are displayed as a list of attribute value candidates of the component attribute editing function 102 in the component attribute display window 55a, and the operator of the source code generation device specifies with the pointing input device 22. Thus, the attribute specifying the material data file 6 set in the user interface component can be edited.
Setting values of user interface component attributes including material attributes are immediately reflected in the preview screen 301. FIG. 11 shows the process on the block diagram and the flow of data when editing the GUI design.

ユーザインタフェース部品のイベント動作を編集する場合には、GUI編集機能101で編集対象のユーザインタフェース部品を選択する。すると、選択された部品のイベント動作情報がイベント動作編集機能103によりイベント編集ウインドウ53aに一覧形式で表示されるので、ユーザインタフェース部品が受け取るイベントに対する動作をポインティング入力装置22またはキー入力装置21で指定する。
イベント動作情報が変更された場合は、対応する部品テーブル202のエントリにイベント動作情報が保存される。
When editing an event operation of a user interface component, the user interface component to be edited is selected by the GUI editing function 101. Then, the event action information of the selected part is displayed in a list format in the event edit window 53a by the event action editing function 103, and the action for the event received by the user interface part is designated by the pointing input device 22 or the key input device 21. To do.
When the event operation information is changed, the event operation information is stored in the entry of the corresponding component table 202.

環境テーブル203に格納された実行環境情報によって、プレビューやGUI編集機能、部品属性編集機能、イベント動作編集機能には異なる内容を表示することが出来る。
例えばVGA(640x480ピクセル)サイズのLCD(液晶表示装置)を使用する実行環境とQVGA(320x240ピクセル)サイズのLCDを使用する実行環境を登録することで、GUIデザイン編集ウインドウ52aの画面領域のサイズを切り替えて編集操作を行うことができる。
Depending on the execution environment information stored in the environment table 203, different contents can be displayed in the preview, GUI editing function, part attribute editing function, and event operation editing function.
For example, by registering an execution environment using a VGA (640x480 pixel) size LCD (liquid crystal display device) and an execution environment using a QVGA (320x240 pixel) size LCD, the size of the screen area of the GUI design editing window 52a can be reduced. Switching operation can be performed.

また,カラーLCDを使用する実行環境と、白黒LCDを使用する実行環境に対してGUIデザインの編集を行っている場合には、「カラーLCD環境」を選択された場合にはプレビュー画像をカラー表示とし、「白黒LCD」環境が選択された場合にはプレビュー画像を白黒表示とすることで、同じ部品からなる画面であっても全く異なるプレビュー表示を行い、より実際の実行環境に近い状況でGUIデザインを編集することが出来る。
さらに環境によって発生するイベントが異なる場合にも、イベント動作編集機能103によってイベント編集ウインドウ53aに表示するイベントの内容を切替えることで、無駄なく必要十分なイベント動作編集を行うことができる。
If the GUI design is edited for an execution environment that uses a color LCD and an execution environment that uses a monochrome LCD, a preview image is displayed in color when “Color LCD environment” is selected. When the “monochrome LCD” environment is selected, the preview image is displayed in black and white, so that a completely different preview is displayed even on a screen made up of the same parts, and the GUI is more realistically closer to the actual execution environment. You can edit the design.
Furthermore, even when the event that occurs differs depending on the environment, the event action editing function 103 can switch the contents of the event displayed on the event edit window 53a, thereby performing necessary and sufficient event action editing without waste.

複数の実行環境に対するユーザインタフェース部品の位置、サイズ、属性値、イベント動作が設定されている場合は、実行環境選択機能104により編集対象としたい実行環境を選択する。
実行環境選択機能104による実行環境の選択内容が変更されると、本ソースコード生成装置はGUI編集機能101、部品属性編集機能102、イベント動作編集機能103によりGUI編集ウインドウ52a、部品属性表示ウィンドウ55a、イベント編集ウインドウ53aに表示される全ての内容を再表示する。
When the position, size, attribute value, and event action of user interface components for a plurality of execution environments are set, the execution environment desired to be edited is selected by the execution environment selection function 104.
When the selection contents of the execution environment by the execution environment selection function 104 are changed, the source code generation apparatus uses the GUI editing function 101, the component attribute editing function 102, and the event operation editing function 103 to change the GUI editing window 52a and the component attribute display window 55a. All the contents displayed in the event editing window 53a are displayed again.

GUI編集ウインドウ52aのプレビュー画像も、部品テーブル202に記憶された情報のうち、新たに選択された実行環境に対応した位置、サイズ、属性値、イベント動作などの情報を元に再描画され、実行環境の選択前とは異なる内容が表示される。
実行環境の切替えにより図3の操作画面が切替えられた状態の例を図12に示す。
図3におけるユーザインタフェース部品521a、522a、523aは、図12ではそれぞれ521c、522c、523cのような異なる位置に配置されている。
ユーザインタフェース部品の属性情報も、図3で選択された523aの属性値55aと、図12における同じ部品523cの属性情報55cとは別に設定されている。
また、実行環境選択機能104により、実行環境の選択値を変更した後には、部品テーブル202に複数保存された位置、サイズ、属性、イベント動作情報のうち、現在選択された実行環境に対応する値のみが変更されるため、他の実行環境に対応した設定値は編集操作の影響を受けることなく保護される。
The preview image of the GUI editing window 52a is also redrawn based on information stored in the parts table 202 such as the position, size, attribute value, and event action corresponding to the newly selected execution environment. The contents are different from those before selecting the environment.
FIG. 12 shows an example of a state in which the operation screen in FIG. 3 is switched by switching the execution environment.
The user interface components 521a, 522a and 523a in FIG. 3 are arranged at different positions such as 521c, 522c and 523c in FIG.
The attribute information of the user interface component is also set separately from the attribute value 55a of 523a selected in FIG. 3 and the attribute information 55c of the same component 523c in FIG.
Further, after the execution environment selection function 104 changes the execution environment selection value, the value corresponding to the currently selected execution environment among the plurality of positions, sizes, attributes, and event operation information stored in the parts table 202 Therefore, setting values corresponding to other execution environments are protected without being affected by the editing operation.

なお、図12に示す「環境2」用のデザイン情報は、図3に示す「環境1」用のデザイン情報をもとに効率的に作成することができる。すなわち、図3の実行環境選択ウィンドウ54aにおいて「環境1」から「環境2」にポインティングデバイス入力装置22の操作によって切替える。
「環境2」では「環境1」に比べて解像度が低いので、そのままでは図13に示す通り、GUI編集ウィンドウ52a内の画面デザインが不適切となる。そこで、GUI編集ウィンドウ52a内で各GUI部品のサイズや位置の調整を行うことによって、図12に示す適切な画面デザインを作成できる。
従来とは異なり、画面を構成するGUI部品といった環境に依存しない情報は共通に利用して、個々のGUI部品のサイズや位置など実行環境に依存する情報のみ、実行環境ごとに編集すればよい。
The design information for “Environment 2” shown in FIG. 12 can be efficiently created based on the design information for “Environment 1” shown in FIG. That is, the environment is switched from “environment 1” to “environment 2” by operating the pointing device input device 22 in the execution environment selection window 54a of FIG.
Since the resolution of “Environment 2” is lower than that of “Environment 1”, the screen design in the GUI editing window 52a becomes inappropriate as shown in FIG. Therefore, an appropriate screen design shown in FIG. 12 can be created by adjusting the size and position of each GUI component in the GUI editing window 52a.
Unlike the prior art, information that does not depend on the environment, such as GUI components constituting the screen, is used in common, and only information that depends on the execution environment, such as the size and position of each GUI component, may be edited for each execution environment.

このように、本ソースコード生成装置の操作者は、GUIデザインの編集中に任意のタイミングで実行環境選択ウインドウ54aで実行環境の選択値を簡単に変更することが出来るため、あたかも各実行環境別に複数の画面デザインを行っているかのように編集操作を行うことが出来る。実行環境を選択した場合の実行環境の切り替え処理の流れを図14に示す。   As described above, the operator of the source code generation apparatus can easily change the selection value of the execution environment in the execution environment selection window 54a at any timing during the editing of the GUI design. Editing operations can be performed as if multiple screen designs were performed. FIG. 14 shows a flow of execution environment switching processing when an execution environment is selected.

次に、実行環境を追加する場合には、実行環境選択ウインドウ54aで追加ボタン541を選択して、新たな実行環境の情報を格納したエントリ203c(図5)を環境テーブル203bに追加する。それと同時に部品テーブル202b(図5)の各エントリの位置、サイズ、属性、イベント動作などの情報の組202cを追加し、新たな環境に対応付けて初期化する。
環境テーブル203及び部品テーブル202に新規の実行環境を追加した場合のデータ変更の例を図5に示す。
Next, when adding an execution environment, an add button 541 is selected in the execution environment selection window 54a, and an entry 203c (FIG. 5) storing information on a new execution environment is added to the environment table 203b. At the same time, a set 202c of information such as the position, size, attribute, and event action of each entry in the parts table 202b (FIG. 5) is added and initialized in association with a new environment.
An example of data change when a new execution environment is added to the environment table 203 and the parts table 202 is shown in FIG.

このようにして編集されたGUIデザインの設定値は、同じ部品の組合せからなる画面を示している。つまり位置、サイズ、属性、イベント動作などのGUIレイアウトや設定が異なるだけの1つの画面であるため、ユーザインタフェース部品を追加、削除する場合には1回だけ追加、削除の操作を行えばよい。すなわち実行環境の数だけ追加または削除操作を繰り返す必要はない。
また、後述の通り1つの部品に対しては1つのクラスやユーザインタフェース部品が割り当てられるため、生成したソースコードで実行環境の数だけユーザコード部品クラスがメモリ上に生成されることはなく、複数の画面を実行時に管理、保存する処理も不要である。
実行環境を削除する場合も同様で、環境テーブル203から対象となるエントリを削除した後に、部品テーブル202の全エントリの位置、サイズ、属性、イベント動作の情報から、削除対象の環境に対応した設定値の組を1セット削除するだけである。
The setting values of the GUI design edited in this way indicate a screen composed of the same component combination. In other words, since the GUI layout and settings such as position, size, attribute, and event action are different, the screen is different, and when adding or deleting user interface parts, the addition and deletion operations need only be performed once. That is, it is not necessary to repeat the addition or deletion operation for the number of execution environments.
Also, as described later, since one class and user interface component are assigned to one component, as many user code component classes as the number of execution environments are not generated in the memory in the generated source code. There is no need to manage and save these screens at runtime.
The same applies to deleting the execution environment. After deleting the target entry from the environment table 203, the setting corresponding to the environment to be deleted is determined from the position, size, attribute, and event action information of all entries in the parts table 202. Only one set of values is deleted.

編集した結果を保存する場合は、GUI編集ウインドウ52aに配置された保存ボタン521を選択する。
本ソースコード生成装置は操作者の編集結果をハードディスクなどの二次記憶装置に保存するために、GUIデザインに関する編集結果をGUIデザイン情報ファイル4に出力する。具体的にはデータ保存処理として画面テーブル201と部品テーブル202の内容をGUIデザイン情報ファイル4に、リソーステーブル205の内容をリソースファイル5に出力する。このとき複数の実行環境に対するユーザインタフェース部品の位置、サイズ、属性値、イベント動作が設定されている場合は、各実行環境に対する設定値を全てGUIデザイン情報ファイル4に保存する。
When saving the edited result, the save button 521 arranged in the GUI edit window 52a is selected.
This source code generation device outputs the editing result related to the GUI design to the GUI design information file 4 in order to save the editing result of the operator in a secondary storage device such as a hard disk. Specifically, the contents of the screen table 201 and the parts table 202 are output to the GUI design information file 4 and the contents of the resource table 205 are output to the resource file 5 as data storage processing. At this time, if the position, size, attribute value, and event action of the user interface components for a plurality of execution environments are set, all the setting values for each execution environment are stored in the GUI design information file 4.

編集したGUI画面のデザイン内容から、ソースコードまたはGUI表示データを生成する場合には、GUI編集装置に配置されたソース生成実行ボタン58aを選択する。すると、本ソースコード生成装置は、操作者のGUIデザインの結果が格納された画面テーブル201、部品テーブル202、リソーステーブル205、素材テーブル206、環境テーブル203の内容をGUIデザイン情報ファイル4に保存する。また、リソーステーブル205の内容をリソースファイル5に保存する。
ソースコードまたはGUI表示データの生成処理において、処理が成功したか、あるいは処理途中において何らかのエラーが発生したかを示す結果情報302をメモリ4上に蓄積し、処理完了後に本ソースコード生成装置の操作者にメッセージとして表示する。
When generating source code or GUI display data from the edited contents of the GUI screen, the source generation execution button 58a arranged in the GUI editing device is selected. Then, the source code generation apparatus saves the contents of the screen table 201, the component table 202, the resource table 205, the material table 206, and the environment table 203 in which the results of the operator's GUI design are stored in the GUI design information file 4. . Further, the contents of the resource table 205 are stored in the resource file 5.
In the generation process of the source code or GUI display data, result information 302 indicating whether the process was successful or some error occurred during the process is stored in the memory 4, and the operation of the source code generation apparatus after the process is completed Message as a message.

このようにして生成されたソースコードまたはGUI表示データには、環境テーブル203に登録された複数の実行環境向けのソースコード及びGUI表示データが含まれる。
本ソースコード生成装置におけるソースコード生成処理の流れを図15に示す。また、生成したソースコードの例を図16に、生成したGUI表示データの例を図17に示す。
The source code or GUI display data generated in this way includes a plurality of execution environment source codes and GUI display data registered in the environment table 203.
FIG. 15 shows the flow of source code generation processing in this source code generation device. An example of the generated source code is shown in FIG. 16, and an example of the generated GUI display data is shown in FIG.

図18は、本ソースコード生成装置のトップレベルの処理を実行するmain()関数の処理を示すフローチャートである。
まず、initialize関数を起動して初期処理を実行する(ステップ1801)。この後、ユーザ操作が発生するまで待機し(ステップ1802)、ユーザ操作が発生したらユーザ操作に応じて処理を分岐する。
ユーザ操作が「新規画面追加」ボタン57aのクリックか判定し(ステップ1803)、そうであればnew_screen()関数を起動して新規画面の追加処理を実行(ステップ1804)後、ユーザ操作が発生するまで待機する。
ユーザ操作が部品提供ウィンドウ51a内の部品のドラッグ操作か判定し(ステップ1805)、そうであればnew_component()関数を起動して部品の追加処理を実行(ステップ1806) 後、ユーザ操作が発生するまで待機する。
FIG. 18 is a flowchart showing the processing of the main () function that executes the top level processing of the source code generation device.
First, the initialize function is activated to execute initial processing (step 1801). Thereafter, the process waits until a user operation occurs (step 1802). When a user operation occurs, the process branches according to the user operation.
It is determined whether the user operation is a click on the “add new screen” button 57a (step 1803). If so, the new_screen () function is activated to execute the new screen addition process (step 1804), and then a user operation occurs. Wait until.
It is determined whether the user operation is a drag operation of the component in the component providing window 51a (step 1805). If so, the new_component () function is activated to execute the component addition process (step 1806), and then a user operation occurs. Wait until.

ユーザ操作がGUI編集ウィンドウ52a内の部品の押下か判定し(ステップ1807)、そうであればhandle_gui()関数を起動してGUI編集処理を実行(ステップ1808)後、ユーザ操作が発生するまで待機する。
ユーザ操作が部品属性表示ウィンドウ55a内のクリックか判定し(ステップ1809)、そうであればhandle_property()関数を起動して属性編集処理を実行(ステップ1810)後、ユーザ操作が発生するまで待機する。
ユーザ操作がイベント編集ウィンドウ53a内のクリックか判定し(ステップ1811)し、そうであればhandle_action()関数を起動してイベント編集処理を実行(ステップ1812)後、ユーザ操作が発生するまで待機する。
ユーザ操作がリソース管理ウィンドウ56a内のクリックか判定し(ステップ1813)、そうであればhandle_resource()関数を起動してリソース編集処理を実行(ステップ1814)後、ユーザ操作が発生するまで待機する。
It is determined whether the user operation is pressing of a part in the GUI editing window 52a (step 1807). If so, the handle_gui () function is activated to execute GUI editing processing (step 1808), and then waits until a user operation occurs. To do.
It is determined whether the user operation is a click in the component attribute display window 55a (step 1809). If so, the handle_property () function is activated to execute attribute editing processing (step 1810), and then waits until a user operation occurs. .
It is determined whether the user operation is a click in the event editing window 53a (step 1811). If so, the handle_action () function is activated to execute event editing processing (step 1812), and then waits until a user operation occurs. .
It is determined whether the user operation is a click in the resource management window 56a (step 1813). If so, the handle_resource () function is activated to execute resource editing processing (step 1814), and then waits until a user operation occurs.

ユーザ操作が実行環境選択ウィンドウ54a内のクリックか判定し(ステップ1815)、そうであればhandle_environment()関数を起動して実行環境編集処理を実行後(ステップ1816)後、ユーザ操作が発生するまで待機する。
ユーザ操作がソース生成ボタン58aのクリックか判定し(ステップ1817)、そうであればgenerate_source()関数を起動してソース生成処理を実行(ステップ1818)後、ユーザ操作が発生するまで待機する。
ユーザ操作が終了操作か判定し(ステップ1819)、そうであれば処理を終了し(ステップ1820)、そうでなければ、ユーザ操作が発生するまで待機する。
It is determined whether the user operation is a click in the execution environment selection window 54a (step 1815). If so, after the handle_environment () function is activated to execute the execution environment editing process (step 1816), until the user operation occurs stand by.
It is determined whether the user operation is a click on the source generation button 58a (step 1817). If so, the generate_source () function is activated to execute the source generation process (step 1818), and then waits until a user operation occurs.
It is determined whether the user operation is an end operation (step 1819). If so, the process ends (step 1820). Otherwise, the process waits until a user operation occurs.

図19は、初期処理を実行するinitialize()関数の処理を示すフローチャートである。
まず、GUIデザイン情報ファイル4を読込み、画面テーブル201、部品テーブル202、環境テーブル203の内容を設定する(ステップ1901)。画面テーブル201の先頭エントリの画面をカレントにし(ステップ1902)、カレント画面の先頭の部品エントリを選択状態にし(ステップ1903)、環境テーブル203の先頭エントリの実行環境をカレントにする(ステップ1904)。
次に、リソースファイル5、素材データファイル6を読込み、リソーステーブル205、素材テーブル206の内容を設定する(ステップ1905)。プログラムされた処理をもとに原型テーブル204の内容を設定し(ステップ1906)、redraw()関数を起動して図3の編集画面50aの描画処理を実行して(ステップ1907)、処理終了する(ステップ1908)。
FIG. 19 is a flowchart showing the process of the initialize () function that executes the initial process.
First, the GUI design information file 4 is read, and the contents of the screen table 201, the parts table 202, and the environment table 203 are set (step 1901). The first entry screen of the screen table 201 is made current (step 1902), the first component entry of the current screen is selected (step 1903), and the execution environment of the first entry of the environment table 203 is made current (step 1904).
Next, the resource file 5 and the material data file 6 are read, and the contents of the resource table 205 and the material table 206 are set (step 1905). Based on the programmed processing, the contents of the prototype table 204 are set (step 1906), the redraw () function is activated to execute the drawing processing of the editing screen 50a in FIG. 3 (step 1907), and the processing ends. (Step 1908).

図20は、新規画面の作成処理を実行するnew_screen()関数の処理を示すフローチャートである。
まず、画面テーブル201に新規エントリを追加して(ステップ2001)、このエントリをカレント画面にした(ステップ2002)後、redraw()関数を起動して編集画面50aの描画処理を実行して(ステップ2003)、処理終了する(ステップ2004)。
FIG. 20 is a flowchart showing the process of the new_screen () function that executes a new screen creation process.
First, a new entry is added to the screen table 201 (step 2001), and this entry is made the current screen (step 2002). Then, the redraw () function is activated to execute the drawing process of the editing screen 50a (step 2003), the process ends (step 2004).

図21は、GUI編集ウィンドウ52aに部品を追加する処理を実行するnew_component()関数の処理フローである。
まず、部品提供ウィンドウ51a内からユーザがドラッグした部品を、GUI編集ウィンドウ52a上でドラッグされた位置に配置する(ステップ2101)。ドラッグ後の位置に既に他の部品が存在するか判定し(ステップ2102)、そうであればその部品を親とする親子関係を画面テーブル201内に設定する(ステップ2103)。
次に、部品テーブル201に、対応する部品のエントリを追加(エントリには、環境テーブル203に設定された環境の数だけ、位置、サイズ、色などの属性値を設定)する(ステップ2104)。次に、追加した部品を選択状態にした(ステップ2105)後、redraw()関数を起動して編集画面50aの描画処理を実行し(ステップ2106)、処理終了する(ステップ2107)。
FIG. 21 is a process flow of a new_component () function that executes a process of adding a component to the GUI edit window 52a.
First, the part dragged by the user from the part providing window 51a is arranged at the dragged position on the GUI editing window 52a (step 2101). It is determined whether another part already exists at the position after dragging (step 2102). If so, a parent-child relationship with the part as a parent is set in the screen table 201 (step 2103).
Next, an entry for the corresponding component is added to the component table 201 (attribute values such as position, size, color, etc. are set in the entry for the number of environments set in the environment table 203) (step 2104). Next, after the added part is selected (step 2105), the redraw () function is activated to execute the drawing process of the editing screen 50a (step 2106), and the process ends (step 2107).

図22は、GUI編集処理を実行するhandle_gui()関数の処理を示すフローチャートである。
まず、ユーザ操作が、選択状態の部品のクリックか判定し(ステップ2201)、そうでなければユーザがクリックした部品を選択状態にして(ステップ2202)、 redraw()関数を起動して編集画面50aの描画処理を実行し(ステップ2207)、処理終了する(ステップ2208)。
選択状態の部品のクリックであった場合は、押下位置が部品の四隅か判定し(ステップ2203)、そうであれば部品のリサイズ操作とみなしてドラッグ終了位置まで部品サイズを変更し(ステップ2204)、そうでなければ部品の移動操作とみなしてドラッグ終了位置まで部品を移動する(ステップ2205)。
この後、新たな位置とサイズを部品テーブル202内の対応するエントリに設定し(ステップ2206)、redraw()関数を起動して編集画面50aの描画処理を実行し(ステップ2207)、処理終了する(ステップ2208)。
FIG. 22 is a flowchart showing the process of the handle_gui () function that executes the GUI editing process.
First, it is determined whether the user operation is a click on a selected part (step 2201). Otherwise, the part clicked by the user is selected (step 2202), and the redraw () function is activated to start the editing screen 50a. The drawing process is executed (step 2207), and the process ends (step 2208).
If the selected part is clicked, it is determined whether the pressed position is at the four corners of the part (step 2203). If so, the part size is changed to the end position of the drag by assuming that the part is resized (step 2204). Otherwise, it is regarded as a movement operation of the component, and the component is moved to the drag end position (step 2205).
Thereafter, the new position and size are set in the corresponding entry in the parts table 202 (step 2206), the redraw () function is activated to execute the drawing process of the editing screen 50a (step 2207), and the process ends. (Step 2208).

図23は、属性編集処理を実行する関数handle_property()関数の処理を示すフローチャートである。
まず、ユーザがクリックした属性値欄に、ユーザのキー入力値を設定し(ステップ2301)、選択状態の部品に対応する部品テーブル202のエントリの属性値を、キー入力した値に変更する(ステップ2302)。次に、redraw()関数を起動して編集画面50aの描画処理を実行し(ステップ2303)、処理終了する(ステップ2304)。
FIG. 23 is a flowchart showing the processing of the function handle_property () function that executes attribute editing processing.
First, the user's key input value is set in the attribute value column clicked by the user (step 2301), and the attribute value of the entry in the parts table 202 corresponding to the selected part is changed to the key input value (step 2301). 2302). Next, the redraw () function is activated to execute the drawing process of the editing screen 50a (step 2303), and the process ends (step 2304).

図24は、イベント編集処理を実行する関数handle_action()関数の処理を示すフローチャートである。
まず、ユーザがクリックした動作名欄に、ユーザのキー入力値を設定し(ステップ2401)、選択状態の部品に対応する部品テーブル202のエントリのイベント動作を、キー入力した値に変更する(ステップ2402)。次に、redraw()関数を起動して編集画面50aの描画処理を実行し(ステップ2403)、処理終了する(ステップ2404)。
FIG. 24 is a flowchart showing the processing of the function handle_action () function that executes event editing processing.
First, the user's key input value is set in the operation name column clicked by the user (step 2401), and the event operation of the entry in the component table 202 corresponding to the selected component is changed to the key input value (step). 2402). Next, the redraw () function is activated to execute the drawing process of the editing screen 50a (step 2403), and the process ends (step 2404).

図25は、リソース編集処理を実行するhandle_resource()関数の処理を示すフローチャートである。
まず、ユーザ操作が、「新規」ボタン561のクリックか判定し(ステップ2501)、そうであればリソース管理ウィンドウ56aの先頭に新規のエントリ(内容は空白)を追加し(ステップ2502)、ユーザのキー入力内容に従って、新規エントリの内容を設定して(ステップ2503)、処理終了する(ステップ2512)。
ユーザ操作が、「追加」ボタン562のクリックか判定し(ステップ2504)、そうであればリソーステーブル205に新規エントリを作成し(ステップ2505)、新規エントリに、リソース管理ウィンドウ56a内の先頭エントリの内容を設定して(ステップ2506)、処理終了する(ステップ2512)。
ユーザ操作が、リソース管理ウィンドウ56a内エントリのクリックか判定し(ステップ2507)、そうであれば、クリックされたエントリを反転表示し(ステップ2508)、処理終了する(ステップ2512)。
ユーザ操作が、「削除」ボタン563のクリックか判定し(ステップ2509)、そうであればリソース管理ウィンドウ56aの反転表示されたエントリを削除し(ステップ2510)、リソーステーブル205内の対応するエントリを削除して(ステップ2511)、処理終了する(ステップ2512)。
FIG. 25 is a flowchart showing the processing of the handle_resource () function that executes resource editing processing.
First, it is determined whether the user operation is a click on the “new” button 561 (step 2501). If so, a new entry (content is blank) is added to the head of the resource management window 56a (step 2502). The content of the new entry is set according to the key input content (step 2503), and the process is terminated (step 2512).
It is determined whether the user operation is a click on the “add” button 562 (step 2504). If so, a new entry is created in the resource table 205 (step 2505), and the new entry contains the first entry in the resource management window 56a. The contents are set (step 2506), and the process ends (step 2512).
It is determined whether the user operation is a click on an entry in the resource management window 56a (step 2507). If so, the clicked entry is highlighted (step 2508), and the process ends (step 2512).
It is determined whether the user operation is a click on the “delete” button 563 (step 2509). If so, the highlighted entry in the resource management window 56a is deleted (step 2510), and the corresponding entry in the resource table 205 is deleted. It deletes (step 2511), and the processing ends (step 2512).

図26は、実行環境編集処理を実行するhandle_environment()関数の処理を示すフローチャートである。
まず、ユーザ操作が、実行環境の「新規」ボタン542のクリックか判定し(ステップ2601)、そうであれば実行環境選択ウィンドウ54aの先頭に新規のエントリ(内容は空白)を追加し(ステップ2602)、ユーザのキー入力内容に従って、新規エントリの内容を設定して(ステップ2603)、処理終了する(ステップ2618)。
ユーザ操作が、「追加」ボタン541のクリックか判定し(ステップ2604)、そうであれば環境テーブル203に新規エントリを作成し(ステップ2605)、新規エントリに、実行環境選択ウィンドウ54a内の先頭エントリの内容を設定する(ステップ2606)。また、部品テーブル202の各部品のエントリに、追加した環境に対応するサブエントリを追加して初期化し(ステップ2607)、追加した実行環境をカレントにして(ステップ2608)、redraw()関数を起動して編集画面50aの描画処理を実行し(ステップ2617)、処理終了する(ステップ2618)。
FIG. 26 is a flowchart showing the process of the handle_environment () function that executes the execution environment editing process.
First, it is determined whether the user operation is a click on the “new” button 542 of the execution environment (step 2601). If so, a new entry (content is blank) is added to the head of the execution environment selection window 54a (step 2602). ) The contents of the new entry are set in accordance with the contents of the key input by the user (step 2603), and the process ends (step 2618).
It is determined whether the user operation is a click on the “add” button 541 (step 2604). If so, a new entry is created in the environment table 203 (step 2605), and the new entry is the first entry in the execution environment selection window 54a. Is set (step 2606). Also, a sub-entry corresponding to the added environment is added to the entry of each part in the parts table 202 and initialized (step 2607), the added execution environment is made current (step 2608), and the redraw () function is activated. Then, the drawing process of the editing screen 50a is executed (step 2617), and the process ends (step 2618).

ユーザ操作が、実行環境選択ウィンドウ54a内エントリのクリックか判定し(ステップ2609)、そうであればクリックされたエントリを反転表示し(ステップ2610)、反転表示した実行環境をカレントにする(ステップ2611)。そして、redraw ()関数を起動して編集画面50aの描画処理を実行し(ステップ2617)、処理終了する(ステップ2618)。
ユーザ操作が、「削除」ボタン543のクリックか判定し(ステップ2612)、そうであれば実行環境選択ウィンドウ54aの反転表示されたエントリを削除し(ステップ2613)、環境テーブル内203の対応するエントリを削除し(ステップ2614)、部品テーブル202の各部品のエントリから、削除した環境に対応するサブエントリを削除する(ステップ2615)。そして、環境テーブル203内の先頭エントリに対応する実行環境をカレントにして(ステップ2616)、redraw ()関数を起動して編集画面50aの描画処理を実行し(ステップ2617)、処理終了する(ステップ2618)。
ユーザ操作がいずれでもなければ、処理終了する(ステップ2618)。
It is determined whether the user operation is a click on an entry in the execution environment selection window 54a (step 2609). If so, the clicked entry is highlighted (step 2610), and the highlighted execution environment is made current (step 2611). ). Then, the redraw () function is activated to execute the drawing process of the edit screen 50a (step 2617), and the process ends (step 2618).
It is determined whether the user operation is a click on the “delete” button 543 (step 2612). If so, the highlighted entry in the execution environment selection window 54a is deleted (step 2613), and the corresponding entry in the environment table 203 is displayed. Is deleted (step 2614), and the subentry corresponding to the deleted environment is deleted from the entry of each component in the component table 202 (step 2615). Then, the execution environment corresponding to the first entry in the environment table 203 is made current (step 2616), the redraw () function is activated to execute the drawing process of the edit screen 50a (step 2617), and the process is terminated (step). 2618).
If there is no user operation, the process ends (step 2618).

図27は、ソース生成処理を実行するgenerate_source()関数の処理を示すフローチャートである。
まず、画面テーブル201の先頭のエントリを変数scrに代入して(ステップ2701)、scrが存在するか判定し(ステップ2702)、存在しなければ処理を終了する(ステップ2705)。存在する場合は、generate_source(scr)関数を起動して、画面scrを表示するソースを生成する(ステップ2703)、変数scrに画面テーブル201の次のエントリを代入した後(ステップ2704)、ステップ2702の判定に戻る。
FIG. 27 is a flowchart showing the process of the generate_source () function that executes the source generation process.
First, the top entry of the screen table 201 is substituted into a variable scr (step 2701), and it is determined whether or not scr exists (step 2702). If it does not exist, the process ends (step 2705). If it exists, the generate_source (scr) function is activated to generate a source for displaying the screen scr (step 2703), the next entry of the screen table 201 is substituted for the variable scr (step 2704), and step 2702 Return to the determination.

図28は、編集画面50aの描画処理を実行するredraw()関数の処理を示すフローチャートである。
まず、preview(カレント画面, カレント実行環境)関数を起動して、画面上に配置された部品の表示状態を示すプレビュー画面を生成して、GUI編集ウィンドウ52aに表示し(ステップ2801)、リソーステーブル205の内容をリソース管理ウィンドウ56aに表示する(ステップ2802)。次に、選択状態の部品が存在するか判定し(ステップ2803)、存在すれば選択状態の部品に対応する部品テーブル202のエントリの内容を、部品属性表示ウィンドウ55aおよびイベント編集ウィンドウ53aに表示し(ステップ2804)、存在しなければ、部品属性表示ウィンドウ55aおよびイベント編集ウィンドウ53aの内容をクリアする(ステップ2805)。
次に、原型テーブル204の内容を部品提供ウィンドウ51aに表示し(ステップ2806)、環境テーブル203の内容を実行環境選択ウィンドウ54aに表示して(ステップ2807)、処理終了する(ステップ2808)。
FIG. 28 is a flowchart showing the process of the redraw () function for executing the drawing process of the editing screen 50a.
First, the preview (current screen, current execution environment) function is activated to generate a preview screen showing the display state of the components arranged on the screen, and display it on the GUI editing window 52a (step 2801). The contents of 205 are displayed on the resource management window 56a (step 2802). Next, it is determined whether there is a selected part (step 2803), and if there is, the contents of the entry in the parts table 202 corresponding to the selected part are displayed in the part attribute display window 55a and the event editing window 53a. (Step 2804) If it does not exist, the contents of the component attribute display window 55a and the event edit window 53a are cleared (Step 2805).
Next, the contents of the prototype table 204 are displayed on the component providing window 51a (step 2806), the contents of the environment table 203 are displayed on the execution environment selection window 54a (step 2807), and the process is terminated (step 2808).

図29は、ソースコード生成処理を実行するgenerate_source(screen)関数の処理を示すフローチャートある。
ここでは、まず、変数envに、環境テーブル203の先頭行を代入する(ステップ2901)。そして、envが存在するか判定し(2902)、存在しなければ処理終了する(ステップ2914)。そうであれば、「実行環境がenvであるかを判定する」ソースを生成し(図16のA)(ステップ2903)、画面テーブル201内で、screenで指定した画面に属するサブエントリの集まりを変数rowsに設定し(ステップ2904)、rowsの先頭行を変数rowに代入する(ステップ2905)。次に、rowが存在するか判定し(ステップ2906)、存在しない場合は、変数envに環境テーブル203の次の行を代入し、ステップ2902の判定に戻る(ステップ2913)。
存在する場合には、変数nameにrowの「部品名」の値、変数row2に、部品テーブル202で「部品名」がnameかつ「環境」がenvと一致するサブエントリを代入する(ステップ2907)。さらに、変数(x、y)にrow2の「位置」の値、変数(h,w)にrow2の「サイズ」の値を代入する(ステップ2908)。そして、「部品nameの位置を(x, y)、サイズを(h, w)に設定する」ソースを生成する(図16のB)(ステップ2909)。row2の各属性attrについて、「部品nameのattr属性値をrow2で指定した値に設定する」ソースを生成する(図16のC) (ステップ2910)。
さらに、row2の各イベントeについて、「部品nameのeに対するイベントハンドラをrow2で指定したハンドラに設定する」ソースを生成する(図16のD) (ステップ2911)。そして、変数rowにrows内でrowの次の行を代入し(ステップ2912)、ステップ2906の判定に戻る。
FIG. 29 is a flowchart showing the process of the generate_source (screen) function for executing the source code generation process.
Here, first, the first line of the environment table 203 is assigned to the variable env (step 2901). Then, it is determined whether env exists (2902), and if it does not exist, the process ends (step 2914). If so, a source for “determining whether the execution environment is env” is generated (A in FIG. 16) (step 2903), and a collection of subentries belonging to the screen specified by screen is displayed in the screen table 201. The variable rows is set (step 2904), and the first row of rows is assigned to the variable row (step 2905). Next, it is determined whether or not a row exists (step 2906). If not, the next row of the environment table 203 is assigned to the variable env, and the process returns to the determination of step 2902 (step 2913).
If it exists, the value of the “part name” of the row is substituted for the variable name, and the sub-entry in which “part name” is name and “environment” matches env in the part table 202 is substituted for the variable row 2 (step 2907). . Further, the value of “position” of row 2 is substituted for variable (x, y), and the value of “size” of row 2 is substituted for variable (h, w) (step 2908). Then, a source for “setting the position of the part name to (x, y) and the size to (h, w)” is generated (B in FIG. 16) (step 2909). For each attribute attr of row 2, a source for “setting the attr attribute value of part name to the value specified by row 2” is generated (C in FIG. 16) (step 2910).
Further, for each event e of row 2, a source for “setting an event handler for the component name e to the handler specified by row 2” is generated (D in FIG. 16) (step 2911). Then, the next row after the row is substituted into the variable row (step 2912), and the process returns to the determination at step 2906.

図30は、画面上に配置された部品の表示状態を示すプレビュー画面を生成するpreview(screen,env)関数の処理を示すフローチャートである。
まず、画面テーブル201内で、screenで指定した画面に属するサブエントリの集まりを変数rowに代入する(ステップ3001)。次に、変数rowにrowsの先頭行を代入する(ステップ3002)。rowが存在するか判定し(ステップ3003)、存在しなければ処理終了する(ステップ3008)。存在すれば、変数nameにrowの「部品名」の値を代入する(ステップ3004)。部品テーブル201で、「部品名」がnameかつ「環境」がenvと一致するサブエントリを変数row2に代入する(ステップ3005)。row2で指定された部品の属性値に従い、プレビュー画面に部品を描画し(ステップ3006)、変数rowにrows内でrowの次の行を代入して(ステップ3007)、ステップ3003の判定に戻る。
FIG. 30 is a flowchart showing the process of the preview (screen, env) function for generating a preview screen showing the display state of the components arranged on the screen.
First, in the screen table 201, a set of subentries belonging to the screen specified by screen is substituted into a variable row (step 3001). Next, the first row of rows is substituted into the variable row (step 3002). It is determined whether or not there is a row (step 3003), and if not, the process ends (step 3008). If it exists, the value of “part name” of row is substituted for variable name (step 3004). In the component table 201, a subentry whose “component name” is “name” and whose “environment” matches “env” is substituted into the variable row2 (step 3005). In accordance with the attribute value of the component specified by row2, the component is drawn on the preview screen (step 3006), the next row in the row is substituted into the variable row (step 3007), and the process returns to the determination in step 3003.

本発明の実施形態の一例を示すシステム構成図である。It is a system configuration figure showing an example of an embodiment of the present invention. 本発明の実施形態の一例におけるソースコード生成プログラムの機能および処理データを示す機能ブロック図である。It is a functional block diagram which shows the function and process data of a source code generation program in an example of embodiment of this invention. 操作画面の例を示す説明図である。It is explanatory drawing which shows the example of an operation screen. 環境テーブルおよび部品テーブルの例と両テーブル間の関連付けを示す説明図である。It is explanatory drawing which shows the example of an environment table and a parts table, and the correlation between both tables. 環境テーブルと部品テーブルへの実行環境の追加を示す説明図である。It is explanatory drawing which shows the addition of the execution environment to an environment table and a parts table. 画面テーブルの例を示す説明図である。It is explanatory drawing which shows the example of a screen table. 原型テーブルの例を示す説明図である。It is explanatory drawing which shows the example of a prototype table. リソーステーブル例を示す説明図である。It is explanatory drawing which shows the example of a resource table. 素材テーブルの例を示す説明図である。It is explanatory drawing which shows the example of a raw material table. システム起動時の処理の流れを示す説明図である。It is explanatory drawing which shows the flow of a process at the time of system starting. GUIデザイン処理の流れを示す説明図である。It is explanatory drawing which shows the flow of a GUI design process. 実行環境の切替え操作の例を示す説明図である。It is explanatory drawing which shows the example of switching operation of an execution environment. 実行環境用の画面設計をもとに他の実行環境用の画面を設計する際の操作の例を示す説明図である。It is explanatory drawing which shows the example of operation at the time of designing the screen for other execution environments based on the screen design for execution environments. 実行環境の切替え処理の流れを示す説明図である。It is explanatory drawing which shows the flow of a switching process of an execution environment. ソースコード生成処理の流れを示す説明図である。It is explanatory drawing which shows the flow of a source code production | generation process. 生成ソースコードの例を示す説明図である。It is explanatory drawing which shows the example of a production | generation source code. 生成GUI表示データの例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production GUI display data. 本発明の実施形態の一例において、トップレベルの処理を実行するmain()関数の処理を示すフローチャートである。6 is a flowchart illustrating processing of a main () function that executes top-level processing in an example of an embodiment of the present invention. 本発明の実施形態の一例において、初期処理を実行するinitialize()関数の処理を示すフローチャートである。6 is a flowchart illustrating processing of an initialize () function that executes initial processing in an example of an embodiment of the present invention. 本発明の実施形態の一例において、新規画面の作成処理を実行するnew_screen()関数の処理を示すフローチャートである。FIG. 10 is a flowchart illustrating a process of a new_screen () function for executing a new screen creation process in an example of an embodiment of the present invention. FIG. 本発明の実施形態の一例において、GUI編集ウィンドウに部品を追加する処理を実行するnew_component()関数の処理を示すフローチャートである。FIG. 10 is a flowchart illustrating a process of a new_component () function for executing a process of adding a component to a GUI editing window in an example of an embodiment of the present invention. 本発明の実施形態の一例において、GUI編集処理を実行するhandle_gui()関数の処理を示すフローチャートである。6 is a flowchart illustrating processing of a handle_gui () function that executes GUI editing processing in an example of an embodiment of the present invention. 本発明の実施形態の一例において、属性編集処理を実行する関数handle_property()関数の処理を示すフローチャートである。14 is a flowchart illustrating processing of a function handle_property () function that executes attribute editing processing in an example of an embodiment of the present invention. 本発明の実施形態の一例において、イベント編集処理を実行する関数handle_action()関数の処理を示すフローチャートである。14 is a flowchart illustrating processing of a function handle_action () function that executes event editing processing in an example of an embodiment of the present invention. 本発明の実施形態の一例において、リソース編集処理を実行するhandle_resource()関数の処理を示すフローチャートである。6 is a flowchart illustrating processing of a handle_resource () function that executes resource editing processing in an example of an embodiment of the present invention. 本発明の実施形態の一例において、実行環境編集処理を実行するhandle_environment()関数の処理を示すフローチャートである。14 is a flowchart illustrating processing of a handle_environment () function that executes execution environment editing processing in an example of an embodiment of the present invention. 本発明の実施形態の一例において、ソース生成処理を実行するgenerate_source()関数の処理を示すフローチャートである。In an example of an embodiment of the present invention, it is a flow chart which shows processing of a generate_source () function which performs source generation processing. 本発明の実施形態の一例において、編集画面の描画処理を実行するredraw()関数の処理を示すフローチャートである。6 is a flowchart illustrating processing of a redraw () function that executes drawing processing of an editing screen in an example of an embodiment of the present invention. 本発明の実施形態の一例において、ソースコード生成処理を実行するgenerate_source(screen)関数の処理を示すフローチャートある。6 is a flowchart illustrating a process of a generate_source (screen) function for executing a source code generation process in an example of an embodiment of the present invention. 本発明の実施形態の一例において、画面上に配置された部品の表示状態を示すプレビュー画面を生成するpreview(screen,env)関数の処理を示すフローチャートである。6 is a flowchart illustrating processing of a preview (screen, env) function that generates a preview screen indicating a display state of components arranged on a screen in an example of an embodiment of the present invention. 画面を縦横の両方向で使用できるようにした表示画面を備えた携帯電話機の例を示す外観図である。It is an external view which shows the example of the mobile telephone provided with the display screen which enabled it to use a screen in the vertical and horizontal directions. 画面を縦横の両方向で使用できるようにした表示画面を備えた携帯電話機の例を示す外観図である。It is an external view which shows the example of the mobile telephone provided with the display screen which enabled it to use a screen in the vertical and horizontal directions.

符号の説明Explanation of symbols

1…処理装置、2…入力装置、3…表示装置、4…GUIデザイン情報ファイル、5…リソースファイル、6…複数の素材データファイル、7…ソースファイル、8…GUI表示データファイル、9…メモリ、10…CPU、21…キー入力装置、22…ポインティング入力装置、40…メモリ上に生成されるデータ、41…ファイルとして存在するデータ、91…ソースコード生成プログラム、92…オペレーティングシステム、99…既存のデザイン情報ファイル、101…GUI編集機能、102…部品属性編集機能、103…イベント動作編集機能、104…実行環境選択機能、105…ユーザインタフェース部品提供機能、106…リソース管理機能、111…GUIデザイン情報ファイル入出力機能、112…リソースファイル入出力機能、113…ソースコード生成装置、114…GUI表示データ生成機能、201…画面テーブル、202…部品テーブル、203…環境テーブル、204…原型テーブル、205…リソーステーブル、206…素材テーブル、301…プレビュー画面、302…結果情報、303…ソースコード、304…GUI表示データ、50a…プログラム画面、51a…部品提供ウィンドウ、52a…GUI編集ウィンドウ、53a…イベント編集ウィンドウ、54a…実行環境選択ウィンドウ、55a…部品属性表示ウィンドウ、56a…リソース管理ウィンドウ、57a…新規画面ボタン、58a…ソース生成ボタン、521a…テキスト表示ユーザインタフェース部品、522a…画像表示ユーザインタフェース部品、523a…テキスト入力ユーザインタフェース部品、50b…QVGA実行環境のプログラム画面、51b…QVGA実行環境の部品提供ウィンドウ、52b…QVGA実行環境のGUI編集ウィンドウ、53b…QVGA実行環境のイベント編集ウィンドウ、54b…QVGA実行環境の実行環境選択ウィンドウ、55b…QVGA実行環境の部品属性表示ウィンドウ、56b…QVGA実行環境のリソース管理ウィンドウ、57b…QVGA実行環境の新規画面ボタン、58b…QVGA実行環境のソース生成ボタン、521b…QVGA実行環境のテキスト表示ユーザインタフェース部品、522b…QVGA実行環境の画像表示ユーザインタフェース部品、523b…QVGA実行環境のテキスト入力ユーザインタフェース部品、50c…QVGA実行環境のプログラム画面、51c…QVGA実行環境の部品提供ウィンドウ、52c…QVGA実行環境のGUI編集ウィンドウ、53c…QVGA実行環境のイベント編集ウィンドウ、54c…QVGA実行環境の実行環境選択ウィンドウ、55c…QVGA実行環境の部品属性表示ウィンドウ、56c…QVGA実行環境のリソース管理ウィンドウ、57c…QVGA実行環境の新規画面ボタン、58c…QVGA実行環境のソース生成ボタン、521c…QVGA実行環境のテキスト表示ユーザインタフェース部品、522c…QVGA実行環境の画像表示ユーザインタフェース部品、523c…QVGA実行環境のテキスト入力ユーザインタフェース部品、45…生成するソースコードの例、46…生成するGUI表示データの例、202a…部品テーブル、202b…実行環境を追加した部品テーブル、202c…部品テーブルのエントリに追加された属性情報の組、203a…環境テーブル、203b…実行環境を追加した環境テーブル、203c…環境テーブルの新規エントリ。 DESCRIPTION OF SYMBOLS 1 ... Processing apparatus, 2 ... Input device, 3 ... Display apparatus, 4 ... GUI design information file, 5 ... Resource file, 6 ... Multiple material data file, 7 ... Source file, 8 ... GUI display data file, 9 ... Memory DESCRIPTION OF SYMBOLS 10 ... CPU, 21 ... Key input device, 22 ... Pointing input device, 40 ... Data generated on memory, 41 ... Data existing as file, 91 ... Source code generation program, 92 ... Operating system, 99 ... Existing Design information file, 101 ... GUI editing function, 102 ... Part attribute editing function, 103 ... Event action editing function, 104 ... Execution environment selection function, 105 ... User interface part providing function, 106 ... Resource management function, 111 ... GUI design Information file input / output function, 112 ... resource file Output function 113 ... Source code generation device 114 ... GUI display data generation function 201 ... Screen table 202 ... Parts table 203 ... Environment table 204 ... Prototype table 205 ... Resource table 206 ... Material table 301 ... Preview screen, 302 ... result information, 303 ... source code, 304 ... GUI display data, 50a ... program screen, 51a ... part provision window, 52a ... GUI edit window, 53a ... event edit window, 54a ... execution environment selection window, 55a ... part attribute display window, 56a ... resource management window, 57a ... new screen button, 58a ... source generation button, 521a ... text display user interface part, 522a ... image display user interface part, 523a ... te 50b ... QVGA execution environment program screen, 51b ... QVGA execution environment component provision window, 52b ... QVGA execution environment GUI edit window, 53b ... QVGA execution environment event edit window, 54b ... QVGA execution environment Execution environment selection window, 55b ... QVGA execution environment component attribute display window, 56b ... QVGA execution environment resource management window, 57b ... QVGA execution environment new screen button, 58b ... QVGA execution environment source generation button, 521b ... QVGA Execution environment text display user interface component, 522b ... QVGA execution environment image display user interface component, 523b ... QVGA execution environment text input user interface component, 50c ... QVGA execution environment program screen, 51c ... QVGA execution environment component Window, 5 c ... QVGA execution environment GUI editing window, 53c ... QVGA execution environment event editing window, 54c ... QVGA execution environment execution environment selection window, 55c ... QVGA execution environment component attribute display window, 56c ... QVGA execution environment resource management Window, 57c ... New screen button of QVGA execution environment, 58c ... Source generation button of QVGA execution environment, 521c ... Text display user interface component of QVGA execution environment, 522c ... Image display user interface component of QVGA execution environment, 523c ... QVGA execution Text input user interface part of environment 45 ... Example of source code to be generated 46 ... Example of GUI display data to be generated 202a ... Part table 202b ... Part table with execution environment added 202c ... Add to entry in part table Attribute information set, 2 3a ... environment table, 203b ... environment table you add the execution environment, 203c ... a new entry in the environment table.

Claims (3)

コンピュータに実行させるプログラムのソースコード及びユーザインタフェース部品を表示画面に表示するためのGUI表示データを生成するソースコード生成装置であって、
ユーザインタフェース部品1つ1つに対して実行環境毎に異なる位置、サイズ、部品の属性、イベント動作などの部品要素情報を独立して編集し、複数の実行環境情報と関連付けて記憶する記憶手段と、記憶された部品要素情報に基づき指定された実行環境に対応したユーザインタフェース部品のGUI表示データ及び当該GUI表示データを用いてユーザインタフェース部品を表示するためのソースコードを生成して出力するソースコード及びGUI表示データ生成手段を備えることを特徴とするソースコード生成装置。
A source code generation device for generating GUI display data for displaying a source code of a program to be executed by a computer and a user interface component on a display screen,
Storage means for independently editing component element information such as a position, size, component attribute, and event action that are different for each execution environment for each user interface component, and storing the information in association with a plurality of execution environment information; Source code for generating and outputting user interface component GUI display data corresponding to the execution environment specified based on the stored component element information and source code for displaying the user interface component using the GUI display data And a source code generation device comprising GUI display data generation means.
GUI表示データによりユーザインタフェース部品を編集画面にプレビューする手段を備えることを特徴とする請求項1に記載のソースコード生成装置。   The source code generation apparatus according to claim 1, further comprising means for previewing a user interface component on an editing screen based on GUI display data. 実行環境に応じて、一部のユーザインタフェース部品をソースコードまたはGUI表示データの出力対象から除外する手段を有することを特徴とする請求項1に記載のソースコード生成装置。   The source code generation apparatus according to claim 1, further comprising means for excluding some user interface components from the output target of the source code or GUI display data according to an execution environment.
JP2007254920A 2007-03-29 2007-09-28 Source code generating device Pending JP2008269554A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2007254920A JP2008269554A (en) 2007-03-29 2007-09-28 Source code generating device
US12/071,341 US20080244424A1 (en) 2007-03-29 2008-02-20 Source code generating device
EP08151726A EP1988454A1 (en) 2007-03-29 2008-02-21 Source code generating device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007086648 2007-03-29
JP2007254920A JP2008269554A (en) 2007-03-29 2007-09-28 Source code generating device

Publications (1)

Publication Number Publication Date
JP2008269554A true JP2008269554A (en) 2008-11-06

Family

ID=39995750

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2007254920A Pending JP2008269554A (en) 2007-03-29 2007-09-28 Source code generating device
JP2008036119A Pending JP2008269575A (en) 2007-03-29 2008-02-18 Source code generating device

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2008036119A Pending JP2008269575A (en) 2007-03-29 2008-02-18 Source code generating device

Country Status (2)

Country Link
JP (2) JP2008269554A (en)
CN (1) CN101276277A (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5458708B2 (en) * 2009-07-09 2014-04-02 株式会社リコー Image processing apparatus, display control method, and display control program
CN102819229B (en) * 2011-06-07 2014-08-06 台达电子工业股份有限公司 Control system and instruction setting method thereof
KR101419255B1 (en) * 2012-11-29 2014-07-17 (주)투비소프트 Method for generating user interface using unified development environment
US10073679B2 (en) * 2014-09-26 2018-09-11 Oracle International Corporation Efficient and intuitive databinding for mobile applications
US10290133B2 (en) 2014-09-26 2019-05-14 Oracle International Corporation High fidelity interactive screenshots for mobile applications
US9826045B2 (en) 2014-09-26 2017-11-21 Oracle International Corporation Efficient means to test server generated applications on mobile device
JP6212657B2 (en) * 2014-12-09 2017-10-11 株式会社野村総合研究所 Development support system
WO2016113914A1 (en) * 2015-01-16 2016-07-21 株式会社野村総合研究所 Development assistance system
JP6130958B1 (en) * 2016-07-19 2017-05-17 株式会社Osk Application creation support system
CN106228191A (en) * 2016-07-28 2016-12-14 努比亚技术有限公司 A kind of control text overlength detection device and method
CN110494843B (en) * 2017-04-03 2023-10-10 创首公司 Mixed mode programming
US20200097138A1 (en) * 2018-09-24 2020-03-26 Salesforce.Com, Inc. Application builder
CN110286896B (en) * 2019-06-28 2023-03-31 百度在线网络技术(北京)有限公司 Visual editing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1083269A (en) * 1996-09-09 1998-03-31 Nec Corp User interface converting device
JPH1097415A (en) * 1996-09-20 1998-04-14 Nec Corp Gui screen layout design system
JP2001318811A (en) * 2000-05-10 2001-11-16 Sharp Corp Graphical user interface simulation device
US20020097269A1 (en) * 2001-01-23 2002-07-25 Altia, Inc. System and method of designing, testing, and employing graphical computer code
JP2006331339A (en) * 2005-05-30 2006-12-07 Mitsubishi Electric Corp Layout device, layout method, program, and data structure

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4518537B2 (en) * 2003-12-26 2010-08-04 ソニー・エリクソン・モバイルコミュニケーションズ株式会社 Screen creation support device
JP2005341041A (en) * 2004-05-25 2005-12-08 Canon Inc Remote controller, remote control terminal device, and device to be remotely controlled

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1083269A (en) * 1996-09-09 1998-03-31 Nec Corp User interface converting device
JPH1097415A (en) * 1996-09-20 1998-04-14 Nec Corp Gui screen layout design system
JP2001318811A (en) * 2000-05-10 2001-11-16 Sharp Corp Graphical user interface simulation device
US20020097269A1 (en) * 2001-01-23 2002-07-25 Altia, Inc. System and method of designing, testing, and employing graphical computer code
JP2006331339A (en) * 2005-05-30 2006-12-07 Mitsubishi Electric Corp Layout device, layout method, program, and data structure

Also Published As

Publication number Publication date
JP2008269575A (en) 2008-11-06
CN101276277A (en) 2008-10-01

Similar Documents

Publication Publication Date Title
JP2008269554A (en) Source code generating device
US20080244424A1 (en) Source code generating device
US7640499B2 (en) Editing objects contained in different pages of a business form via a “position adjustment” operation or a “copy” operation
JP5979168B2 (en) Screen display device, screen display system, screen display method, and computer program
JP2010061311A (en) Information processor and computer program
JP2008146226A (en) Design edition device, method, and design edition program
JP2010176315A (en) Item setting device, control method and control program for the device
JP2008203912A (en) Screen forming apparatus, method and program
JP2020123234A (en) Information processor, control method, and program thereof
JP2012008884A (en) Editing device, and layout editing method and program in editing device
JP6594359B2 (en) Information processing apparatus, information processing method, and program
US6922807B1 (en) Object editing apparatus and method, and recording medium storing computer-readable program
JP2008191790A (en) Plant monitoring control system and plant monitoring control program
JPH11306002A (en) Editing device and editing method for gui environment
JP2007066077A (en) Method and apparatus for generating gui, computer program, and storage medium
JP2008146225A (en) Editor, edit method, and edit program
JP2010009167A (en) Screen display device, screen display method, and screen display program
KR102179370B1 (en) System for executing copy and paste of contents of computer program, method thereof and recording medium stored program executable by computer the method
JP2009129224A (en) Image operating device, image operating program, recording medium, and image operating method
JP2001118077A (en) Device and method for preparing document
KR101933886B1 (en) Program developer and object editing method
JP2000331177A (en) Image editing method and device
JP2000227914A (en) Document edition device
JP6862521B2 (en) Information processing equipment, information processing methods, and programs
JP2000020208A (en) Device and method for processing information and computer readable recording medium having recorded program thereon for making computer execute the same method

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20100115

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120618