JP2017059237A - Information processor, and processing method and program of the same - Google Patents

Information processor, and processing method and program of the same Download PDF

Info

Publication number
JP2017059237A
JP2017059237A JP2016180837A JP2016180837A JP2017059237A JP 2017059237 A JP2017059237 A JP 2017059237A JP 2016180837 A JP2016180837 A JP 2016180837A JP 2016180837 A JP2016180837 A JP 2016180837A JP 2017059237 A JP2017059237 A JP 2017059237A
Authority
JP
Japan
Prior art keywords
template
property
screen
value
theme
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.)
Granted
Application number
JP2016180837A
Other languages
Japanese (ja)
Other versions
JP6889361B2 (en
Inventor
文洋 柴本
Fumihiro Shibamoto
文洋 柴本
勲 上田
Isao Ueda
勲 上田
剛 高塚
Takeshi Takatsuka
剛 高塚
鈴木 智子
Tomoko Suzuki
智子 鈴木
知子 石田
Tomoko Ishida
知子 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Publication of JP2017059237A publication Critical patent/JP2017059237A/en
Application granted granted Critical
Publication of JP6889361B2 publication Critical patent/JP6889361B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a system that makes work regarding editing of a template in screen design efficient.SOLUTION: An information processor edits the design of a template screen having a plurality of components to create a style sheet, displays a template editing screen for editing a value corresponding to a key of a property of a design of the component included in the template screen, and displays a component to which the design is applied. The processor receives an instruction of a user for the displayed component. The processor displays a key and a value of a property corresponding to a component for which the instruction has been received out of the property of the design. The processor receives a change of a value corresponding to the key of the displayed property. The processor updates display of the component according to the value whose change was received. The processor creates the style sheet by using the key and the value of property of the component whose display was updated.SELECTED DRAWING: Figure 21

Description

本発明は、プログラムを生成するための情報処理装置、情報処理装置の処理方法、およびプログラムに関する。   The present invention relates to an information processing apparatus for generating a program, a processing method for the information processing apparatus, and a program.

Webアプリケーションは、検索画面や登録画面など複数の画面を持つことが一般的である。複数の各画面デザインは、色彩やフォントなど、一定の統一感を持つデザインであることが望まれる。このように統一されたデザインのテンプレートを「テーマ」と呼ぶ。
従来、特許文献1に示すように、画面毎にグラフィカルツールを使って、画面デザインを編集する仕組みが示されている。
A Web application generally has a plurality of screens such as a search screen and a registration screen. Each of the plurality of screen designs is desired to have a certain unity, such as color and font. Such a unified design template is called a “theme”.
Conventionally, as shown in Patent Document 1, a mechanism for editing a screen design using a graphical tool for each screen is shown.

特願2008−313156号公報Japanese Patent Application No. 2008-313156

しかし、特許文献1の仕組みでは、ある画面のデザインを修正した場合、その他の画面にも同様のデザイン修正を施す必要があるため、非効率であり、作業工数が増加するという課題があった。   However, in the mechanism of Patent Document 1, when a design of a certain screen is modified, it is necessary to perform the same design modification on other screens, which is inefficient and increases the number of work steps.

一方、複数画面のデザインのテンプレートを管理するスタイルシートを作成するグラフィカルなツールがある。このツールのプレビュー機能を用いれば、作成したスタイルシートをツールが用意してあるサンプル画面に適用し、デザインのテンプレートである「テーマ」を確認することができる。   On the other hand, there is a graphical tool for creating a style sheet for managing a template for a multi-screen design. By using the preview function of this tool, the created style sheet can be applied to the sample screen prepared by the tool, and the “theme” that is the design template can be confirmed.

しかし、このようなツールには、スタイルシートに含まれる沢山のプロパティのキーと値が表示されており、ユーザによってプロパティ値が変更されると、値が変更されたプロパティのキーに対応するサンプル画面に表示された部品の表示が更新される仕組みである。よって、沢山のプロパティの中からユーザが変更したいプロパティを探し出して指定し、値を変更しなくてはならないという課題がある。   However, such a tool displays many property keys and values contained in the style sheet. When the property value is changed by the user, the sample screen corresponding to the property key whose value has been changed. This is a mechanism in which the display of the parts displayed in the item is updated. Therefore, there is a problem that the user has to find and specify the property that the user wants to change from among many properties and change the value.

そこで、本発明の目的は、画面デザインのテンプレートの編集に係る作業を効率化する仕組みを提供することである。   Accordingly, an object of the present invention is to provide a mechanism for improving the efficiency of work related to editing of a screen design template.

複数の部品を持つテンプレート画面のデザインを編集し、スタイルシートを生成する情報処理装置であって、前記テンプレート画面に含まれる部品のデザインのプロパティのキーに対応する値を編集するためのテンプレート編集画面を表示するテンプレート編集画面表示手段と、前記テンプレート編集画面表示手段により表示されたテンプレート編集画面に、前記デザインを適用した前記部品を表示するテンプレート部品表示手段と、前記テンプレート部品表示手段により表示された部品に対して、ユーザの指示を受け付けるテンプレート部品指示受付手段と、前記デザインのプロパティのうち、前記テンプレート部品指示受付手段により指示を受け付けた部品に対応するプロパティのキーと値を表示するプロパティ表示手段と、前記プロパティ表示手段により表示されたプロパティのキーに対応する値の変更を受け付けるプロパティ値変更受付手段と、前記プロパティ値変更受付手段により変更を受け付けた値に従って、前記部品の表示を更新するテンプレート部品表示更新手段と、前記テンプレート部品表示更新手段により表示を更新された部品のプロパティのキーおよび値を用いて、前記スタイルシートを生成するスタイルシート生成手段とを備えることを特徴とする情報処理装置。   An information processing apparatus for editing a design of a template screen having a plurality of parts and generating a style sheet, and a template editing screen for editing a value corresponding to a property key of a part design included in the template screen The template editing screen display means for displaying the template, the template editing screen displayed by the template editing screen display means, the template part displaying means for displaying the part to which the design is applied, and the template part displaying means A template part instruction receiving unit that receives a user instruction with respect to a part, and a property display unit that displays a property key and a value corresponding to the part of the design property corresponding to the part received by the template part instruction receiving unit And the property Property value change accepting means for accepting a change in the value corresponding to the property key displayed by the display means, and template part display updating for updating the part display according to the value accepted by the property value change accepting means. An information processing apparatus comprising: means; and style sheet generation means for generating the style sheet using a property key and value of a component whose display is updated by the template component display update unit.

本発明によれば、画面デザインのテンプレートの編集に係る作業を効率化する仕組みを提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the structure which improves the work which concerns on the edit of the template of a screen design can be provided.

本発明に係わるプログラム開発装置、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント、アプリケーションサーバの構成の一例を示すシステム構成図である。1 is a system configuration diagram illustrating an example of configurations of a program development apparatus, a program development server, a database server, an application client, and an application server according to the present invention. 本発明に係わるプログラム開発装置、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント、アプリケーションサーバとして適用可能な各ハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of each hardware constitutions applicable as the program development apparatus concerning this invention, a program development server, a database server, an application client, and an application server. 本発明の実施の形態のソフトウェア構成を示すブロック図の一例である。It is an example of the block diagram which shows the software structure of embodiment of this invention. プログラム開発装置の構成図である。It is a block diagram of a program development apparatus. E−R図の一例を示す図である。It is a figure which shows an example of an ER diagram. 画面遷移図の一例を示す図である。It is a figure which shows an example of a screen transition diagram. リポジトリ定義の一例を示す図である。It is a figure which shows an example of a repository definition. データベース定義401の一例を示す図である。It is a figure which shows an example of the database definition. アプリケーション定義402の一例を示す図である。It is a figure which shows an example of the application definition. データモデル定義403の一例を示す図である。6 is a diagram illustrating an example of a data model definition 403. FIG. データモデル定義403の一例を示す図である。6 is a diagram illustrating an example of a data model definition 403. FIG. データモデル操作定義の一例を示す図である。It is a figure which shows an example of a data model operation definition. 商品検索画面601の入出力定義の一例を示す図である。It is a figure which shows an example of the input / output definition of the goods search screen. 商品購入画面602の入出力定義の一例を示す図である。It is a figure which shows an example of the input / output definition of the goods purchase screen. 商品購入結果画面603の入出力定義の一例を示す図である。It is a figure which shows an example of the input / output definition of the goods purchase result screen. 受注一覧画面の入出力定義の一例を示す図である。It is a figure which shows an example of the input / output definition of an order list screen. 入出力定義の一例を示す図である。It is a figure which shows an example of an input / output definition. 入出力定義のメニュー設定の一例を示す図である。It is a figure which shows an example of the menu setting of an input / output definition. ビジネスプロセス定義の一例を示す図である。It is a figure which shows an example of a business process definition. 新テーマ作成ダイアログの一例を示す図である。It is a figure which shows an example of a new theme creation dialog. テーマエディタの一例を示す図である。It is a figure which shows an example of a theme editor. テーマエディタ画面2100を用いて、夏のテーマをベースに作成した、春のテーマの一例を示す図である。It is a figure which shows an example of the spring theme created based on the summer theme using the theme editor screen 2100. FIG. テーマエディタ画面2100を用いて、夏のテーマをベースに作成した、秋のテーマの一例を示す図である。It is a figure which shows an example of the theme of autumn created based on the theme of summer using the theme editor screen 2100. FIG. テーマエディタ画面2100を用いて、夏のテーマをベースに作成した、冬のテーマの一例を示す図である。It is a figure which shows an example of the theme of winter produced based on the theme of summer using the theme editor screen 2100. FIG. テーマ部品412のうち、ラベルを選択した場合のプロパティエディタ部413の一例を示す図である。It is a figure which shows an example of the property editor part 413 at the time of selecting a label among the theme components 412. FIG. テーマ部品412のうち、ボタンを選択した場合のプロパティエディタ部413の一例を示す図である。FIG. 10 is a diagram illustrating an example of a property editor unit 413 when a button is selected from the theme parts 412. テーマ部品412のうち、リンクを選択した場合のプロパティエディタ部413の一例を示す図である。It is a figure which shows an example of the property editor part 413 at the time of selecting a link among the theme components 412. FIG. テーマ部品412のうち、複数のテーマ部品412を選択した場合のプロパティエディタ部413の一例を示す図である。It is a figure which shows an example of the property editor part 413 at the time of selecting several theme parts 412 among the theme parts 412. FIG. テーマファイルの中身の一例を示す図である。It is a figure which shows an example of the content of a theme file. ユーザテーマファイル作成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of user theme file preparation. ユーザテーマファイル更新のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a user theme file update. テーマエディタ画面描画のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of theme editor screen drawing. レイアウトエディタ部の一例を示す図である。It is a figure which shows an example of a layout editor part. レイアウトエディタ部へテーマを適用するフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which applies a theme to a layout editor part. Webアプリケーション生成フローチャートの一例を示す図である。It is a figure which shows an example of a web application production | generation flowchart. Webアプリケーション画面イメージの一例を示す図である。It is a figure which shows an example of a web application screen image. Webアプリケーション画面イメージの一例を示す図である。It is a figure which shows an example of a web application screen image. レイアウトエディタ部からテーマ部品412選択を行う一例を示す図である。It is a figure which shows an example which performs theme part 412 selection from a layout editor part. レイアウトエディタ部からテーマ部品412選択を行う一例を示す図である。It is a figure which shows an example which performs theme part 412 selection from a layout editor part. レイアウトエディタ部からテーマエディタ部を表示する処理フローチャートの一例を示す図である。It is a figure which shows an example of the process flowchart which displays a theme editor part from a layout editor part. テーマ部品412とテーマプロパティファイルにおけるプロパティキーとの対応付けテーブルの一例を示す図である。It is a figure which shows an example of the matching table of the theme component 412 and the property key in a theme property file. 第3の実施形態において、ユーザテーマファイル更新のフローチャートの一例を示す図である。In 3rd Embodiment, it is a figure which shows an example of the flowchart of a user theme file update. 第3の実施形態において、テーマ部品412のうち、複数のテーマ部品412を選択した場合のプロパティエディタ部413の一例を示す図である。In 3rd Embodiment, it is a figure which shows an example of the property editor part 413 at the time of selecting the some theme component 412 among the theme components 412. FIG. 第3の実施形態において、プロパティエディタ部413で選択されたプロパティが部品のどこに影響を与えるかを識別表示の一例を示す図である。In a 3rd embodiment, it is a figure showing an example of a discernment display where a property selected in property editor part 413 affects a part. 第3の実施形態において、プロパティエディタ部413で選択されたプロパティのキーと同じプロパティのキーを持つ他の部品の値表示の一例を示す図である。FIG. 20 is a diagram illustrating an example of a value display of another component having the same property key as the property key selected by the property editor unit 413 in the third embodiment. 第3の実施形態において、プロパティエディタ部413の値として既存テーマ選択の一例を示す図である。In 3rd Embodiment, it is a figure which shows an example of the existing theme selection as a value of the property editor part 413. FIG.

〔第1の実施形態〕
以下、本発明の実施の形態を、図面を参照して詳細に説明する。
図1は、本発明に係わるプログラム開発装置(開発者端末)、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント(クライアント装置)、アプリケーションサーバの構成の一例を示すシステム構成図である(情報処理システム)。
[First Embodiment]
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a system configuration diagram showing an example of the configuration of a program development device (developer terminal), a program development server, a database server, an application client (client device), and an application server according to the present invention (information processing system).

プログラム開発装置101(情報処理装置)は、開発者の操作に従って画面レイアウトおよびデータベース検索指示などを定義する。プログラム開発装置101単体では、ユーザ(Webアプリケーション開発者)の入力受付を行い、後述するプログラム開発サーバ102に実際のプログラム生成処理、アプリケーション生成処理をさせてもよいし、プログラム開発装置101単体でプログラム生成、アプリケーション生成まで処理してもよい。   The program development apparatus 101 (information processing apparatus) defines a screen layout, a database search instruction, and the like according to the developer's operation. The program development apparatus 101 alone may accept input from the user (Web application developer) and cause the program development server 102 described later to perform actual program generation processing and application generation processing. You may process from generation to application generation.

なお、この実施形態においては、プログラム開発装置101で生成するアプリケーションはWebアプリケーションとしたが、これに限定するものではなく、携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用したアプリケーションでなくてもよい。   In this embodiment, the application generated by the program development apparatus 101 is a Web application. However, the application is not limited to this, and an application or embedded software that operates on an information processing apparatus such as a mobile phone, a smartphone, or a tablet. The application does not have to be communication using Web technology.

プログラム開発サーバ102a〜102b(情報処理装置)は、プログラム開発装置101により入力された開発者の指示に従って、プログラムを開発する。プログラム開発サーバ102aはLANなどのネットワーク106内に配置されてもよいし、プログラム開発サーバ102bはインターネット上やクラウド上に配置されてもよい。   The program development servers 102a to 102b (information processing apparatuses) develop a program in accordance with a developer instruction input by the program development apparatus 101. The program development server 102a may be arranged in a network 106 such as a LAN, and the program development server 102b may be arranged on the Internet or the cloud.

データベースサーバ103a〜103b(情報処理装置)は、開発されたアプリケーションが使用するデータベースであり、また本発明では開発時にも動作確認などのために利用してもよい。例えば、開発者が利用するためにデータベースサーバ103は、プログラム開発装置101と同一の装置で構成されていてもよいし、LANなどのネットワーク106内に配置されてもよい(データベースサーバ103a)。またインターネット上やクラウド上に配置されてもよい(データベースサーバ103b)。また、プログラム開発装置101が、プログラム開発サーバ102と協調する場合には、プログラム開発サーバ102とデータベースサーバ103が同一の装置内に構成されていてもよい。   The database servers 103a to 103b (information processing apparatuses) are databases used by the developed application. In the present invention, the database servers 103a to 103b (information processing apparatuses) may be used for operation confirmation during development. For example, the database server 103 may be configured by the same device as the program development device 101 for use by a developer, or may be arranged in a network 106 such as a LAN (database server 103a). Moreover, you may arrange | position on the internet or a cloud (database server 103b). When the program development apparatus 101 cooperates with the program development server 102, the program development server 102 and the database server 103 may be configured in the same apparatus.

アプリケーションサーバ105a〜105b(情報処理装置)は、プログラム開発装置101で開発されたアプリケーションを実行する。LANなどのネットワーク106内に配置されてもよい(アプリケーションサーバ105a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションサーバ105b)。また、ネットワーク106、インターネット、クラウド上のデータベースサーバ103と接続して動作する可能である。   Application servers 105a to 105b (information processing apparatuses) execute applications developed by the program development apparatus 101. It may be arranged in a network 106 such as a LAN (application server 105a), or may be arranged on the Internet or in the cloud (application server 105b). Further, it is possible to operate by connecting to the database server 103 on the network 106, the Internet, or the cloud.

アプリケーションクライアント104a〜104b(情報処理装置)は、アプリケーションサーバ105と協調してプログラム開発装置101で開発したアプリケーションプログラムを動作させる、ユーザの入力端末である。LANなどのネットワーク106内に配置されてもよい(アプリケーションクライアント104a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションクライアント104b)。携帯端末などの情報処理装置であってもよい。
The application clients 104a to 104b (information processing apparatuses) are user input terminals that operate application programs developed by the program development apparatus 101 in cooperation with the application server 105. It may be arranged in a network 106 such as a LAN (application client 104a), or may be arranged on the Internet or in the cloud (application client 104b). An information processing apparatus such as a portable terminal may be used.

図2は、本発明に係わるプログラム開発装置、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント、アプリケーションサーバとして適用可能な各ハードウェア構成の一例を示すブロック図である。
図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。
FIG. 2 is a block diagram showing an example of each hardware configuration applicable as a program development apparatus, a program development server, a database server, an application client, and an application server according to the present invention.
In FIG. 2, the CPU 201 comprehensively controls each device connected to the system bus 204.

また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステム(OS)や、各サーバ、クライアント、装置など情報処理装置の後述する各種機能を実現するためのプログラムが記憶されている。
RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。
The ROM 203 or the external memory 211 stores an operating system (OS) that is a control program of the CPU 201 and programs for realizing various functions described later of the information processing apparatus such as each server, client, and device.
The RAM 202 functions as a main memory, work area, temporary save area, and the like for the CPU 201.

入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイスが挙げられる。
出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。
The input controller 205 controls input from the input unit 209. Examples of the input unit 209 include pointing devices such as a keyboard and a mouse in the information processing apparatus.
The output controller 206 controls the display of the output unit 210. Examples of the output unit 210 include a CRT and a liquid crystal display.

外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。加えて、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。
通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。
The external memory controller 207 controls access to the external memory 211 that stores a boot program, various applications, font data, user files, edit files, printer drivers, and the like. In addition, various tables and parameters for realizing various functions of each server, client, and device are stored. Examples of the external memory 211 include a hard disk (HD), a flexible disk (FD), a compact flash (registered trademark) connected to a PCMCIA card slot via an adapter, and smart media.
The communication I / F controller 208 executes communication control processing with an external device via a network.

本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。


図3は、本発明の実施の形態のソフトウェア構成を示すブロック図の一例である。
プログラム開発装置101は、以下の機能部を備える。
テンプレート編集画面表示部301は、テンプレートに含まれるプロパティのキーと値とを編集する画面を表示する機能部である。
A program 212 for realizing the present invention is recorded in the external memory 211 and is executed by the CPU 201 by being loaded into the RAM 202 as necessary.


FIG. 3 is an example of a block diagram illustrating a software configuration according to the embodiment of this invention.
The program development apparatus 101 includes the following functional units.
The template editing screen display unit 301 is a functional unit that displays a screen for editing property keys and values included in a template.

テンプレート編集画面表示部301は、テンプレート画面に含まれる部品のデザインのプロパティのキーに対応する値を編集するためのテンプレート編集画面を表示する機能部である。
テンプレート部品表示部302は、テンプレート編集画面表示部301により表示された画面に、テンプレートを適用した部品を表示する機能部である。
The template editing screen display unit 301 is a functional unit that displays a template editing screen for editing a value corresponding to a part design property key included in the template screen.
The template component display unit 302 is a functional unit that displays a component to which a template is applied on the screen displayed by the template editing screen display unit 301.

テンプレート部品表示部302は、テンプレート編集画面表示部301により表示されたテンプレート編集画面に、デザインを適用した部品を表示する機能部である。
テンプレート部品指示受付部303は、テンプレート部品表示部302により表示された部品に対して、ユーザの指示を受け付ける機能部である。
The template part display unit 302 is a functional unit that displays a part to which the design is applied on the template editing screen displayed by the template editing screen display unit 301.
The template component instruction receiving unit 303 is a functional unit that receives a user instruction for the component displayed by the template component display unit 302.

プロパティ表示部304は、テンプレートに含まれるプロパティのうち、テンプレート部品指示受付部303により指示を受け付けた部品に対応するプロパティのキーと値を表示する機能部である。   The property display unit 304 is a functional unit that displays a property key and a value corresponding to a component for which an instruction has been received by the template component instruction receiving unit 303 among the properties included in the template.

プロパティ表示部304は、デザインのプロパティのうち、テンプレート部品指示受付部303により指示を受け付けた部品に対応するプロパティのキーと値を表示する機能部である。
プロパティ値変更受付部305は、プロパティ表示部304により表示されたプロパティの値の変更を受け付ける機能部である。
プロパティ値変更受付部305は、プロパティ表示部304により表示されたプロパティのキーに対応する値の変更を受け付ける機能部である。
テンプレート部品表示部302は、プロパティ値変更受付部305により変更を受け付けたプロパティの値に従って、部品の表示を更新する機能部である。
テンプレート部品表示更新部312は、プロパティ値変更受付部305により変更を受け付けた値に従って、部品の表示を更新する機能部である。
テンプレート部品表示更新部312は、プロパティ値変更受付部305により変更を受け付けたプロパティの値に従って、部品の表示を更新する機能部である。
The property display unit 304 is a functional unit that displays a property key and a value corresponding to a component for which an instruction has been received by the template component instruction receiving unit 303 among design properties.
The property value change receiving unit 305 is a functional unit that receives a change in the property value displayed by the property display unit 304.
The property value change accepting unit 305 is a functional unit that accepts a change of a value corresponding to the property key displayed by the property display unit 304.
The template component display unit 302 is a functional unit that updates the display of the component in accordance with the property value received by the property value change receiving unit 305.
The template component display update unit 312 is a functional unit that updates the display of the component according to the value received by the property value change receiving unit 305.
The template part display update unit 312 is a functional unit that updates the display of parts in accordance with the property value received by the property value change receiving unit 305.

スタイルシート生成部313は、テンプレート部品表示更新部312により表示を更新された部品のプロパティのキーおよび値を用いて、スタイルシートを生成する機能部である。   The style sheet generation unit 313 is a functional unit that generates a style sheet using the property key and value of the component whose display is updated by the template component display update unit 312.

プロパティ表示部304は、テンプレート部品指示受付部303により指示を受け付けた部品が複数の場合、テンプレート部品指示受付部303により指示を受け付けた複数の部品のすべてに含まれるプロパティのキーと値を表示する機能部である。   The property display unit 304 displays the property keys and values included in all of the plurality of components for which the instruction has been received by the template component instruction receiving unit 303 when there are a plurality of components for which the instruction has been received by the template component instruction receiving unit 303. It is a functional part.

テンプレート部品表示部302は、プロパティ値変更受付部305により変更を受け付けたプロパティの値に従って、テンプレート部品指示受付部303により指示を受け付けた部品とプロパティ値変更受付部305により変更を受け付けたプロパティに対応する部品との表示を更新する機能部である。
プログラム生成部306は、アプリケーションプログラムを生成する機能部である。
The template part display unit 302 corresponds to the part for which the instruction has been received by the template part instruction receiving unit 303 and the property for which the change has been received by the property value change receiving unit 305 in accordance with the property value received by the property value change receiving unit 305. It is a functional unit that updates the display with the parts to be performed.
The program generation unit 306 is a functional unit that generates an application program.

編集画面表示部307は、プログラム生成部306により生成されたプログラムが動作することによって出力される、複数の画面部品を持つアプリケーション画面を編集する編集画面を表示する機能部である。
レイアウト編集画面表示部314は、アプリケーション画面に表示する部品のレイアウトを編集するレイアウト編集画面を表示する機能部である。
The edit screen display unit 307 is a functional unit that displays an edit screen for editing an application screen having a plurality of screen parts, which is output when the program generated by the program generation unit 306 operates.
The layout editing screen display unit 314 is a functional unit that displays a layout editing screen for editing the layout of components displayed on the application screen.

編集画面表示部307により表示された編集画面に含まれる複数の画面部品に対して、テンプレートに含まれるプロパティのキーと値とを適用する機能部である。   This is a functional unit that applies property keys and values included in the template to a plurality of screen components included in the editing screen displayed by the editing screen display unit 307.

レイアウト編集画面適用部315は、プロパティ値変更受付部305により変更を受け付けた値に従って、レイアウト編集画面表示部314により表示されたレイアウト編集画面に含まれる部品にデザインを適用する機能部である。
画面部品指示受付部308は、編集画面表示部307により表示された画面部品に対して、ユーザの指示を受け付ける機能部である。
レイアウト編集画面部品指示受付部316は、レイアウト編集画面表示部314により表示された部品に対して、ユーザの指示を受け付ける機能部である。
プロパティ表示部304は、画面部品指示受付部308により指示を受け付けた画面部品に対応するプロパティのキーと値を表示する機能部である。
The layout editing screen application unit 315 is a functional unit that applies a design to the components included in the layout editing screen displayed by the layout editing screen display unit 314 according to the value received by the property value change receiving unit 305.
The screen component instruction receiving unit 308 is a functional unit that receives a user instruction for the screen component displayed by the editing screen display unit 307.
The layout editing screen component instruction receiving unit 316 is a functional unit that receives a user instruction for the component displayed by the layout editing screen display unit 314.
The property display unit 304 is a functional unit that displays a property key and a value corresponding to the screen component whose instruction is received by the screen component instruction receiving unit 308.

プロパティ表示部304は、レイアウト編集画面部品指示受付部316により指示を受け付けた画面部品に対応するプロパティのキーと値を表示する機能部である。   The property display unit 304 is a functional unit that displays a property key and a value corresponding to the screen component for which an instruction has been received by the layout editing screen component instruction receiving unit 316.

テンプレート判定部309は、編集画面表示部307により表示されたアプリケーション画面に適用しているテンプレートがユーザによって作成されたテンプレートか否かを判定する機能部である。   The template determination unit 309 is a functional unit that determines whether a template applied to the application screen displayed by the editing screen display unit 307 is a template created by the user.

テンプレート判定部309は、レイアウト編集画面表示部314により表示されたアプリケーション画面に適用しているテンプレートがユーザによって作成されたテンプレートか否かを判定する機能部である。   The template determination unit 309 is a functional unit that determines whether the template applied to the application screen displayed by the layout editing screen display unit 314 is a template created by the user.

プロパティ表示部304は、画面部品指示受付部308によりユーザの指示を受け付けた場合であって、テンプレート判定部309によりユーザによって作成されたテンプレートであると判定された場合は当該テンプレートを用い、テンプレート判定部309によりユーザによって作成されたテンプレートでないと判定された場合は当該テンプレートをコピーして作成したテンプレートを用い、画面部品指示受付部308により指示を受け付けた画面部品に対応するプロパティのキーと値を表示する機能部である。   When the property display unit 304 receives a user instruction from the screen component instruction reception unit 308 and the template determination unit 309 determines that the template is created by the user, the property display unit 304 uses the template to determine the template. If it is determined by the unit 309 that the template is not created by the user, a template created by copying the template is used, and the property key and value corresponding to the screen component received by the screen component instruction receiving unit 308 are set. It is a functional part to be displayed.

プロパティ表示部304は、レイアウト編集画面部品指示受付部316によりユーザの指示を受け付けた場合であって、テンプレート判定部309によりユーザによって作成されたテンプレートであると判定された場合は当該テンプレートを用い、テンプレート判定部309によりユーザによって作成されたテンプレートでないと判定された場合は当該テンプレートをコピーして作成したテンプレートを用い、レイアウト編集画面部品指示受付部316により指示を受け付けた画面部品に対応するプロパティのキーと値を表示する機能部である。
画面レイアウト編集部310は、アプリケーションプログラムが動作することによって出力されるアプリケーション画面のレイアウトを編集する機能部である。
テンプレート編集部311は、アプリケーション画面のデザインのテンプレートを編集する機能部である。
When the property display unit 304 receives a user instruction from the layout editing screen component instruction reception unit 316 and the template determination unit 309 determines that the template is created by the user, the property display unit 304 uses the template. If it is determined by the template determination unit 309 that the template is not created by the user, a template created by copying the template is used, and the property corresponding to the screen component whose instruction is received by the layout editing screen component instruction receiving unit 316 is used. It is a functional part that displays keys and values.
The screen layout editing unit 310 is a functional unit that edits the layout of an application screen that is output when an application program operates.
The template editing unit 311 is a functional unit that edits a design template of an application screen.

プログラム生成部306は、テンプレート編集部311により編集されたテンプレートを適用したアプリケーション画面を含むアプリケーションプログラムを生成する機能部である。   The program generation unit 306 is a functional unit that generates an application program including an application screen to which the template edited by the template editing unit 311 is applied.

デザインテンプレート記憶部317は、テンプレート部品表示部302により表示された部品のプロパティのキーおよび値を対応付けて、デザインテンプレートとして記憶する機能部である。
アプリケーション構築部318は、部品を含むアプリケーション画面を出力するアプリケーションを構築する機能部である。
The design template storage unit 317 is a functional unit that stores the property key and value of the component displayed by the template component display unit 302 in association with each other as a design template.
The application construction unit 318 is a functional unit that constructs an application that outputs an application screen including components.

アプリケーション構築部318は、スタイルシート生成部313により生成されたスタイルシートを用いるアプリケーション画面を出力するアプリケーションを構築する機能部である。   The application construction unit 318 is a functional unit that constructs an application that outputs an application screen using the style sheet generated by the style sheet generation unit 313.

デザインテンプレート選択部319は、プロパティ表示部304により表示されたプロパティのキーに対応する値の変更をすべく、ユーザの指示に従って、デザインテンプレート記憶部317により記憶されているデザインテンプレートの選択を受け付ける機能部である。   The design template selection unit 319 has a function of accepting selection of a design template stored in the design template storage unit 317 in accordance with a user instruction to change a value corresponding to the property key displayed by the property display unit 304. Part.

プロパティ値変更受付部305は、デザインテンプレート選択部319により選択を受け付けたデザインテンプレートとしてデザインテンプレート記憶部317により記憶されているプロパティの値を用いて、プロパティ表示部304により表示されたプロパティのキーに対応する値を変更する機能部である。   The property value change accepting unit 305 uses the property value stored in the design template storage unit 317 as the design template accepted by the design template selection unit 319 and uses the property value displayed by the property display unit 304 as a property key. It is a functional unit that changes the corresponding value.

デザイン影響識別表示部320は、プロパティ値変更受付部305により変更を受け付ける値が、テンプレート画面のどこのデザインに影響を及ぼすかを識別して表示する機能部である。   The design influence identification display unit 320 is a functional unit that identifies and displays which design on the template screen the value accepted by the property value change acceptance unit 305 affects.

ユーザ操作受付部321は、デザイン影響識別表示部320により表示された識別表示するためのオブジェクトに対して、ユーザの操作を受け付ける機能部である。   The user operation reception unit 321 is a functional unit that receives a user operation on an object for identification display displayed by the design influence identification display unit 320.

プロパティ値変更受付部305は、ユーザ操作受付部321により受け付けた操作に従って、プロパティ表示部304により表示されたプロパティのキーに対応する値を変更する機能部である。   The property value change receiving unit 305 is a functional unit that changes the value corresponding to the property key displayed by the property display unit 304 in accordance with the operation received by the user operation receiving unit 321.

プロパティ表示部304は、テンプレート部品指示受付部303により指示を受け付けた部品が複数の場合、テンプレート部品指示受付部303により指示を受け付けた部品のプロパティのキーと値を部品毎に並べて表示し、同じキーに対応して設定されている値が部品間で異なることを識別して表示する機能部である。   When there are a plurality of parts whose instructions are received by the template part instruction receiving part 303, the property display part 304 displays the property keys and values of the parts whose instructions are received by the template part instruction receiving part 303 side by side. It is a functional unit that identifies and displays that the value set corresponding to the key differs between components.

プロパティ表示部304は、テンプレート部品指示受付部303により指示を受け付けた部品のプロパティのキーと値を表示する場合、当該値の近傍に他の部品で同じキーに対応して設定されている値を表示する機能部である。
When the property display unit 304 displays the property key and value of the component for which the instruction has been received by the template component instruction reception unit 303, the property display unit 304 displays the value set corresponding to the same key in the other component in the vicinity of the value. It is a functional part to be displayed.

図4は、Webアプリケーション自動生成装置の構成図である。Webアプリケーション自動生成装置は、Webアプリケーションを開発するユーザが定義した定義ファイルをもとにWebアプリケーションを自動生成することを目的とした装置である。リポジトリ定義部400、テーマエディタ部410、レイアウトエディタ部420、Webアプリケーション生成部430により構成される。リポジトリ定義部400は、データベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405、ユーザテーマファイル406を備える。これらのファイルはユーザによって作られ、後述する図7に示すツリー構造で表示される。
テーマエディタ部410は、テーマ描画部411、テーマ部品412、プロパティエディタ部413を備える。
FIG. 4 is a configuration diagram of the Web application automatic generation device. The Web application automatic generation apparatus is an apparatus for automatically generating a Web application based on a definition file defined by a user who develops a Web application. The repository definition unit 400, the theme editor unit 410, the layout editor unit 420, and the web application generation unit 430 are configured. The repository definition unit 400 includes a database definition 401, an application definition 402, a data model definition 403, an input / output definition 404, a business process definition 405, and a user theme file 406. These files are created by the user and displayed in a tree structure shown in FIG.
The theme editor unit 410 includes a theme drawing unit 411, a theme component 412, and a property editor unit 413.

テーマ描画部411には、テーマの全体イメージがわかるように、Web画面で利用されるコンポーネント部品が一通り事前に備え付けられている。ここで言う、コンポーネント部品とはテーマ部品412を指す。
レイアウトエディタ部420は、レイアウト描画部421、レイアウト部品422を備える。
The theme drawing unit 411 is preliminarily provided with component parts used on the Web screen so that the entire image of the theme can be understood. Here, the component part refers to the theme part 412.
The layout editor unit 420 includes a layout drawing unit 421 and a layout component 422.

Webアプリケーション生成部430は生成処理部431、組込テーマファイル432を備える。なお、開発者には組込テーマファイル432を編集させたくない、かつ開発者がテーマファイルのすべてのプロパティについて設定することは手間がかかってしまうため、開発者が所望するデザインに最も近い組込テーマファイル432を選択させることで、組込テーマファイル432をコピーし、リポジトリ定義部400のユーザテーマファイル406を作成する。
The Web application generation unit 430 includes a generation processing unit 431 and an embedded theme file 432. Since the developer does not want to edit the embedded theme file 432 and it takes time for the developer to set all the properties of the theme file, the embedded closest to the design desired by the developer is required. By selecting the theme file 432, the built-in theme file 432 is copied, and the user theme file 406 of the repository definition unit 400 is created.

図21は、テーマエディタ部410の一例を示す図であり、2100に示す部分がテーマ描画部411である。テーマ描画部411にはテーマ部品412を表示する。テーマ描画部411と同一ウィンドウ上の2102には、プロパティエディタ部413が存在する。   FIG. 21 is a diagram illustrating an example of the theme editor unit 410, and a portion indicated by 2100 is a theme drawing unit 411. The theme part 412 is displayed on the theme drawing unit 411. A property editor unit 413 exists in 2102 on the same window as the theme drawing unit 411.

テーマ描画部411には、ユーザテーマファイル406(図29にて後述する)の中身(以下、エントリと記載する)を読み取り、そのエントリに含まれるプロパティのキーと値に従って、「フォント」「カラー」「装飾」等を反映させたテーマ部品412を表示する。プロパティエディタ部413には、ユーザテーマファイル406のエントリに含まれるプロパティのキーと値を表示し、ユーザはプロパティ値を編集できる。すなわち、プロパティエディタ部413は、テンプレートに含まれるプロパティのキーと値とを編集する画面である。また、プロパティエディタ部413は、テンプレート画面に含まれる部品のデザインのプロパティのキーに対応する値を編集するためのテンプレート編集画面である。また、テーマエディタ部410は、アプリケーション画面のデザインのテンプレートを編集する機能部である。   The theme drawing unit 411 reads the contents (hereinafter referred to as an entry) of the user theme file 406 (to be described later with reference to FIG. 29), and “font” and “color” according to the property keys and values included in the entry A theme part 412 reflecting “decoration” or the like is displayed. The property editor unit 413 displays the property key and value included in the entry of the user theme file 406, and the user can edit the property value. That is, the property editor unit 413 is a screen for editing property keys and values included in the template. The property editor unit 413 is a template editing screen for editing a value corresponding to a part design property key included in the template screen. The theme editor unit 410 is a functional unit that edits a design template of an application screen.

次に、レイアウトエディタ部420が備えるレイアウト描画部421について説明する。レイアウト描画部421には、ユーザが作成した入出力定義の内容をグラフィカルな画面として表示する。レイアウト描画部421には、入出力定義404の定義したレイアウト部品を表示する。表示に際して、レイアウト描画部421はユーザテーマファイル406または組込テーマファイル432を読み取り、レイアウト部品に「フォント」「カラー」「装飾」等を反映させ、入出力定義404の内容を画面表示する。   Next, the layout drawing unit 421 included in the layout editor unit 420 will be described. The layout drawing unit 421 displays the contents of the input / output definition created by the user as a graphical screen. The layout drawing unit 421 displays the layout component defined by the input / output definition 404. At the time of display, the layout drawing unit 421 reads the user theme file 406 or the embedded theme file 432, reflects “font”, “color”, “decoration”, etc. on the layout component, and displays the contents of the input / output definition 404 on the screen.

すなわち、レイアウトエディタ部420は、生成されたプログラムが動作することによって出力される、複数の画面部品を持つアプリケーション画面を編集する編集画面を表示する機能部である。また、レイアウトエディタ部420は、アプリケーションプログラムが動作することによって出力されるアプリケーション画面のレイアウトを編集する機能部である。また、レイアウトエディタ部420は、アプリケーション画面に表示する部品のレイアウトを編集するレイアウト編集画面を表示する機能部である。   In other words, the layout editor unit 420 is a functional unit that displays an editing screen for editing an application screen having a plurality of screen parts, which is output when the generated program is operated. The layout editor unit 420 is a functional unit that edits the layout of the application screen that is output when the application program operates. The layout editor unit 420 is a functional unit that displays a layout editing screen for editing the layout of components displayed on the application screen.

次に、Webアプリケーション生成部430について説明する。生成処理部431はリポジトリ定義部400からデータベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405を読み込む。さらにユーザの指定に従い、組込テーマファイル432またはユーザテーマファイル406を選択して読み込む。生成処理部431は読み込んだ定義ファイルからソースコード441、HTML/JSP/JavaScript(登録商標)442を生成する。さらにテーマファイルからスタイルシート443を生成する。なお、ソースコード441は生成処理部によって、生成後にコンパイルが行われる。すなわち、Webアプリケーション生成部430は、アプリケーションプログラムを生成する機能部である。また、Webアプリケーション生成部430は、編集されたテンプレートを適用したアプリケーション画面を含むアプリケーションプログラムを生成する機能部である。
次にテーマエディタについて、Webアプリケーションのサンプル例を利用して説明する。
Next, the web application generation unit 430 will be described. The generation processing unit 431 reads the database definition 401, application definition 402, data model definition 403, input / output definition 404, and business process definition 405 from the repository definition unit 400. Further, the embedded theme file 432 or the user theme file 406 is selected and read according to the user's specification. The generation processing unit 431 generates source code 441 and HTML / JSP / JavaScript (registered trademark) 442 from the read definition file. Further, a style sheet 443 is generated from the theme file. The source code 441 is compiled after being generated by the generation processing unit. That is, the Web application generation unit 430 is a functional unit that generates an application program. The web application generation unit 430 is a functional unit that generates an application program including an application screen to which the edited template is applied.
Next, the theme editor will be described using a sample Web application example.

図5は、これから説明するアプリケーションサンプルのER図である。この実施形態においては、例として、商品データモデル501と受注データモデル502を用意した。これらのデータモデルは物理的にはデータベースのテーブルに該当する。商品と受注の多重度は1:1である。   FIG. 5 is an ER diagram of an application sample to be described. In this embodiment, a product data model 501 and an order data model 502 are prepared as examples. These data models physically correspond to database tables. The multiplicity of merchandise and orders is 1: 1.

図6は、アプリケーションの画面遷移図である。ユーザログイン後に表示された商品検索画面601において、ユーザにより商品検索が行われる。検索結果を同画面に表示する。検索結果一覧から購入する商品が選択されると、商品購入画面602に遷移する。商品購入のための情報入力を受け付け、購入ボタンが押下されると、商品購入結果画面603を表示する。
図7は、アプリケーションを生成するためのリポジトリ定義のツリー構造の一例を示す図である。
以降において、リポジトリ定義の詳細について説明する。
図8は、データベース定義401の一例を示す図である。801は、データベース接続のための情報が記録されている。802は、801の詳細ビューである。
FIG. 6 is a screen transition diagram of the application. A product search is performed by the user on the product search screen 601 displayed after user login. Display search results on the same screen. When a product to be purchased is selected from the search result list, a transition to a product purchase screen 602 is made. When an information input for purchasing a product is received and the purchase button is pressed, a product purchase result screen 603 is displayed.
FIG. 7 is a diagram illustrating an example of a tree structure of a repository definition for generating an application.
The details of repository definition will be described below.
FIG. 8 is a diagram illustrating an example of the database definition 401. Information 801 for database connection is recorded. Reference numeral 802 denotes a detailed view 801.

図9は、アプリケーション定義402の一例を示す図である。アプリケーション定義402は、入出力一覧901と所属入出力902の領域に分かれている。入出力一覧901には、リポジトリ定義部400に保存されている入出力定義が初期状態ですべて表示されている。所属入出力902は、アプリケーションに所属する入出力定義が設定される。この所属した入出力定義のみがアプリケーション生成の対象となる。
図10は、データモデル定義403の一例を示す図である。このデータモデル定義は、図5で示した商品データモデルの定義である。
図11は、図10と同様にデータモデル定義403の一例を示す図である。このデータモデル定義403は、図5で示した受注データモデルの定義である。
FIG. 9 is a diagram illustrating an example of the application definition 402. The application definition 402 is divided into an input / output list 901 and a belonging input / output 902 area. The input / output list 901 displays all input / output definitions stored in the repository definition unit 400 in an initial state. In the belonging input / output 902, an input / output definition belonging to an application is set. Only the input / output definition to which it belongs belongs to the application generation target.
FIG. 10 is a diagram illustrating an example of the data model definition 403. This data model definition is the definition of the product data model shown in FIG.
FIG. 11 is a diagram illustrating an example of the data model definition 403 as in FIG. This data model definition 403 is a definition of the order data model shown in FIG.

図12は、受注データモデルのデータ操作を示す、データモデル操作定義の一例を示す図である。受注登録(操作コード:JUCHU_INSERT)の定義を保持している。操作ロジックとして、画面から送信されるJUCHU_ID、SHOHIN_ID、QUANITY、DELIVERYの各入力データを受注データモデルに登録する定義がなされている。   FIG. 12 is a diagram illustrating an example of the data model operation definition indicating the data operation of the order data model. It holds the definition of order registration (operation code: JUCHU_INSERT). As the operation logic, definition is made to register each input data of JUCHI_ID, SHOHIN_ID, QUANITY, and DELIVER transmitted from the screen in the order data model.

図13は、商品検索画面601の入出力定義の一例を示す図である。入出力定義画面1300は、レイアウトエディタ部1301に入出力定義をグラフィカルに表示している。また、例として商品IDフィールド1302を選択した状態において、商品IDフィールド1302の定義詳細を詳細ビュー1303に表示する。
図14は、商品購入画面602の入出力定義の一例を示す図である。
図15は、商品購入結果画面603の入出力定義の一例を示す図である。
図16は、受注一覧画面の入出力定義の一例を示す図である。
図14〜図16の説明については、図13と同様なので割愛する。
図17は、メニュー部の入出力定義の一例を示す図である。メニュー部は各画面の一部として、他画面の入出力定義と関連を持つ。
FIG. 13 is a diagram illustrating an example of the input / output definition of the product search screen 601. The input / output definition screen 1300 graphically displays the input / output definition on the layout editor unit 1301. For example, in the state where the product ID field 1302 is selected, the definition details of the product ID field 1302 are displayed on the detailed view 1303.
FIG. 14 is a diagram illustrating an example of the input / output definition of the product purchase screen 602.
FIG. 15 is a diagram illustrating an example of the input / output definition of the product purchase result screen 603.
FIG. 16 is a diagram illustrating an example of the input / output definition of the order list screen.
The description of FIGS. 14 to 16 is omitted because it is the same as FIG.
FIG. 17 is a diagram showing an example of the input / output definition of the menu part. The menu part is related to the input / output definition of other screens as a part of each screen.

図18は、商品検索画面601の入出力定義がメニューを備えることを示す定義である。商品検索画面601の入出力定義はMENU_TOPというコードの入出力定義をメニューとして備える。(図18の1801)   FIG. 18 is a definition indicating that the input / output definition of the product search screen 601 includes a menu. The input / output definition of the product search screen 601 includes an input / output definition of a code of MENU_TOP as a menu. (1801 in FIG. 18)

図19は、受注登録処理のビジネスプロセス定義の一例を示す図である。受注登録画面(不図示)から受注データの入力を受け付け、受注登録(JUCHU_INSERTコード)の処理を実行し、結果を画面に返す処理が記述されている。
以上で、リポジトリ定義の説明を終了する。リポジトリ定義にはユーザテーマファイルが含まれる。
FIG. 19 is a diagram illustrating an example of a business process definition for order registration processing. A process is described in which an order data is received from an order registration screen (not shown), an order registration (JUCHU_INSERT code) process is executed, and the result is returned to the screen.
This completes the description of the repository definition. The repository definition includes user theme files.

次に、ユーザテーマファイルの作成方法について説明する。
図20は、新規にユーザテーマファイルを作成するための画面の一例を示す図である。図7のリポジトリ定義の「theme テーマ」部分を右クリックし、ポップアップメニュー「ユーザテーマファイルを作成する」を選択する等の方法により、この新規テーマ作成画面2000を表示する。新規テーマ作成画面2000は、コードフィールド2001、名前フィールド2002、コピー元テーマフィールド2003により構成される。コードフィールド2001への入力値はこれから作成するユーザテーマファイルのファイル名となる。
Next, a method for creating a user theme file will be described.
FIG. 20 is a diagram illustrating an example of a screen for newly creating a user theme file. The new theme creation screen 2000 is displayed by a method such as right-clicking the “theme” portion of the repository definition in FIG. 7 and selecting “create user theme file” from the pop-up menu. The new theme creation screen 2000 includes a code field 2001, a name field 2002, and a copy source theme field 2003. The input value to the code field 2001 is the file name of the user theme file to be created.

名前フィールド2002の入力値は、テーマを識別するのに利用する任意の文字列である。コピー元テーマフィールド2003は、新規に作成するユーザテーマファイルの元となる既存テーマを指定するためのフィールドである。Finishボタン2004をクリックすると、コピー元テーマフィールド2003で指定された既存テーマをコピーしてユーザテーマファイルを作成し、テーマエディタ画面2100に描画する。   The input value in the name field 2002 is an arbitrary character string used to identify the theme. A copy source theme field 2003 is a field for designating an existing theme that is a source of a newly created user theme file. When the Finish button 2004 is clicked, an existing theme specified in the copy source theme field 2003 is copied to create a user theme file, which is drawn on the theme editor screen 2100.

図21は、テーマエディタ画面の一例を示す図である。テーマエディタ画面2100は、テーマ描画部2101、プロパティエディタ部2102を備える。ユーザによってテーマ描画部2101に描画されているテーマ部品412が選択されると、テーマ部品412に関連するプロパティをテーマファイル(図29と図41の説明で後述する)から抽出し、プロパティエディタ部2102に表示する。ユーザによって、プロパティエディタ部2102の各プロパティが選択されると、各プロパティ値を変更可能にし、値の変更入力を受け付ける。   FIG. 21 is a diagram illustrating an example of a theme editor screen. The theme editor screen 2100 includes a theme drawing unit 2101 and a property editor unit 2102. When the user selects a theme part 412 drawn on the theme drawing unit 2101, properties related to the theme part 412 are extracted from the theme file (described later in the description of FIGS. 29 and 41), and the property editor part 2102. To display. When each property in the property editor unit 2102 is selected by the user, each property value can be changed and an input for changing the value is accepted.

ここで、図29を用いて、テーマファイルの中身について説明しておく。図29は、テーマファイルの中身の一例を示す図である。テーマファイルには、「ユーザテーマファイル406」「組込テーマファイル432」の2種類があるが、いずれもテーマファイルの中身は、プロパティキーとプロパティ値を“=”(イコール)で結んだ形式となっている。
Here, the contents of the theme file will be described with reference to FIG. FIG. 29 is a diagram illustrating an example of the contents of a theme file. There are two types of theme files, “user theme file 406” and “embedded theme file 432”. The content of the theme file is a format in which the property key and property value are connected by “=” (equal). It has become.

なお、本実施形態においては、Webアプリケーション生成時にテーマファイルからスタイルシート443を生成するとしたが、これに限定するものではなく、テーマエディタ部410を用いてテーマファイルを生成せずに直接スタイルシート443を生成するとしてもよい。ただし、テーマファイルのプロパティは、図29のように、スタイルシート443の複数のプロパティをグルーピングしてまとめたものにしたり、Webアプリケーションの開発に必要なものだけを厳選したりするなどによって、開発者や開発ツールにとって管理しやすくなるという効果を生むため、本実施形態のように、テーマエディタ部410を用いてテーマファイルを生成し、テーマファイルを用いてスタイルシートを生成することが望ましい。
In the present embodiment, the style sheet 443 is generated from the theme file when generating the Web application. However, the present invention is not limited to this, and the style sheet 443 is directly generated without generating the theme file using the theme editor unit 410. May be generated. However, as shown in FIG. 29, the properties of the theme file are grouped by grouping a plurality of properties of the style sheet 443, or only those necessary for developing the Web application are carefully selected. In order to produce an effect that management is easy for a development tool, it is desirable to generate a theme file using the theme editor unit 410 and generate a style sheet using the theme file as in this embodiment.

次に、図41を用いて、テーマ部品412に関連するプロパティについて説明する。図41は、テーマ部品412のカテゴリー属性値4101とテーマプロパティファイルのプロパティキー4104との対応付けテーブル4100の一例を示す図である。この対応付けテーブル4100は、プログラム開発装置101の外部メモリ211されている。なお、この実施形態においては、テーマ部品412のカテゴリー属性値4101とテーマプロパティファイルのプロパティキー4104との対応付けをテーブルで管理するとしたが、これに限定するものではなく、設定ファイルやプログラム内の配列や変数で管理してもよい。   Next, properties related to the theme part 412 will be described with reference to FIG. FIG. 41 is a diagram showing an example of the association table 4100 between the category attribute value 4101 of the theme part 412 and the property key 4104 of the theme property file. This association table 4100 is stored in the external memory 211 of the program development apparatus 101. In this embodiment, the association between the category attribute value 4101 of the theme part 412 and the property key 4104 of the theme property file is managed by a table. However, the present invention is not limited to this. You may manage by an array or a variable.

具体的には、図21において、ユーザによってテーマ描画部2101に描画されているテーマ部品412のうち、カテゴリー属性値4101=「ラベル」のテーマ部品412が選択された場合、プロパティエディタ部2102に表示するプロパティキーは、対応付けテーブル4100の4104より、
LABEL.fontSize
LABEL.fontWeight
LABEL.backgroundColor
LABEL.borderColor
LABEL.foregroundColor
LABEL.backgroundImage
LABEL.borderWidth
LABEL.padding
であることがわかる。
Specifically, in FIG. 21, when a theme part 412 with a category attribute value 4101 = “label” is selected from the theme parts 412 drawn on the theme drawing part 2101 by the user, it is displayed on the property editor part 2102. The property key to be used is 4104 in the correspondence table 4100.
LABEL. fontSize
LABEL. fontWeight
LABEL. bakgroundColor
LABEL. borderColor
LABEL. foregroundColor
LABEL. backgroundImage
LABEL. borderWidth
LABEL. padding
It can be seen that it is.

これらのプロパティキーを用いて、図29のテーマファイル2900からプロパティ値を抽出し、プロパティエディタ部2102に表示する。その際、プロパティの種類4102の値を用いて、各プロパティを「B.フォント」「C.カラー」「D.装飾」「E.配置」に分けて、プロパティエディタ部2102に表示する。   Using these property keys, property values are extracted from the theme file 2900 of FIG. 29 and displayed on the property editor 2102. At that time, using the value of the property type 4102, each property is divided into “B. Font”, “C. Color”, “D. Decoration”, and “E. Placement” and displayed on the property editor unit 2102.

値の変更入力を受け付けると、変更されたプロパティ値に従って、テーマ描画部2101の表示を更新する。各テーマ部品412はカテゴリー属性を持ち、同じカテゴリー属性値を持つテーマ部品412については、別のテーマ部品412であっても同じプロパティを備える。プロパティ値の変更を受け付けると、同じカテゴリー属性値を持つテーマ部品412すべてに対して、表示の更新を行う。
図22は、テーマエディタ画面2100を用いて、夏のテーマをベースに作成した、春のテーマの一例を示す図である。
図23は、テーマエディタ画面2100を用いて、夏のテーマをベースに作成した、秋のテーマの一例を示す図である。
図24は、テーマエディタ画面2100を用いて、夏のテーマをベースに作成した、冬のテーマの一例を示す図である。
When a value change input is received, the display of the theme drawing unit 2101 is updated according to the changed property value. Each theme part 412 has a category attribute, and the theme part 412 having the same category attribute value has the same property even if it is another theme part 412. When the change of the property value is accepted, the display is updated for all theme parts 412 having the same category attribute value.
FIG. 22 is a diagram illustrating an example of a spring theme created based on a summer theme using the theme editor screen 2100.
FIG. 23 is a diagram illustrating an example of an autumn theme created based on a summer theme using the theme editor screen 2100.
FIG. 24 is a diagram showing an example of a winter theme created based on a summer theme using the theme editor screen 2100.

ここに挙げたのはあくまでサンプルであるが、本発明のテーマエディタを利用すれば、色やフォント等のデザインを統一して設定することができるため、季節・色調・用途などに応じたテーマを容易に作成することができる。
次に、プロパティエディタ部413の詳細について説明する。
The list here is only a sample, but if you use the theme editor of the present invention, you can unify and set the design of colors, fonts, etc., so you can select themes according to the season, color tone, usage, etc. Can be easily created.
Next, details of the property editor unit 413 will be described.

図25の2502は、テーマエディタ画面2500に表示されたテーマ部品412のうち、ラベル2501を選択した場合のプロパティエディタ部413の一例である。プロパティエディタ部2502は、「A.テーマ」の領域に、選択されたラベル2501の「テーマ」に関するプロパティとその値を表示する。具体的には、「HTMLバージョン」「カテゴリー」「テーマ区分」「親カテゴリー」「名前」である。これらは、ユーザが値を変更できないプロパティであり、このように値を変更できないプロパティも存在する。   252 of FIG. 25 is an example of the property editor unit 413 when the label 2501 is selected from the theme parts 412 displayed on the theme editor screen 2500. The property editor unit 2502 displays the property and the value related to the “theme” of the selected label 2501 in the “A. Theme” area. Specifically, “HTML version” “category” “theme classification” “parent category” “name”. These are properties whose values cannot be changed by the user, and there are properties that cannot change their values.

プロパティエディタ部2502の「カテゴリー」は選択中のテーマ部品412の種別を示す情報であり、「ラベル」「ボタン」「リンク」などの値がある(図41の4101)。同じカテゴリーのテーマ部品412は、同じプロパティ(図41の4104)を持つ。よって、プロパティエディタ部2502でプロパティ値を変更すると、同じカテゴリーのテーマ部品412すべての表示に変更が適用される。すなわち、プロパティエディタ部2502は、テンプレートに含まれるプロパティのキーと値とを編集する画面である。また、プロパティエディタ部2502は、テンプレート画面に含まれる部品のデザインのプロパティのキーに対応する値を編集するためのテンプレート編集画面である。   “Category” in the property editor section 2502 is information indicating the type of the selected theme part 412 and includes values such as “label”, “button”, and “link” (4101 in FIG. 41). The theme parts 412 in the same category have the same properties (4104 in FIG. 41). Therefore, when the property value is changed in the property editor unit 2502, the change is applied to the display of all the theme parts 412 in the same category. That is, the property editor 2502 is a screen for editing property keys and values included in the template. The property editor 2502 is a template editing screen for editing values corresponding to the part design property keys included in the template screen.

また、プロパティエディタ部2502の「親カテゴリー」は、当該テーマ部品412の「カテゴリー」の親に該当するカテゴリーである。当該テーマ部品412のプロパティに値が設定されていない場合、「親カテゴリー」のプロパティ値を継承する。具体的には、図25のプロパティエディタ部2502から、ラベルの親カテゴリーは、ページであることがわかり、図41の4105から、ラベルの「フォントサイズ」に値が設定されていない場合、ページのフォントサイズ(PAGE.fontSize)のプロパティ値を継承する。
ユーザは、プロパティエディタ部2502の「B.フォント」「C.カラー」「D.装飾」「E.配置」に属する各プロパティ値を変更することができる。
The “parent category” of the property editor section 2502 is a category corresponding to the parent of the “category” of the theme part 412. If no value is set in the property of the theme part 412, the property value of “parent category” is inherited. Specifically, it can be seen from the property editor section 2502 in FIG. 25 that the parent category of the label is a page, and from 4105 in FIG. 41, if no value is set for the “font size” of the label, Inherits the property value of the font size (PAGE. FontSize).
The user can change each property value belonging to “B. Font”, “C. Color”, “D. Decoration”, and “E. Arrangement” in the property editor section 2502.

図26の2602は、テーマエディタ画面2600に表示されたテーマ部品412のうち、ボタン2601を選択した場合のプロパティエディタ部413の一例である。「D.装飾」の領域に表示するプロパティの数は、図25のラベル2501選択時は2つだが、ボタン2601選択時は1つである。また、「E.配置」については、ボタン2601に「E.配置」に関するプロパティが存在しないため表示しない。これらは、図41の4102より、ラベルの「装飾」のプロパティは2つ、ボタンの「装飾」のプロパティは1つ、ラベルの「配置」のプロパティは1つ、ボタンの「配置」のプロパティは0だからである。このように、プロパティエディタ部413には、ユーザによって選択されたテーマ部品412に従って、プロパティを抽出して表示するという特徴がある。   Reference numeral 2602 in FIG. 26 is an example of the property editor unit 413 when the button 2601 is selected from the theme parts 412 displayed on the theme editor screen 2600. The number of properties displayed in the “D. decoration” area is two when the label 2501 in FIG. 25 is selected, but one when the button 2601 is selected. Further, “E. arrangement” is not displayed because the button 2601 does not have a property related to “E. arrangement”. From 4102 in FIG. 41, there are two label “decoration” properties, one button “decoration” property, one label “arrangement” property, and one button “arrangement” property. Because it is zero. As described above, the property editor unit 413 has a feature that the property is extracted and displayed in accordance with the theme part 412 selected by the user.

図27の2702は、テーマエディタ画面2700に表示されたテーマ部品412のうち、リンク2701を選択した場合のプロパティエディタ部413の一例である。図26のボタン2601選択時と比較して、「C.カラー」のプロパティが大きく異なることがわかる。これは、図41の4102より、ボタンの「カラー」のプロパティは3つ、リンクの「カラー」のプロパティは5つだからである。   Reference numeral 2702 in FIG. 27 is an example of the property editor 413 when the link 2701 is selected from the theme parts 412 displayed on the theme editor screen 2700. It can be seen that the property of “C. Color” is significantly different from that when the button 2601 in FIG. 26 is selected. This is because, from 4102 in FIG. 41, there are three “color” properties of the button and five “color” properties of the link.

図28の2803は、テーマエディタ画面2800に表示されたテーマ部品412のうち、ボタン2801とリンク2802のように複数のテーマ部品412を選択した場合のプロパティエディタ部413の様子である。図26でボタン2601、図27でリンク2701をそれぞれ選択した場合の両方に含まれるプロパティが表示されていることがわかる。   Reference numeral 2803 in FIG. 28 shows a state of the property editor unit 413 when a plurality of theme parts 412 such as a button 2801 and a link 2802 are selected from the theme parts 412 displayed on the theme editor screen 2800. It can be seen that the properties included in both the buttons 2601 in FIG. 26 and the links 2701 in FIG. 27 are displayed.

図28の例では、「C.カラー」について着目すると、ボタン2801とリンク2802の両方に含まれるプロパティ「color」についてのみ設定が可能となっている。図41の4103からもボタンとリンクの両方に含まれるプロパティは「color」であることがわかる。なお、ユーザによってこのプロパティ値が変更されると、ボタン2801とリンク2802の両方のプロパティ「color」のプロパティ値を変更する。このように複数のテーマ部品412を選択した場合は、選択したテーマ部品412のプロパティのうち、選択したテーマ部品412のすべてに含まれるプロパティを抽出して表示し、そのプロパティ値を一括で変更することができるという特徴がある。   In the example of FIG. 28, focusing on “C. color”, it is possible to set only the property “color” included in both the button 2801 and the link 2802. It can be seen from 4103 in FIG. 41 that the property included in both the button and the link is “color”. When the property value is changed by the user, the property value of the property “color” of both the button 2801 and the link 2802 is changed. When a plurality of theme parts 412 are selected in this way, the properties included in all the selected theme parts 412 are extracted from the properties of the selected theme parts 412 and displayed, and the property values are collectively changed. There is a feature that can be.

以上で、プロパティエディタ部413の説明を終了する。プロパティエディタ部413で設定されたプロパティ値は、ユーザテーマファイル406として記憶される。
Above, description of the property editor part 413 is complete | finished. The property value set in the property editor unit 413 is stored as a user theme file 406.

次に、図30を用いて、ユーザテーマファイル406を作成する手順を説明する。図30は、ユーザテーマファイル作成フローチャートの一例を示す図である。以下のステップは、すべてプログラム開発装置101のCPU201が実行する。
ステップS3001において、ユーザによる「ユーザテーマファイルを作成する」の指示を受け付けると、新規テーマ作成画面2000を表示する。
ステップS3002において、ユーザによるテーマコード(図20の2001)の入力を受け付ける。
ステップS3003において、ユーザによるテーマ名(図20の2002)の入力を受け付ける。
ステップS3004において、ユーザによるコピー元テーマ(図20の2003)の選択を受け付ける。
Next, a procedure for creating the user theme file 406 will be described with reference to FIG. FIG. 30 is a diagram illustrating an example of a user theme file creation flowchart. The following steps are all executed by the CPU 201 of the program development apparatus 101.
In step S3001, upon receiving an instruction “create user theme file” from the user, a new theme creation screen 2000 is displayed.
In step S3002, an input of a theme code (2001 in FIG. 20) by the user is accepted.
In step S3003, an input of a theme name (2002 in FIG. 20) by the user is accepted.
In step S3004, the selection of the copy source theme (2003 in FIG. 20) by the user is accepted.

ステップS3005において、ユーザテーマファイルを新規作成する。具体的には、ステップS3004にて選択されたコピー元テーマのテーマファイルをコピーし、ステップS3002にて入力されたテーマコードをファイル名とする新規テーマファイルを作成し、外部メモリ211に記憶する。すなわち、ステップS3005は、示された部品のプロパティのキーおよび値を対応付けて、デザインテンプレートとして記憶する処理の一例を示すステップである。
ステップS3006において、テーマエディタ画面2100を表示する。
In step S3005, a new user theme file is created. Specifically, the theme file of the copy source theme selected in step S3004 is copied, and a new theme file having the file name as the theme code input in step S3002 is created and stored in the external memory 211. That is, step S3005 is a step showing an example of processing for storing the property key and value of the indicated part in association with each other as a design template.
In step S3006, the theme editor screen 2100 is displayed.

ステップS3007において、ステップS3006にて表示したテーマエディタ画面2100のテーマ描画部2101に、ステップS3005にて作成したユーザテーマファイルに定義されているプロパティ値の色、フォント等のデザインを用いて、テーマ部品412を描画する。
ステップS3007の処理の詳細については、図32を用いて説明する。
In step S3007, the theme parts 2101 of the theme editor screen 2100 displayed in step S3006 are used for the theme component by using the property value colors, fonts, and the like defined in the user theme file created in step S3005. Draw 412.
Details of the processing in step S3007 will be described with reference to FIG.

次に、図31を用いて、ユーザテーマファイル406を更新する手順を説明する。
図31は、ユーザテーマファイル更新のフローチャートの一例を示す図である。以下のステップは、すべてプログラム開発装置101のCPU201が実行する。
Next, a procedure for updating the user theme file 406 will be described with reference to FIG.
FIG. 31 is a diagram illustrating an example of a user theme file update flowchart. The following steps are all executed by the CPU 201 of the program development apparatus 101.

ステップS3101において、ユーザによる、テーマエディタ画面2100のテーマエディタ部に表示されたテーマ部品412の選択を受け付ける。例えば、CTRLキーを押しながら複数のテーマ部品412を順次クリックする等の操作により、複数のテーマ部品412を選択することができる。すなわち、ステップS3101は、表示された部品に対して、ユーザの指示を受け付ける処理の一例を示すステップである。   In step S <b> 3101, the selection of the theme component 412 displayed on the theme editor portion of the theme editor screen 2100 by the user is accepted. For example, a plurality of theme parts 412 can be selected by an operation such as sequentially clicking a plurality of theme parts 412 while pressing the CTRL key. That is, step S3101 is a step showing an example of processing for accepting a user instruction for the displayed component.

ステップS3102において、ステップS3101にて選択されたテーマ部品412の数を判定する。選択されたテーマ部品412の数=1の場合は、ステップS3103に進む。選択されたテーマ部品412の数が複数(≧2)の場合は、ステップS3104に進む。   In step S3102, the number of theme parts 412 selected in step S3101 is determined. If the number of selected theme parts 412 = 1, the process proceeds to step S3103. When the number of selected theme parts 412 is plural (≧ 2), the process proceeds to step S3104.

ステップS3103において、ステップS3101にて選択されたテーマ部品412に関するプロパティ一覧を取得する。具体的には、図41の説明でも触れたように、選択されたテーマ部品412のカテゴリー属性値を用いて、対応付けテーブル4100からプロパティ一の一覧を取得する。   In step S3103, a property list related to the theme part 412 selected in step S3101 is acquired. Specifically, as described in FIG. 41, a list of properties is acquired from the association table 4100 using the category attribute value of the selected theme component 412.

ステップS3104において、ステップS3101にて選択された複数のテーマ部品412それぞれに関するプロパティ一覧を取得する。具体的には、ステップS3103と同じ方法を選択された複数のテーマ部品412それぞれについて行い、複数のテーマ部品412それぞれに関するプロパティ一覧を取得する。   In step S3104, a property list for each of the plurality of theme parts 412 selected in step S3101 is acquired. Specifically, the same method as that in step S3103 is performed for each of the selected theme parts 412 and a property list regarding each of the plurality of theme parts 412 is acquired.

ステップS3105において、ステップS3104にて取得した複数のテーマ部品412それぞれに関するプロパティ一覧のうち、すべてのプロパティ一覧に含まれるプロパティを抽出する。具体的には、すべてのプロパティ一覧に含まれるプロパティは、各プロパティ一覧の論理積集合で求める。具体的には、図28で説明したボタン2801とリンク2802の両方に含まれるプロパティ「color」がこの例である。   In step S3105, properties included in all property lists are extracted from the property list for each of the plurality of theme parts 412 acquired in step S3104. Specifically, the properties included in all the property lists are obtained by a logical product set of each property list. Specifically, the property “color” included in both the button 2801 and the link 2802 described in FIG. 28 is this example.

ステップS3106において、ステップS3102にて取得したプロパティ一覧、またはステップS3105にて抽出したプロパティのリストをプロパティエディタ部2102に表示する。すなわち、ステップS3106は、テンプレートに含まれるプロパティのキーと値とを編集する画面を表示する処理の一例を示すステップである。また、ステップS3106は、テンプレート画面に含まれる部品のデザインのプロパティのキーに対応する値を編集するためのテンプレート編集画面を表示する処理の一例を示すステップである。   In step S 3106, the property list acquired in step S 3102 or the property list extracted in step S 3105 is displayed on the property editor unit 2102. That is, step S3106 is a step showing an example of processing for displaying a screen for editing property keys and values included in the template. Step S3106 is a step showing an example of a process for displaying a template editing screen for editing a value corresponding to the key of the design property of the part included in the template screen.

また、ステップS3106は、テンプレートに含まれるプロパティのうち、指示を受け付けた部品に対応するプロパティのキーと値を表示する処理の一例を示すステップである。また、ステップS3106は、デザインのプロパティのうち、指示を受け付けた部品に対応するプロパティのキーと値を表示する処理の一例を示すステップである。   Step S3106 is a step showing an example of processing for displaying a property key and a value corresponding to a component for which an instruction has been received among the properties included in the template. Step S3106 is a step showing an example of processing for displaying a property key and a value corresponding to a part for which an instruction has been received among design properties.

また、ステップS3106は、指示を受け付けた部品が複数の場合、指示を受け付けた複数の部品のすべてに含まれるプロパティのキーと値を表示する処理の一例を示すステップである。これにより、選択したテーマ部品に対応するプロパティのみがプロパティエディタ部に表示されるようになる。つまり、沢山のプロパティの中からユーザが変更したいプロパティを探し出して指定し、値を変更しなくてはならないという課題を解決することができる。   Step S3106 is a step showing an example of processing for displaying property keys and values included in all of the plurality of components for which the instruction has been received when there are a plurality of components for which the instruction has been received. As a result, only the properties corresponding to the selected theme part are displayed in the property editor section. That is, it is possible to solve the problem that the user has to find and specify the property that the user wants to change from among a large number of properties and change the value.

ステップS3107において、ユーザによるプロパティ値の変更入力を受け付ける。すなわち、ステップS3107は、表示されたプロパティの値の変更を受け付ける処理の一例を示すステップである。また、ステップS3107は、表示されたプロパティのキーに対応する値の変更を受け付ける処理の一例を示すステップである。   In step S3107, a change value input by the user is accepted. That is, step S3107 is a step showing an example of processing for accepting a change in the value of the displayed property. Step S3107 is a step showing an example of a process of accepting a change of a value corresponding to the displayed property key.

ステップS3108において、ステップS3103またはステップS3104にて取得したプロパティ一覧からカテゴリー属性値を読み取り、テーマ描画部411に表示されているテーマ部品412のうち、同じカテゴリー属性値を持つテーマ部品412(以下、関連テーマ部品と記す)を特定する。なお、この実施形態においては、カテゴリー属性値を用いて関連テーマ部品を特定するとしたが、これに限定するものではなく、ステップS3107にて変更を受け付けたプロパティキーを持つテーマ部品を関連テーマ部品とするとしてもよい。   In step S3108, the category attribute value is read from the property list acquired in step S3103 or step S3104, and the theme component 412 having the same category attribute value among the theme components 412 displayed in the theme drawing unit 411 (hereinafter, related Identify the theme part). In this embodiment, the related theme part is specified using the category attribute value. However, the present invention is not limited to this, and the theme part having the property key whose change has been accepted in step S3107 is referred to as the related theme part. You may do that.

ステップS3109において、変更されたプロパティ値に従って、選択テーマ部品と関連テーマ部品の表示を更新する。すなわち、ステップS3109は、テンプレートを適用した部品を表示する処理の一例を示すステップである。また、ステップS3109は、変更を受け付けたプロパティの値に従って、部品の表示を更新する処理の一例を示すステップである。また、ステップS3109は、変更を受け付けたプロパティの値に従って、指示を受け付けた部品と変更を受け付けたプロパティに対応する部品との表示を更新する処理の一例を示すステップである。
ステップS3110において、変更されたプロパティ値に従って、ユーザテーマファイルを更新し保存する。
以上で、ユーザテーマファイル更新フローチャートの説明を終了する。
In step S3109, the display of the selected theme part and the related theme part is updated according to the changed property value. That is, step S3109 is a step showing an example of processing for displaying a part to which a template is applied. Step S3109 is a step showing an example of processing for updating the display of the component in accordance with the value of the property whose change has been accepted. Further, step S3109 is a step showing an example of processing for updating the display of the component that has received the instruction and the component corresponding to the property that has received the change in accordance with the value of the property that has received the change.
In step S3110, the user theme file is updated and stored according to the changed property value.
Above, description of a user theme file update flowchart is complete | finished.

次に、図32を用いて、テーマエディタ画面2100を描画する手順を説明する。図32は、テーマエディタ画面描画のフローチャートの一例を示す図である。以下のステップは、すべてプログラム開発装置101のCPU201が実行する。
ステップS3201において、選択メニューからテーマの指定を受け付けると、外部メモリ211から指定されたテーマファイルを読み込む。
Next, a procedure for drawing the theme editor screen 2100 will be described with reference to FIG. FIG. 32 is a diagram illustrating an example of a flowchart for drawing the theme editor screen. The following steps are all executed by the CPU 201 of the program development apparatus 101.
In step S3201, when the theme designation is accepted from the selection menu, the designated theme file is read from the external memory 211.

テーマファイルは図29に示す通り、プロパティキーとプロパティ値の組み合わせによるエントリが複数記されているため、ステップS3202からステップS3209まで、エントリの数だけループ処理を行う。
ステップS3203において、次のエントリのプロパティキーとプロパティ値を読み込む。
ステップS3204において、テーマ描画部411に表示するテーマ部品412の数だけループ処理を行う。
ステップS3205において、次のテーマ部品412のカテゴリー属性値を取得する。
As shown in FIG. 29, the theme file has a plurality of entries by combinations of property keys and property values, and therefore, loop processing is performed from the step S3202 to the step S3209 for the number of entries.
In step S3203, the property key and property value of the next entry are read.
In step S 3204, loop processing is performed for the number of theme parts 412 displayed on the theme drawing unit 411.
In step S3205, the category attribute value of the next theme part 412 is acquired.

ステップS3206において、エントリのキーのカテゴリー属性値と、テーマ部品のカテゴリー属性値とが一致するかを判定する。エントリのプロパティキーのカテゴリー属性値について説明する。例えば、図29のテーマプロパティファイルにおけるエントリ「LABEL.backgroundColor=#eeeeee」の場合、エントリのプロパティキーのカテゴリー属性値=「LABEL」である。つまり、プロパティキーのカテゴリー属性値=プロパティキーの最初の.(ドット)より前の部分である。   In step S3206, it is determined whether the category attribute value of the entry key matches the category attribute value of the theme part. The category attribute value of the entry property key will be described. For example, in the case of the entry “LABEL.backgroundColor = # eeeeee” in the theme property file of FIG. 29, the category attribute value of the entry property key = “LABEL”. That is, the category attribute value of the property key = the first of the property key. It is the part before (dot).

エントリのプロパティキーから抽出したカテゴリー属性値と、当該テーマ部品412が備えるカテゴリー属性値とを比較し、一致する場合はステップS3207へ進む。一致しない場合は、ステップS3204からステップS3209のループ処理を継続する。
ステップS3207において、当該テーマ部品412が持つ、プロパティキーと一致する変数に、ステップS3203で取得したプロパティ値を設定する。
The category attribute value extracted from the property key of the entry is compared with the category attribute value included in the theme part 412. If they match, the process proceeds to step S3207. If they do not match, the loop processing from step S3204 to step S3209 is continued.
In step S3207, the property value acquired in step S3203 is set in a variable that matches the property key of the theme component 412.

ステップS3208において、ステップS3207にて設定されたプロパティ値を用いて、テーマ描画部に当該テーマ部品412を描画する。すなわち、ステップS3208は、表示された画面に、テンプレートを適用した部品を表示する処理の一例を示すステップである。また、ステップS3208は、表示されたテンプレート編集画面に、デザインを適用した部品を表示する処理の一例を示すステップである。
ステップS3209は、テーマ部品412のループ処理の終端である。
ステップS3210は、テーマファイルのエントリのループ処理の終端である。
以上で、テーマエディタ画面描画のフローチャートの説明を終了する。
In step S3208, the theme part 412 is drawn on the theme drawing unit using the property value set in step S3207. That is, step S3208 is a step showing an example of processing for displaying a part to which the template is applied on the displayed screen. Step S3208 is a step showing an example of processing for displaying a part to which the design is applied on the displayed template editing screen.
Step S3209 is the end of the loop processing of the theme component 412.
Step S3210 is the end of the loop processing of the theme file entry.
This is the end of the description of the flowchart of drawing the theme editor screen.

次に、図33を用いて、ユーザ(Webアプリケーション開発者)がWebアプリケーションの画面レイアウトを作成するレイアウトエディタ部へ、図30および図31にて作成したテーマを反映する手順について説明する。図33のレイアウトエディタ画面3300は、レイアウトエディタ部420の一例を示す図である。レイアウトエディタ画面3300は、レイアウト描画部3301を備える。   Next, a procedure for reflecting the theme created in FIG. 30 and FIG. 31 to the layout editor unit for creating the screen layout of the web application by the user (web application developer) will be described with reference to FIG. A layout editor screen 3300 in FIG. 33 is a diagram illustrating an example of the layout editor unit 420. The layout editor screen 3300 includes a layout drawing unit 3301.

レイアウト描画部3301には、ユーザが配置したレイアウト部品3302が表示されている。レイアウト描画部3301に表示するレイアウト部品3302には、ユーザが指定したテーマファイル(ユーザテーマファイル406、または組込テーマファイル432)のテーマを反映する。これにより、ユーザは、開発中のWebアプリケーションをデプロイせずに、開発中のWebアプリケーションの画面に作成したテーマを適用して、確認することができる。なお、テーマの指定方法は、図33の3303のようなドロップダウンリストでテーマファイルのリストからテーマを選択して指定する。
The layout drawing unit 3301 displays a layout component 3302 arranged by the user. The layout component 3302 displayed on the layout drawing unit 3301 reflects the theme of the theme file (user theme file 406 or embedded theme file 432) specified by the user. Thereby, the user can apply and confirm the created theme on the screen of the Web application under development without deploying the Web application under development. The theme is specified by selecting a theme from a theme file list using a drop-down list such as 3303 in FIG.

次に、図34を用いて、レイアウトエディタ部420にユーザが指定したテーマを適用する手順について説明する。図34は、レイアウトエディタ部420へテーマを適用するフローチャートの一例を示す図である。以下のステップは、すべてプログラム開発装置101のCPU201が実行する。   Next, a procedure for applying a theme designated by the user to the layout editor unit 420 will be described with reference to FIG. FIG. 34 is a diagram illustrating an example of a flowchart for applying a theme to the layout editor unit 420. The following steps are all executed by the CPU 201 of the program development apparatus 101.

ステップS3401において、レイアウトエディタ画面3300(図33)にてユーザによるテーマの指定(図33の3303)を受け付ける。すなわち、ステップS3401は、生成されたプログラムが動作することによって出力される、複数の画面部品を持つアプリケーション画面を編集する編集画面を表示する処理の一例を示すステップである。また、ステップS3401は、アプリケーション画面に表示する部品のレイアウトを編集するレイアウト編集画面を表示する処理の一例を示すステップである。   In step S3401, the user specifies a theme (3303 in FIG. 33) on the layout editor screen 3300 (FIG. 33). That is, step S3401 is a step showing an example of processing for displaying an edit screen for editing an application screen having a plurality of screen parts, which is output when the generated program is operated. Step S3401 is a step showing an example of processing for displaying a layout editing screen for editing the layout of components displayed on the application screen.

ステップS3402において、ステップS3401にて指定を受け付けたテーマに対応するテーマファイル(ユーザテーマファイル406、または組込テーマファイル432)を外部メモリ211から取得する。
ステップS3403において、レイアウト描画部3301に表示中のWebアプリケーションの画面の入出力定義404を外部メモリ211から取得する。
ステップS3404から、ステップS3403にて取得した入出力定義404の入出力項目の数だけループ処理を開始する。
ステップS3405において、対象となる入出力項目から、レイアウト部品の種別を取得する。
In step S3402, a theme file (user theme file 406 or embedded theme file 432) corresponding to the theme accepted in step S3401 is acquired from the external memory 211.
In step S3403, the input / output definition 404 of the screen of the Web application being displayed on the layout drawing unit 3301 is acquired from the external memory 211.
From step S3404, loop processing is started for the number of input / output items of the input / output definition 404 acquired in step S3403.
In step S3405, the layout component type is acquired from the target input / output item.

ステップS3406において、ステップS3402にて取得したテーマファイルから、レイアウト部品の種別と一致するエントリをすべて取得する。例えば、レイアウト部品の種別が「ラベル」である場合、図29に示すテーマプロパティファイルからは、次のエントリが取得される。
LABEL.backgroundColor=#eeeeee
LABEL.foregroundColor=#333333
LABEL.borderColor=#2ca9e1
LABEL.borderWidth=0 5px 0 0
LABEL.padding=3pt
In step S3406, all entries matching the layout component type are acquired from the theme file acquired in step S3402. For example, when the layout component type is “label”, the next entry is acquired from the theme property file shown in FIG.
LABEL. backgroundColor = # eeeeeeee
LABEL. foregroundColor = # 333333
LABEL. borderColor = # 2ca9e1
LABEL. borderWidth = 0 0 5px 0 0
LABEL. padding = 3pt

ステップS3407において、ステップS3406にて取得したエントリ情報を用いて、レイアウト部品を描画する。すなわち、ステップS3407は、表示された編集画面に含まれる複数の画面部品に対して、デザインテンプレートに含まれるプロパティのキーと値とを適用する処理の一例を示すステップである。また、ステップS3407は、変更を受け付けた値に従って、表示されたレイアウト編集画面に含まれる部品にデザインを適用する処理の一例を示すステップである。
ステップS3408は、入出力項目のループ処理の終端である。
以上で、レイアウトエディタ部420へテーマを適用するフローチャートの説明を終了する。
In step S3407, a layout component is drawn using the entry information acquired in step S3406. That is, step S3407 is a step showing an example of processing for applying the property key and value included in the design template to a plurality of screen parts included in the displayed editing screen. Step S3407 is a step showing an example of processing for applying a design to a part included in the displayed layout editing screen in accordance with the value for which the change has been accepted.
Step S3408 is the end of the input / output item loop processing.
Above, description of the flowchart which applies a theme to the layout editor part 420 is complete | finished.

以上により、Webアプリケーション開発の場合、ツールで作成したスタイルシートを適用したWebアプリケーションを生成して動作させなければ、テーマを適用したWebアプリケーション画面を確認することができないという課題を解決することができる。つまり、Webアプリケーションを生成・動作させることなく、作成したデザインのテンプレートを適用したWebアプリケーション画面を確認することができるようになる。
As described above, in the case of Web application development, it is possible to solve the problem that a Web application screen to which a theme is applied cannot be confirmed unless a Web application to which a style sheet created by a tool is generated and operated. . That is, it is possible to check a Web application screen to which the created design template is applied without generating and operating the Web application.

次に図35を用いて、Webアプリケーション生成部430がリポジトリ定義部400を入力としてWebアプリケーションを生成する手順について説明する。図35は、Webアプリケーション生成フローチャートの一例を示す図である。以下のステップは、すべてプログラム開発装置101のCPU201が実行する。
ステップS3501において、リポジトリ定義部400のアプリケーション定義402をRAM202に読み込む。
ステップS3502において、リポジトリ定義部400のデータモデル定義403をRAM202に読み込む。
ステップS3503において、リポジトリ定義部400の入出力定義404をRAM202に読み込む。
ステップS3504において、リポジトリ定義部400のビジネスプロセス定義405をRAM202に読み込む。
ステップS3505において、リポジトリ定義部400のデータベース定義401をRAM202に読み込む。
ステップS3506において、リポジトリ定義部400のユーザテーマファイル406をRAM202に読み込む。
Next, a procedure in which the Web application generation unit 430 generates a Web application with the repository definition unit 400 as an input will be described with reference to FIG. FIG. 35 is a diagram illustrating an example of a Web application generation flowchart. The following steps are all executed by the CPU 201 of the program development apparatus 101.
In step S3501, the application definition 402 of the repository definition unit 400 is read into the RAM 202.
In step S3502, the data model definition 403 of the repository definition unit 400 is read into the RAM 202.
In step S3503, the input / output definition 404 of the repository definition unit 400 is read into the RAM 202.
In step S 3504, the business process definition 405 of the repository definition unit 400 is read into the RAM 202.
In step S3505, the database definition 401 of the repository definition unit 400 is read into the RAM 202.
In step S 3506, the user theme file 406 of the repository definition unit 400 is read into the RAM 202.

ステップS3507において、RAM202に読み込んだリポジトリ定義部400の各定義・各ファイルから情報を取得し、Webアプリケーションのソースコードを生成する。生成されたソースコードにはプログラミング言語が記載されたファイルに加え、HTML、JSP、JavaScript(登録商標)等のWebアプリケーションの稼働に利用されるファイルも含まれる。すなわち、ステップS3507は、アプリケーションプログラムを生成する処理の一例を示すステップである。すなわち、ステップS3507は、編集されたテンプレートを適用したアプリケーション画面を含むアプリケーションプログラムを生成する機能部である。   In step S3507, information is acquired from each definition / file of the repository definition unit 400 read into the RAM 202, and the source code of the Web application is generated. The generated source code includes a file used for running a Web application such as HTML, JSP, Javascript (registered trademark), in addition to a file describing a programming language. That is, step S3507 is a step showing an example of processing for generating an application program. That is, step S3507 is a functional unit that generates an application program including an application screen to which the edited template is applied.

また、ステップS3507は、部品を含むアプリケーション画面を出力するアプリケーションを構築する機能部である。また、ステップS3507は、生成されたスタイルシートを用いるアプリケーション画面を出力するアプリケーションを構築する機能部である。
ステップS3508において、ステップS3506にてRAM202に読み込んだユーザテーマファイル406を用いて、スタイルシートを生成する。
以上で、Webアプリケーション生成のフローチャートの説明を終了する。
Step S3507 is a functional unit that constructs an application that outputs an application screen including components. Step S3507 is a functional unit that constructs an application that outputs an application screen that uses the generated style sheet.
In step S3508, a style sheet is generated using the user theme file 406 read into the RAM 202 in step S3506.
This is the end of the description of the flowchart for generating the Web application.

次に、図35のフローチャートにて生成したWebアプリケーションのサンプル画面について説明する。図36は、商品検索画面601のイメージである。図37は、商品購入画面602のイメージである。これらのWebアプリケーション画面は、レイアウトエディタ部420で作成したレイアウト部品(画面部品)に対し、テーマエディタ部410で作成したユーザテーマファイル406(デザインのテンプレートファイル)を適用したイメージとなる。以上により、Webアプリケーション開発において、レイアウト編集機能とデザインテンプレート編集機能が密に連携した統合的な開発ツールを提供することができるため、開発者は、レイアウト編集機能とデザインテンプレート編集機能とを連携させることができ、Webアプリケーション開発作業が非効率になっているという課題を解決することができる。
仕組みを提供することができる。
以上で、第1の実施形態の説明を終了する。
以上により、画面デザインのテンプレートの編集に係る作業を効率化する仕組みを提供することができる。
Next, a sample screen of the Web application generated with the flowchart of FIG. 35 will be described. FIG. 36 is an image of the product search screen 601. FIG. 37 is an image of the product purchase screen 602. These Web application screens are images obtained by applying the user theme file 406 (design template file) created by the theme editor unit 410 to the layout components (screen parts) created by the layout editor unit 420. As described above, since it is possible to provide an integrated development tool in which the layout editing function and the design template editing function are closely linked in web application development, the developer links the layout editing function and the design template editing function. It is possible to solve the problem that the Web application development work is inefficient.
A mechanism can be provided.
Above, description of 1st Embodiment is complete | finished.
As described above, it is possible to provide a mechanism for improving the efficiency of the work related to the editing of the screen design template.

〔第2の実施形態〕
次に、第2の実施形態について、図を用いて説明する。
第1の実施形態では、すべての画面に統一的なデザインであるテーマを作成する場合、テーマエディタからテーマ部品412を選択し、色やフォント等のデザインを変更し、ユーザテーマファイルを作成する方法について説明した。
[Second Embodiment]
Next, a second embodiment will be described with reference to the drawings.
In the first embodiment, when creating a theme having a uniform design on all screens, a method for selecting a theme part 412 from the theme editor, changing a design such as color and font, and creating a user theme file Explained.

一方、ユーザはレイアウトエディタ画面にて個々の画面デザインを作成中にデザインを思いついた場合、他の画面にも統一的にそのデザインを適用したいと考えることがある。   On the other hand, when a user comes up with a design while creating an individual screen design on the layout editor screen, the user may want to apply the design uniformly to other screens.

第2の実施形態では、そのような場合に、レイアウトエディタ画面にて、該当レイアウト部品をダブルクリックする等により、該当レイアウト部品と同じカテゴリーを持つテーマエディタを起動することが可能である。
In the second embodiment, in such a case, a theme editor having the same category as the corresponding layout component can be started by double-clicking the corresponding layout component on the layout editor screen.

図38は、レイアウトエディタ画面にて画面デザインを行っている場合であっても、購入ボタン3801のデザインをテーマとして保存したい場合の例である。購入ボタン3801をダブルクリックすると、図39に示すテーマエディタ画面3900が起動し、レイアウトエディタ画面にて適用中のユーザテーマファイルを開く。適用中のテーマが組込テーマファイルの場合は、組込テーマファイルをコピーして新規ユーザテーマファイルとして作成し、そのユーザテーマファイルを開く。さらに開いたテーマエディタ画面3900においては、ダブルクリックが行われた購入ボタン3801と同じカテゴリー属性値を持つテーマ部品3901が選択されている状態である。以上により、自分の気に入った画面部品のデザインを、デザインテンプレートの部品として、すぐに編集することが可能になる。
FIG. 38 shows an example of the case where it is desired to save the design of the purchase button 3801 as a theme even when the screen is designed on the layout editor screen. When the purchase button 3801 is double-clicked, a theme editor screen 3900 shown in FIG. 39 is activated to open the user theme file being applied on the layout editor screen. If the theme being applied is an embedded theme file, the embedded theme file is copied and created as a new user theme file, and the user theme file is opened. Further, in the opened theme editor screen 3900, a theme part 3901 having the same category attribute value as that of the purchase button 3801 that has been double-clicked is selected. As described above, it is possible to immediately edit the design of the screen part that the user likes as a part of the design template.

次に、図40を用いて、レイアウトエディタ部420からテーマエディタ部410を表示する手順について説明する。図40は、レイアウトエディタ部からテーマエディタ部を表示する処理フローチャートの一例を示す図である。以下のステップは、すべてプログラム開発装置101のCPU201が実行する。   Next, the procedure for displaying the theme editor 410 from the layout editor 420 will be described with reference to FIG. FIG. 40 is a diagram illustrating an example of a processing flowchart for displaying the theme editor from the layout editor. The following steps are all executed by the CPU 201 of the program development apparatus 101.

ステップS4001において、レイアウトエディタ画面にてテーマとして保存したいレイアウト部品の指定を受け付ける。すなわち、ステップS4001は、表示された画面部品に対して、ユーザの指示を受け付ける処理の一例を示すステップである。   In step S4001, designation of a layout component to be saved as a theme is accepted on the layout editor screen. That is, step S4001 is a step showing an example of a process for receiving a user instruction for the displayed screen component.

ステップS4002において、レイアウトエディタ画面で適用中のテーマが存在するか判定する。すなわち、ステップS4002は、表示されたアプリケーション画面に適用しているテンプレートがユーザによって作成されたテンプレートか否かを判定する処理の一例を示すステップである。組込テーマファイルを適用中の場合はステップS4003に進む。テーマを適用していない場合はテップS4004に進む。ユーザテーマファイルを適用中の場合はステップS4006に進む。
ステップS4003において、組込テーマファイルをコピーして新規ユーザテーマファイルとして作成する。
ステップS4004において、新規ユーザテーマファイルとして作成する。
In step S4002, it is determined whether there is a theme being applied on the layout editor screen. That is, step S4002 is a step showing an example of processing for determining whether or not the template applied to the displayed application screen is a template created by the user. If the embedded theme file is being applied, the process proceeds to step S4003. If no theme is applied, the process proceeds to step S4004. If the user theme file is being applied, the process advances to step S4006.
In step S4003, the built-in theme file is copied and created as a new user theme file.
In step S4004, a new user theme file is created.

ステップS4005において、ステップS4003またはステップS4004にて新規作成したユーザテーマファイルをステップS4007にて開くテーマファイルとする。
ステップS4006において、適用中のユーザテーマファイルをステップS4007にて開くテーマファイルとする。
In step S4005, the user theme file newly created in step S4003 or step S4004 is set as a theme file to be opened in step S4007.
In step S4006, the user theme file being applied is set as a theme file opened in step S4007.

以上により、レイアウト編集画面で適用中のデザインテンプレートが「既定のテンプレート」「ユーザが作成したテンプレート」「テンプレートを適用していない」等によって、開発者自身がデザインテンプレート編集画面で編集するテンプレートを選択しなければならないという課題を解決できる。つまり、開発者が現在適用中のテーマファイルかを意識することなく、レイアウト編集画面で編集したデザインをデザインテンプレートとして作成したり編集したりすることができる。   From the above, the design template being applied on the layout editing screen is “default template”, “template created by user”, “no template applied”, etc., and the developer himself selects the template to edit on the design template editing screen. The problem of having to do can be solved. That is, the design edited on the layout editing screen can be created and edited as a design template without being conscious of whether the developer is currently applying the theme file.

ステップS4007において、テーマエディタ画面描画処理(図32)を行う。すなわち、ステップS4007で行われる図32のステップS3201およびステップS3208は、ユーザによって作成されたテンプレートであると判定された場合は当該テンプレートを用い、ユーザによって作成されたテンプレートでないと判定された場合は当該テンプレートをコピーして作成したテンプレートを用い、指示を受け付けた画面部品に対応するプロパティのキーと値を表示する処理の一例を示すステップである。
ステップS4008において、ステップS4001にてテーマ保存すると指定を受け付けたレイアウト部品のプロパティを取得する。
In step S4007, a theme editor screen drawing process (FIG. 32) is performed. That is, step S3201 and step S3208 of FIG. 32 performed in step S4007 use the template when it is determined that the template is created by the user, and when it is determined that the template is not created by the user, It is a step showing an example of a process for displaying a property key and value corresponding to a screen component for which an instruction has been received, using a template created by copying a template.
In step S4008, if the theme is saved in step S4001, the properties of the layout component that has been designated are acquired.

ステップS4009において、ステップS4008にて取得したレイアウト部品のカテゴリーと同じカテゴリーのテーマ部品のプロパティをテーマエディタ画面のプロパティエディタ部に表示する。すなわち、ステップS4009は、指示を受け付けた画面部品に対応するプロパティのキーと値を表示する処理の一例を示すステップである。具体的には、ステップS4001にてテーマ保存すると指定を受け付けたレイアウト部品のカテゴリー属性値=「ボタン」の場合、カテゴリー属性値=「ボタン」のテーマ部品のプロパティをテーマエディタ画面のプロパティエディタ部に表示する。
In step S4009, the properties of the theme part in the same category as the layout part category acquired in step S4008 are displayed in the property editor section of the theme editor screen. That is, step S4009 is a step showing an example of processing for displaying the property key and value corresponding to the screen component for which the instruction has been received. Specifically, if the category attribute value of the layout component that has been designated to be saved in step S4001 is “button”, the property of the theme component of category attribute value = “button” is displayed in the property editor section of the theme editor screen. indicate.

以上により、レイアウト編集画面とデザインテンプレート編集画面を有機的に結び付けることができ、開発者の手間を省くことができる。つまり、Webアプリケーション開発にて、ある画面の画面レイアウト編集中に、その他の画面にも同じデザインを適用したいと開発者が思った場合、レイアウト編集画面とデザインテンプレート編集画面とが有機的に連携していないため、レイアウト編集画面で編集したデザインをデザインテンプレートとして作成したり編集したりする場合、手間がかかってしまうという課題を解決することができる。
以上で、第2の実施形態の説明を終了する。
As described above, the layout editing screen and the design template editing screen can be organically linked, and the labor of the developer can be saved. In other words, in web application development, if the developer wants to apply the same design to other screens while editing the screen layout of one screen, the layout editing screen and the design template editing screen are organically linked. Therefore, when the design edited on the layout editing screen is created or edited as a design template, it is possible to solve the problem that it takes time.
This is the end of the description of the second embodiment.

〔第3の実施形態〕
次に、第3の実施形態について、図を用いて説明する。
第1の実施形態では、すべての画面に統一的なデザインであるテーマを作成する場合、テーマエディタからテーマ部品412を選択し、色やフォント等のデザインを変更し、ユーザテーマファイルを作成する方法について説明した。
[Third Embodiment]
Next, a third embodiment will be described with reference to the drawings.
In the first embodiment, when creating a theme having a uniform design on all screens, a method for selecting a theme part 412 from the theme editor, changing a design such as color and font, and creating a user theme file Explained.

第3の実施形態では、テーマエディタからテーマ部品412を選択した後、プロパティエディタ部413を用いて、色やフォント等のデザインを変更する作業をより効率化する仕組みを提供する。
In the third embodiment, after selecting a theme part 412 from the theme editor, a mechanism is provided that uses the property editor unit 413 to change the design of colors, fonts, and the like more efficiently.

図42のフローチャートを用いて、プロパティエディタ部413を用いて、色やフォント等のデザインを変更する作業を行う手順について説明する。図42は、第3の実施形態において、ユーザテーマファイル更新のフローチャートの一例を示す図である。以下のステップは、すべてプログラム開発装置101のCPU201が実行する。なお、第3の実施形態では、第1の実施形態における図31のフローチャートを図42に置き換え、図31のステップと同じ処理については、同じステップ番号を付与し説明を省略する。
With reference to the flowchart of FIG. 42, a procedure for performing an operation of changing the design of colors, fonts, and the like using the property editor 413 will be described. FIG. 42 is a diagram illustrating an example of a user theme file update flowchart in the third embodiment. The following steps are all executed by the CPU 201 of the program development apparatus 101. In the third embodiment, the flowchart of FIG. 31 in the first embodiment is replaced with FIG. 42, and the same processing as the step of FIG.

ステップS4201において、テーマエディタ部に表示された複数のテーマ部品412が選択された場合にプロパティエディタ部413に何を表示するかの設定を判定する。具体的には、開発ツールにおいて事前に設定された設定値を判定し、「共通プロパティ表示」の場合はステップS3105に進み、「複数部品プロパティ表示」の場合はステップS4202に進む。
ステップS4202において、ステップS3104にて取得した部品のプロパティ一覧を並べて表示する(図43の4302と4303)。
In step S4201, it is determined whether to display what is displayed in the property editor 413 when a plurality of theme parts 412 displayed in the theme editor are selected. Specifically, the setting value set in advance in the development tool is determined, and in the case of “common property display”, the process proceeds to step S3105, and in the case of “multiple part property display”, the process proceeds to step S4202.
In step S4202, the component property list acquired in step S3104 is displayed side by side (4302 and 4303 in FIG. 43).

ステップS4203において、ステップS3104にて取得した部品のプロパティ一覧のうち、同一プロパティキーで異なる値を識別して表示する。例えば、図43の4304と4305の値が異なるということが識別できるよう赤く表示したり、図43の4304と4305のようにボタンを表示したりする。すなわち、ステップS4202およびステップS4203は、指示を受け付けた部品のプロパティのキーと値を表示する場合、当該値の近傍に他の部品で同じキーに対応して設定されている値を表示する処理の一例を示すステップである。   In step S4203, different values are identified and displayed with the same property key in the component property list acquired in step S3104. For example, it is displayed in red so that it can be identified that the values of 4304 and 4305 in FIG. 43 are different, or a button is displayed as in 4304 and 4305 in FIG. That is, step S4202 and step S4203 are processes of displaying the value set corresponding to the same key in another component in the vicinity of the value when displaying the property key and value of the component that has received the instruction. It is a step showing an example.

これにより、複数の部品において異なる値を設定しているプロパティキーを容易に識別することができるため、デザインの統一を図ったり、デザインの特徴を出したりする編集作業をより効率化できるようになる。なお、本実施形態においては、値が異なるということの識別方法として、赤く表示したりボタンを表示したりするとしたが、これに限定するものではなく、点滅表示、丸で囲む等、その他の識別方法であってもよい。   This makes it possible to easily identify property keys that have different values in multiple parts, thus enabling more efficient editing work that unifies designs and provides design features. . In this embodiment, as a method of identifying that the values are different, the display is made in red or the button is displayed. However, the present invention is not limited to this, and other identifications such as blinking display and circled display are possible. It may be a method.

ステップS4204において、ステップS4203にて識別して表示した異なる値のどちらを適用するかの選択を受け付ける。具体的には、矢印ボタン4304および矢印ボタン4305の押下を受け付ける。   In step S4204, selection of which of the different values identified and displayed in step S4203 is applied is accepted. Specifically, pressing of an arrow button 4304 and an arrow button 4305 is accepted.

ステップS4205において、押下を受け付けたボタンに従って、適用元の値で適用先の値を上書きする。具体的には、押下を受け付けたボタンが矢印ボタン4304の場合は、適用元である値4304で適用先である値4305を上書きする。一方、押下を受け付けたボタンが矢印ボタン4305の場合は、適用元である値4305で適用先である値4304を上書きする。これにより、複数の部品において異なる値を容易に同じ値に変更することができるため、デザインの統一を図る編集作業をより効率化できるようになる。   In step S4205, the application destination value is overwritten with the application source value in accordance with the button that has been pressed. Specifically, if the button that has been pressed is the arrow button 4304, the value 4305 that is the application destination is overwritten with the value 4304 that is the application source. On the other hand, when the button that has been pressed is the arrow button 4305, the value 4304 that is the application destination is overwritten with the value 4305 that is the application source. Thereby, since different values can be easily changed to the same value in a plurality of parts, the editing work for unifying the design can be made more efficient.

ステップS4206において、ステップS3107にて変更入力を受け付けるプロパティ値がテーマエディタ部のテーマ部品412のどの部分に影響を与えるかを示すオブジェクトを表示する。すなわち、ステップS4206は、変更を受け付ける値が、前記テンプレート画面のどこのデザインに影響を及ぼすかを識別して表示する処理の一例を示すステップである。具体的には、図44のテーマエディタ画面4400のテーマエディタ部に表示されたテーマ部品412、例えばテキストフィールド4401の選択を受け付けた場合、プロパティエディタ部413にテキストフィールド4401に関するプロパティ一覧4402を表示し、その中から「配置」プロパティの「padding」キーの値「3pt」が選択されたとする(図44の4403)。   In step S4206, an object indicating which part of the theme part 412 of the theme editor unit the property value that receives the change input in step S3107 is displayed. That is, step S4206 is a step showing an example of processing for identifying and displaying which design on the template screen the value for accepting the change affects. Specifically, when the selection of the theme part 412 displayed in the theme editor section of the theme editor screen 4400 of FIG. 44, for example, the text field 4401 is accepted, the property list 4402 related to the text field 4401 is displayed in the property editor section 413. Suppose that the value “3pt” of the “padding” key of the “placement” property is selected from among them (4403 in FIG. 44).

その場合、「padding」キーの値がテーマエディタ部に表示されたテキストフィールド4401のどの部分に影響を与えるのかを示すオブジェクト(図44の矢印4404)を表示する。これにより、プロパティエディタ部413の値がテーマエディタ部における部品のどこに反映されるのかを容易に認識することができる。なお、本実施形態においては、プロパティエディタ部413にてプロパティ値の変更入力を受け付けた場合にオブジェクトを表示するとしたが、これに限定するものではなく、プロパティエディタ部413にてプロパティキーまたはプロパティ値が選択された場合にオブジェクトを表示するとしてもよい。
ステップS4207において、当該プロパティキーと同じキーを持つ他の部品の当該キーに対する値を取得する。
In that case, an object (an arrow 4404 in FIG. 44) indicating which part of the text field 4401 displayed in the theme editor section affects the value of the “padding” key is displayed. Thereby, it is possible to easily recognize where the value of the property editor unit 413 is reflected in the part in the theme editor unit. In the present embodiment, the object is displayed when the property editor unit 413 accepts the change input of the property value. However, the present invention is not limited to this, and the property key or property value is displayed in the property editor unit 413. The object may be displayed when is selected.
In step S4207, the value for the key of another component having the same key as the property key is acquired.

ステップS4208において、ステップS4207にて取得した値を表示する(図45の4503)。具体的には、図45のテーマエディタ画面4500のテーマエディタ部に表示されたテーマ部品412、例えばテキストフィールド4501の選択を受け付けた場合、プロパティエディタ部413にテキストフィールド4501に関するプロパティ一覧4502を表示し、その中から「フォント」プロパティの「font−size」キーの値「18pt」が選択されたとする(図45の4502)。   In step S4208, the value acquired in step S4207 is displayed (4503 in FIG. 45). Specifically, when the selection of the theme part 412 displayed in the theme editor part of the theme editor screen 4500 of FIG. 45, for example, the text field 4501, is received, the property list 4502 regarding the text field 4501 is displayed in the property editor part 413. Suppose that the value “18pt” of the “font-size” key of the “font” property is selected (4502 in FIG. 45).

その場合、現在編集中のテーマにおいて、「font−size」キーを持つ他の部品の「font−size」キーに対する値を取得する。ここでは、「font−size」キーを持つ他の部品として「タイトル」「ボタン」「リンク」の3部品があり、その3部品における「font−size」キーに対する値はそれぞれ「24pt」「11pt」「11pt」であるとすると、図45の4503のような表を表示する。これにより、同じプロパティキーを持つ複数の部品においてどのような値が設定されているかを容易に認識することができるため、デザインの統一を図ったり、デザインの特徴を出したりする編集作業をより効率化できるようになる。   In this case, the value for the “font-size” key of another part having the “font-size” key in the currently edited theme is acquired. Here, there are three parts “title”, “button”, and “link” as other parts having the “font-size” key, and the values for the “font-size” key in the three parts are “24 pt” and “11 pt”, respectively. If it is “11pt”, a table like 4503 in FIG. 45 is displayed. This makes it easy to recognize what values are set for multiple parts with the same property key, making editing work more uniform and creating design features more efficient. It becomes possible to become.

ステップS4209において、ステップS3107にて受け付けた、キーに対する値の変更内容を判定する。変更内容が値の場合はステップS4210に進み、オブジェクトの場合はステップS4211に進み、既存テーマが選択された場合はステップS4212に進む。すなわち、ステップS4209は、表示されたプロパティのキーに対応する値の変更をすべく、ユーザの指示に従って、記憶されているデザインテンプレートの選択を受け付ける処理の一例を示すステップである。また、ステップS4209は、表示された識別表示するためのオブジェクトに対して、ユーザの操作を受け付ける処理の一例を示すステップである。   In step S4209, the change contents of the value for the key received in step S3107 are determined. If the change content is a value, the process proceeds to step S4210. If the change content is an object, the process proceeds to step S4211. If an existing theme is selected, the process proceeds to step S4212. That is, step S4209 is a step showing an example of a process of accepting selection of a stored design template in accordance with a user instruction to change a value corresponding to the displayed property key. Step S4209 is a step illustrating an example of processing for accepting a user operation on the displayed object for identification display.

例えば、図44の4403の値「3pt」を「5pt」に変更された場合は、値の変更であると捉えてステップS4210に進む。また、ユーザのマウス等の操作によって図44の矢印4404の大きさが変更された場合は、オブジェクトの変更であると捉えてステップS4211に進む。また、図46のコンボボックス4603で既存テーマが選択された場合は、既存テーマの選択であると捉えてステップS4212に進む。
For example, when the value “3pt” of 4403 in FIG. 44 is changed to “5 pt”, the value is changed and the process proceeds to step S4210. If the size of the arrow 4404 in FIG. 44 is changed by the user's operation of the mouse or the like, it is regarded as an object change and the process proceeds to step S4211. If an existing theme is selected in the combo box 4603 in FIG. 46, it is assumed that the existing theme is selected, and the process advances to step S4212.

ここで、図46について説明しておく。図46は、第3の実施形態において、プロパティエディタ部413の値として既存テーマ選択の一例を示す図である。
具体的には、図46のテーマエディタ画面4600のテーマエディタ部に表示されたテーマ部品412、例えばテキストフィールド4601の選択を受け付けた場合、プロパティエディタ部413にテキストフィールド4601に関するプロパティ一覧4602を表示し、その中から「フォント」プロパティの「font−size」キーの値が選択されると、コンボボックス4603を表示する(図46の4603)。
Here, FIG. 46 will be described. FIG. 46 is a diagram illustrating an example of selecting an existing theme as a value of the property editor unit 413 in the third embodiment.
Specifically, when the selection of the theme part 412 displayed in the theme editor section of the theme editor screen 4600 in FIG. 46, for example, the text field 4601 is accepted, the property list 4602 regarding the text field 4601 is displayed in the property editor section 413. When the value of the “font-size” key of the “font” property is selected, a combo box 4603 is displayed (4603 in FIG. 46).

コンボボックス4603は値の入力だけでなく、既存テーマファイル名を選択肢に持ちそれらの選択肢から1つを選択することができる。値の入力が行われた場合は、値の変更であると捉えてステップS4210に進む。既存テーマファイル名が選択された場合は、既存テーマの選択であると捉えてステップS4212に進む。
In the combo box 4603, not only can a value be entered, but an existing theme file name can be selected as an option, and one of these options can be selected. If a value has been input, it is assumed that the value has been changed and the process proceeds to step S4210. If the existing theme file name is selected, it is assumed that the existing theme is selected, and the process proceeds to step S4212.

ステップS4210において、受け付けた入力値を取得する。
ステップS4211において、変更されたオブジェクトの大きさを値として取得する。すなわち、ステップS4211およびステップS3110は、受け付けた操作に従って、表示されたプロパティのキーに対応する値を変更する処理の一例を示すステップである。
In step S4210, the received input value is acquired.
In step S4211, the size of the changed object is acquired as a value. That is, step S4211 and step S3110 are steps showing an example of processing for changing the value corresponding to the displayed property key in accordance with the accepted operation.

具体的には、ユーザのマウス等の操作によって図44の矢印4404の大きさが「3pt」から「5pt」に拡大された場合は、変更後の値として「5pt」を取得する。なお、本実施形態においては、オブジェクトを矢印としたが、これに限定するものではなく、例えば、テキストを枠で囲んだようなボックスをオブジェクトとしてもよい。つまり、矢印の大きさを変更する以外にも、ボックスの位置をずらしたり、大きさを変更したりすることによって、プロパティ値を変更するとしてもよい。これにより、プロパティエディタ部413の値を変更しなくても、オブジェクトの大きさや位置を視覚的に変更することで、デザインの編集ができるようになるため、編集作業をより効率化できるようになる。
Specifically, when the size of the arrow 4404 in FIG. 44 is increased from “3 pt” to “5 pt” by the user's operation of the mouse or the like, “5 pt” is acquired as the changed value. In the present embodiment, the object is an arrow, but the present invention is not limited to this. For example, a box in which text is surrounded by a frame may be used as the object. That is, in addition to changing the size of the arrow, the property value may be changed by shifting the position of the box or changing the size. As a result, the design can be edited by visually changing the size and position of the object without changing the value of the property editor unit 413, so that the editing work can be made more efficient. .

ステップS4212において、コンボボックス4603で選択されて既存テーマファイルから、当該プロパティキーに対応する値を取得する。すなわち、ステップS4212およびステップS3110は、選択を受け付けたデザインテンプレートとして記憶されているプロパティの値を用いて、表示されたプロパティのキーに対応する値を変更する処理の一例を示すステップである。これにより、プロパティエディタ部413に値を直接入力しなくても、既存テーマを選択することにより、選択した既存テーマと同じデザインに統一することができるようになるため、編集作業をより効率化できるようになる。
以下の処理は、図31のフローチャートと同様である。
以上で、図42の説明を終了する。
以上で、第3の実施形態の説明を終了する。
In step S4212, the value corresponding to the property key is acquired from the existing theme file selected in the combo box 4603. That is, step S4212 and step S3110 are steps showing an example of processing for changing the value corresponding to the displayed property key using the property value stored as the design template for which selection has been accepted. As a result, it is possible to unify the same design as the selected existing theme by selecting an existing theme without directly entering a value in the property editor unit 413, so that the editing work can be made more efficient. It becomes like this.
The subsequent processing is the same as the flowchart of FIG.
This is the end of the description of FIG.
This is the end of the description of the third embodiment.

以上により、画面デザインのテンプレートの編集に係る作業を効率化する仕組みを提供することができる。また、Webアプリケーション開発において、レイアウト編集機能とデザインテンプレート編集機能が密に連携した統合的な開発ツールを提供することができるため、開発者は、レイアウト編集機能とデザインテンプレート編集機能とを連携させることができ、Webアプリケーション開発作業が非効率になっているという課題を解決することができる。   As described above, it is possible to provide a mechanism for improving the efficiency of the work related to the editing of the screen design template. In web application development, since an integrated development tool in which the layout editing function and the design template editing function are closely linked can be provided, the developer must link the layout editing function and the design template editing function. It is possible to solve the problem that the Web application development work is inefficient.

以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。   As described above, a recording medium that records a program that implements the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.

この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。   In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。   As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk or the like can be used.

また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program read from the recording medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is based on the instructions of the program code. It goes without saying that the case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   The present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.

上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。   The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (operating system), and the like.

さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。   Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.

101 プログラム開発装置
102 プログラム開発サーバ
103 データベースサーバ
104 アプリケーションクライアント
105 アプリケーションサーバ
106 ネットワーク
101 Program Development Device 102 Program Development Server 103 Database Server 104 Application Client 105 Application Server 106 Network

Claims (15)

複数の部品を持つテンプレート画面のデザインを編集し、スタイルシートを生成する情報処理装置であって、
前記テンプレート画面に含まれる部品のデザインのプロパティのキーに対応する値を編集するためのテンプレート編集画面を表示するテンプレート編集画面表示手段と、
前記テンプレート編集画面表示手段により表示されたテンプレート編集画面に、前記デザインを適用した前記部品を表示するテンプレート部品表示手段と、
前記テンプレート部品表示手段により表示された部品に対して、ユーザの指示を受け付けるテンプレート部品指示受付手段と、
前記デザインのプロパティのうち、前記テンプレート部品指示受付手段により指示を受け付けた部品に対応するプロパティのキーと値を表示するプロパティ表示手段と、
前記プロパティ表示手段により表示されたプロパティのキーに対応する値の変更を受け付けるプロパティ値変更受付手段と、
前記プロパティ値変更受付手段により変更を受け付けた値に従って、前記部品の表示を更新するテンプレート部品表示更新手段と、
前記テンプレート部品表示更新手段により表示を更新された部品のプロパティのキーおよび値を用いて、前記スタイルシートを生成するスタイルシート生成手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus for editing a design of a template screen having a plurality of parts and generating a style sheet,
A template editing screen display means for displaying a template editing screen for editing a value corresponding to a property key of a part design included in the template screen;
Template component display means for displaying the part to which the design is applied on the template edit screen displayed by the template edit screen display means;
Template component instruction receiving means for receiving user instructions for the components displayed by the template component display means;
Among the properties of the design, property display means for displaying a property key and value corresponding to a part for which an instruction has been received by the template part instruction receiving means;
Property value change accepting means for accepting a change in value corresponding to the property key displayed by the property display means;
A template part display updating unit for updating the display of the part according to the value received by the property value change receiving unit;
An information processing apparatus comprising: a style sheet generation unit configured to generate the style sheet using a property key and a value of a component whose display is updated by the template component display update unit.
前記プロパティ表示手段は、
前記テンプレート部品指示受付手段により指示を受け付けた部品が複数の場合、前記テンプレート部品指示受付手段により指示を受け付けた複数の部品のすべてに含まれるプロパティのキーと値を表示すること
を特徴とする請求項1に記載の情報処理装置。
The property display means is:
When there are a plurality of parts whose instructions are received by the template part instruction receiving unit, property keys and values included in all of the plurality of parts whose instructions are received by the template part instruction receiving unit are displayed. Item 4. The information processing apparatus according to Item 1.
前記テンプレート部品表示手段は、
前記プロパティ値変更受付手段により変更を受け付けたプロパティの値に従って、前記テンプレート部品指示受付手段により指示を受け付けた部品と前記プロパティ値変更受付手段により変更を受け付けたプロパティに対応する部品との表示を更新すること
を特徴とする請求項1または2に記載の情報処理装置。
The template part display means includes
In accordance with the value of the property whose change has been received by the property value change receiving means, the display of the part whose instruction has been received by the template part instruction receiving means and the part corresponding to the property whose change has been received by the property value change receiving means has been updated. The information processing apparatus according to claim 1, wherein the information processing apparatus is an information processing apparatus.
前記テンプレート部品表示手段により表示された部品のプロパティのキーおよび値を対応付けて、デザインテンプレートとして記憶するデザインテンプレート記憶手段を更に備えること
を特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
The design template storage means for associating the key and value of the property of the part displayed by the template part display means with each other and storing it as a design template is further provided. Information processing device.
前記部品を含むアプリケーション画面を出力するアプリケーションを構築するアプリケーション構築手段を更に備え、
前記アプリケーション構築手段は、
前記スタイルシート生成手段により生成されたスタイルシートを用いるアプリケーション画面を出力するアプリケーションを構築すること
を特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。
An application construction means for constructing an application for outputting an application screen including the component;
The application construction means includes
The information processing apparatus according to claim 1, wherein an application that outputs an application screen that uses the style sheet generated by the style sheet generation unit is constructed.
前記アプリケーション画面に表示する前記部品のレイアウトを編集するレイアウト編集画面を表示するレイアウト編集画面表示手段と、
前記プロパティ値変更受付手段により変更を受け付けた値に従って、前記レイアウト編集画面表示手段により表示されたレイアウト編集画面に含まれる前記部品にデザインを適用するレイアウト編集画面適用手段と
を更に備えることを特徴とする請求項5に記載の情報処理装置。
Layout editing screen display means for displaying a layout editing screen for editing the layout of the component displayed on the application screen;
A layout editing screen applying means for applying a design to the component included in the layout editing screen displayed by the layout editing screen display means according to the value received by the property value change receiving means. The information processing apparatus according to claim 5.
前記レイアウト編集画面表示手段により表示された部品に対して、ユーザの指示を受け付けるレイアウト編集画面部品指示受付手段
を更に備え、
前記プロパティ表示手段は、前記レイアウト編集画面部品指示受付手段により指示を受け付けた部品に対応するプロパティのキーと値を表示すること
を特徴とする請求項6に記載の情報処理装置。
A layout editing screen component instruction receiving unit that receives a user instruction for the component displayed by the layout editing screen display unit,
The information processing apparatus according to claim 6, wherein the property display unit displays a property key and a value corresponding to a component for which an instruction has been received by the layout editing screen component instruction reception unit.
前記レイアウト編集画面表示手段により表示されたアプリケーション画面に適用している前記テンプレートがユーザによって作成されたテンプレートか否かを判定するテンプレート判定手段
を更に備え、
前記プロパティ表示手段は、
前記レイアウト編集画面部品指示受付手段によりユーザの指示を受け付けた場合であって、前記テンプレート判定手段によりユーザによって作成されたテンプレートであると判定された場合は当該テンプレートを用い、前記テンプレート判定手段によりユーザによって作成されたテンプレートでないと判定された場合は当該テンプレートをコピーして作成したテンプレートを用い、前記レイアウト編集画面部品指示受付手段により指示を受け付けた画面部品に対応するプロパティのキーと値を表示すること
を特徴とする請求項7に記載の情報処理装置。
Template determination means for determining whether or not the template applied to the application screen displayed by the layout editing screen display means is a template created by a user;
The property display means is:
When the user instruction is received by the layout editing screen component instruction receiving unit, and when the template determining unit determines that the template is created by the user, the template is used, and the template determining unit uses the template. If it is determined that the template is not created by the above, a template created by copying the template is used, and the property key and value corresponding to the screen component whose instruction is received by the layout editing screen component instruction receiving unit are displayed. The information processing apparatus according to claim 7.
前記プロパティ表示手段により表示されたプロパティのキーに対応する値の変更をすべく、ユーザの指示に従って、前記デザインテンプレート記憶手段により記憶されているデザインテンプレートの選択を受け付けるデザインテンプレート選択手段と
を更に備え、
前記プロパティ値変更受付手段は、
前記デザインテンプレート選択手段により選択を受け付けたデザインテンプレートとして前記デザインテンプレート記憶手段により記憶されているプロパティの値を用いて、前記プロパティ表示手段により表示されたプロパティのキーに対応する値を変更すること
を特徴とする請求項4に記載の情報処理装置。
Design template selection means for receiving selection of a design template stored in the design template storage means according to a user instruction to change a value corresponding to the property key displayed by the property display means. ,
The property value change accepting means is:
Changing the value corresponding to the property key displayed by the property display means, using the property value stored by the design template storage means as the design template accepted by the design template selection means; The information processing apparatus according to claim 4.
前記プロパティ値変更受付手段により変更を受け付ける値が、前記テンプレート画面のどこのデザインに影響を及ぼすかを識別して表示するデザイン影響識別表示手段を更に備えること
を特徴とする請求項1乃至9のいずれか1項に記載の情報処理装置。
10. The design influence identification display means for identifying and displaying which design on the template screen the value whose change is received by the property value change receiving means influences. The information processing apparatus according to any one of claims.
前記デザイン影響識別表示手段により表示された識別表示するためのオブジェクトに対して、ユーザの操作を受け付けるユーザ操作受付手段と
前記プロパティ値変更受付手段は、
前記ユーザ操作受付手段により受け付けた操作に従って、前記プロパティ表示手段により表示されたプロパティのキーに対応する値を変更すること
を特徴とする請求項10に記載の情報処理装置。
For the object for identification display displayed by the design influence identification display means, a user operation acceptance means for accepting a user operation and the property value change acceptance means,
The information processing apparatus according to claim 10, wherein a value corresponding to a property key displayed by the property display unit is changed in accordance with an operation received by the user operation reception unit.
前記プロパティ表示手段は、
前記テンプレート部品指示受付手段により指示を受け付けた部品が複数の場合、前記テンプレート部品指示受付手段により指示を受け付けた部品のプロパティのキーと値を部品毎に並べて表示し、同じキーに対応して設定されている値が部品間で異なることを識別して表示すること
を特徴とする請求項1乃至11のいずれか1項に記載の情報処理装置。
The property display means is:
When there are a plurality of parts whose instructions are received by the template part instruction receiving unit, the property keys and values of the parts whose instructions are received by the template part instruction receiving unit are displayed side by side and set corresponding to the same key. The information processing apparatus according to any one of claims 1 to 11, wherein the displayed value is identified and displayed to be different between components.
前記プロパティ表示手段は、
前記テンプレート部品指示受付手段により指示を受け付けた部品のプロパティのキーと値を表示する場合、当該値の近傍に他の部品で同じキーに対応して設定されている値を表示すること
を特徴とする請求項1乃至12のいずれか1項に記載の情報処理装置。
The property display means is:
When displaying the property key and value of a component for which an instruction has been received by the template component instruction receiving unit, a value set corresponding to the same key in another component is displayed near the value. The information processing apparatus according to any one of claims 1 to 12.
複数の部品を持つテンプレート画面のデザインを編集し、スタイルシートを生成する情報処理装置における処理方法であって、
前記情報処理装置が、
前記テンプレート画面に含まれる部品のデザインのプロパティのキーに対応する値を編集するためのテンプレート編集画面を表示するテンプレート編集画面表示ステップと、
前記テンプレート編集画面表示ステップにより表示されたテンプレート編集画面に、前記デザインを適用した前記部品を表示するテンプレート部品表示ステップと、
前記テンプレート部品表示ステップにより表示された部品に対して、ユーザの指示を受け付けるテンプレート部品指示受付ステップと、
前記デザインのプロパティのうち、前記テンプレート部品指示受付ステップにより指示を受け付けた部品に対応するプロパティのキーと値を表示するプロパティ表示ステップと、
前記プロパティ表示ステップにより表示されたプロパティのキーに対応する値の変更を受け付けるプロパティ値変更受付ステップと、
前記プロパティ値変更受付ステップにより変更を受け付けた値に従って、前記部品の表示を更新するテンプレート部品表示更新ステップと、
前記テンプレート部品表示更新ステップにより表示を更新された部品のプロパティのキーおよび値を用いて、前記スタイルシートを生成するスタイルシート生成ステップと
を実行すること
を特徴とする処理方法。
A processing method in an information processing apparatus for editing a design of a template screen having a plurality of parts and generating a style sheet,
The information processing apparatus is
A template editing screen display step for displaying a template editing screen for editing a value corresponding to a property key of a part design included in the template screen;
A template part display step for displaying the part to which the design is applied on the template edit screen displayed by the template edit screen display step;
A template part instruction receiving step for receiving a user instruction for the part displayed in the template part displaying step;
Among the properties of the design, a property display step for displaying a property key and a value corresponding to a part for which an instruction has been received by the template part instruction receiving step;
A property value change accepting step for accepting a change of a value corresponding to the property key displayed by the property displaying step;
A template part display update step for updating the display of the part according to the value received by the property value change accepting step;
A processing method comprising: executing a style sheet generation step of generating the style sheet using the property key and value of the component whose display has been updated by the template component display update step.
複数の部品を持つテンプレート画面のデザインを編集し、スタイルシートを生成する情報処理装置で実行可能なプログラムであって、
前記情報処理装置を、
前記テンプレート画面に含まれる部品のデザインのプロパティのキーに対応する値を編集するためのテンプレート編集画面を表示するテンプレート編集画面表示手段と、
前記テンプレート編集画面表示手段により表示されたテンプレート編集画面に、前記デザインを適用した前記部品を表示するテンプレート部品表示手段と、
前記テンプレート部品表示手段により表示された部品に対して、ユーザの指示を受け付けるテンプレート部品指示受付手段と、
前記デザインのプロパティのうち、前記テンプレート部品指示受付手段により指示を受け付けた部品に対応するプロパティのキーと値を表示するプロパティ表示手段と、
前記プロパティ表示手段により表示されたプロパティのキーに対応する値の変更を受け付けるプロパティ値変更受付手段と、
前記プロパティ値変更受付手段により変更を受け付けた値に従って、前記部品の表示を更新するテンプレート部品表示更新手段と、
前記テンプレート部品表示更新手段により表示を更新された部品のプロパティのキーおよび値を用いて、前記スタイルシートを生成するスタイルシート生成手段
として機能させること
を特徴とするプログラム。
A program that can be executed by an information processing device that edits the design of a template screen having multiple parts and generates a style sheet,
The information processing apparatus;
A template editing screen display means for displaying a template editing screen for editing a value corresponding to a property key of a part design included in the template screen;
Template component display means for displaying the part to which the design is applied on the template edit screen displayed by the template edit screen display means;
Template component instruction receiving means for receiving user instructions for the components displayed by the template component display means;
Among the properties of the design, property display means for displaying a property key and value corresponding to a part for which an instruction has been received by the template part instruction receiving means;
Property value change accepting means for accepting a change in value corresponding to the property key displayed by the property display means;
A template part display updating unit for updating the display of the part according to the value received by the property value change receiving unit;
A program that functions as a style sheet generation unit that generates the style sheet by using a property key and a value of a component whose display is updated by the template component display update unit.
JP2016180837A 2015-09-17 2016-09-15 Information processing device and its processing method and program Active JP6889361B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015184180 2015-09-17
JP2015184180 2015-09-17

Publications (2)

Publication Number Publication Date
JP2017059237A true JP2017059237A (en) 2017-03-23
JP6889361B2 JP6889361B2 (en) 2021-06-18

Family

ID=58390699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016180837A Active JP6889361B2 (en) 2015-09-17 2016-09-15 Information processing device and its processing method and program

Country Status (1)

Country Link
JP (1) JP6889361B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020119170A (en) * 2019-01-23 2020-08-06 キヤノンマーケティングジャパン株式会社 Program, information processing apparatus, and processing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185553A (en) * 2002-12-06 2004-07-02 Fujitsu Ltd Method and device for forming component of web user interface
JP2009205540A (en) * 2008-02-28 2009-09-10 Ricoh Co Ltd Screen data generator, screen data generation method and screen data generation program
JP2010072764A (en) * 2008-09-16 2010-04-02 Digitalmax Co Ltd Program creation device
WO2012086049A1 (en) * 2010-12-24 2012-06-28 三菱電機株式会社 Screen creation system for programmable indicator
JP2013073527A (en) * 2011-09-28 2013-04-22 Hakko Denki Kk Support device for programmable display, program therefor, and method for supporting integrated change of operation screen
JP2014016869A (en) * 2012-07-10 2014-01-30 Mitsubishi Electric Corp User interface design device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185553A (en) * 2002-12-06 2004-07-02 Fujitsu Ltd Method and device for forming component of web user interface
JP2009205540A (en) * 2008-02-28 2009-09-10 Ricoh Co Ltd Screen data generator, screen data generation method and screen data generation program
JP2010072764A (en) * 2008-09-16 2010-04-02 Digitalmax Co Ltd Program creation device
WO2012086049A1 (en) * 2010-12-24 2012-06-28 三菱電機株式会社 Screen creation system for programmable indicator
US20130275893A1 (en) * 2010-12-24 2013-10-17 Mitsubishi Electric Corporation Screen creation system for programmable display
JP2013073527A (en) * 2011-09-28 2013-04-22 Hakko Denki Kk Support device for programmable display, program therefor, and method for supporting integrated change of operation screen
JP2014016869A (en) * 2012-07-10 2014-01-30 Mitsubishi Electric Corp User interface design device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020119170A (en) * 2019-01-23 2020-08-06 キヤノンマーケティングジャパン株式会社 Program, information processing apparatus, and processing method
JP7231823B2 (en) 2019-01-23 2023-03-02 キヤノンマーケティングジャパン株式会社 Program, information processing system and its control method

Also Published As

Publication number Publication date
JP6889361B2 (en) 2021-06-18

Similar Documents

Publication Publication Date Title
KR100840863B1 (en) Document processing apparatus and document processing method
CN101278252B (en) Method for providing function for user interface for a database application and the interface deployment method
CN101183353B (en) Information processing apparatus, control method
CN101821730B (en) Method and system for defining interactive user interface
CN104424522B (en) A kind of transaction processing system and its configuration method
CN111126019A (en) Report generation method and device based on mode customization and electronic equipment
KR102026814B1 (en) Online video production, online video sharing and online video / design trading system and its method
US8255797B2 (en) Information processing apparatus and method
CN112199373A (en) Form development method and system
JP6889361B2 (en) Information processing device and its processing method and program
US10706225B2 (en) Form management system and method
JP2016066355A (en) Web application generating system, control method of web application generating system, program for web application generating system, web application generating device, control method of web application generating device, and program for web application generating device
JP7014960B2 (en) Information processing equipment, servers, their processing methods and programs
JP3531579B2 (en) Multimedia document generation apparatus and method, and recording medium storing program for causing computer to execute these
US20050033764A1 (en) Interactive editor for data driven systems
CN105183472A (en) Method and device for screening information in Linux system
KR100856132B1 (en) System for managing web subjects
JP2018181073A (en) Information processing apparatus, processing method thereof, and program
CN114391151A (en) Enhanced natural language generation platform
US20190179877A1 (en) Information processing system, control method, and storage medium
JP7381900B2 (en) Information processing system, its control method and program
TWI834538B (en) Interface generating system and interface generating method
JP2019082896A (en) Information processing device, processing method and program of the same
KR101499052B1 (en) A method for building cardbook using knowledge card based on digital information
JP6361770B2 (en) Information processing apparatus, processing method thereof, and program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20161101

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20161101

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180703

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20181031

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190111

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200519

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201019

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20201208

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210308

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20210308

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20210323

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20210330

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210420

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210503

R151 Written notification of patent or utility model registration

Ref document number: 6889361

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250