CN101571799A - Editing system of application program interface and method thereof - Google Patents

Editing system of application program interface and method thereof Download PDF

Info

Publication number
CN101571799A
CN101571799A CNA2008100368516A CN200810036851A CN101571799A CN 101571799 A CN101571799 A CN 101571799A CN A2008100368516 A CNA2008100368516 A CN A2008100368516A CN 200810036851 A CN200810036851 A CN 200810036851A CN 101571799 A CN101571799 A CN 101571799A
Authority
CN
China
Prior art keywords
control
editing system
interface
application programming
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2008100368516A
Other languages
Chinese (zh)
Inventor
张巍
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.)
Mitac International Corp
Original Assignee
Mitac International Corp
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 Mitac International Corp filed Critical Mitac International Corp
Priority to CNA2008100368516A priority Critical patent/CN101571799A/en
Publication of CN101571799A publication Critical patent/CN101571799A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an editing system of an application program interface and a method thereof. The editing system comprises the application program interface, an editing unit and a processing unit, wherein the application program interface comprises a figure interface, a control object list and an attribute list, the control object list is provided with at least one control object, and the attribute list is provided with at least one attribute field; the editing unit is connected with the application program interface so as to obtain a figure object or the control object on the figure interface, and the editing unit sets an attribute set value in the attribute field; and in addition, the processing unit is connected with the application program interface and the editing unit so as to receive the attribute set value, generate a handle and control the figure object or the control object positioned on the figure interface according to the handle.

Description

The editing system of application programming interfaces and method thereof
[technical field]
The invention provides a kind of editing system and method thereof of application programming interfaces, particularly a kind of routine interface that uses extend markup language carries out the system and method for object editing.
[background technology]
When developing application or user's interface, the software developer can use the application programming interfaces of program language (as Visual C++) to carry out program editing usually at present.The most frequently used program editing mode is directly write program code in the development environment of program language, further then can be on application programming interfaces the various control of drag and drop to preposition, and in program code, set title, identification code, size, style, font, the alignment thereof of control ... Deng attribute, these attributes can be saved in a resource file (.rc), after the program for the treatment of is write and finished, again attribute is compiled as binary shelves of carrying out.
See also Fig. 1, it is the synoptic diagram of the editing system of existing application interface.Among the figure, application programming interfaces 11 are the routine interface of program language Visual C++, the software developer passes through the various control of graphic interface 12 drag and drop to suitable position, and revises title, identification code, position, size, color, font, runic, line number, the alignment thereof of control in program code ... Deng attribute.For example: the title " Static Text-Single line text " to character string control 13 is made amendment, and adjusts its position, size, font ... Deng.Though the software developer can change the title of control, and with the control drag and drop to the position of wanting, in fact the control of control quite is difficult for and complicated.Because of control on adjusting or setting, mostly need to revise application programming interfaces 11 program code behind and just can reach, and can't directly on graphic interface 12, make amendment.
The shortcoming of the editing system of above-mentioned existing application interface is that the control of this editing system is difficult to editor, and the software developer often will spend many time modification program codes, and wasting time and energy and safeguarding very is not easy.And the program code of the editing system of existing application interface is difficult for being read by people, is that the software developer is difficult to the connotation of prehension program code, the art designing personnel and the user that let alone program code are unfamiliar with or are known nothing.Add that existing technology is difficult to add figure or map file to graphic interface, and edits fast, revises and control.
For solving the prior art shortcoming, to satisfy the demand of user to editing system, the inventor is based on going in for the study for many years and many practical experience, through research and design and special topic are inquired in many ways, in the present invention a kind of editing system and method thereof of application programming interfaces are proposed, with implementation and foundation as aforementioned expectation.
[summary of the invention]
Because so, the object of the present invention is to provide a kind of editing system and method thereof of application programming interfaces, particularly a kind of utilization extend markup language (eXtensible Markup Language, XML) routine interface carries out the system and method for object editing, to satisfy the demand of user to editing system, and the shortcoming of solution prior art, except that the control of editing system is easy to editor and control, the user need not read or be familiar with program code yet, and figure or map file also can be easily in enterprising edlin of graphic interface and modifications.
For achieving the above object, the present invention proposes a kind of editing system of application programming interfaces, and it comprises application programming interfaces, an edit cell and a processing unit.Wherein, application programming interfaces comprise a graphic interface, a controlling object table and an attribute list, and the controlling object table has at least one controlling object, and attribute list has at least one attribute field.And edit cell connects application programming interfaces, and choosing a Drawing Object or controlling object to graphic interface, and edit cell is set an attribute setting value in attribute field.Processing unit connects application programming interfaces and edit cell, produces a handle to receive the attribute setting value, and controls Drawing Object or the controlling object that is positioned on the graphic interface according to handle.
In addition, the present invention reintroduces a kind of edit methods of application programming interfaces, and it comprises the following step:
(1) provides an editing system, it comprises application programming interfaces, an edit cell and a processing unit, application programming interfaces comprise a graphic interface, a controlling object table and an attribute list, and the controlling object table has at least one controlling object, and attribute list has at least one attribute field;
(2) choose a Drawing Object or controlling object to graphic interface with edit cell;
(3) set an attribute setting value in attribute field with edit cell;
(4) receive the attribute setting value and produce a handle with processing unit;
(5) control Drawing Object or the controlling object that is positioned on the graphic interface according to handle.
For purpose of the present invention, structural attitude and function thereof are had further understanding, conjunction with figs. is described in detail as follows now:
[description of drawings]
Fig. 1 illustrates the synoptic diagram of the editing system of existing application interface.
Fig. 2 illustrates the synoptic diagram of the editing system of application programming interfaces of the present invention.
The picture figure of the editing system that Fig. 3 illustrates application programming interfaces of the present invention before beginning to edit.
Fig. 4 illustrates the picture figure of editing system when editing of application programming interfaces of the present invention.
Fig. 5 illustrates the picture figure of editing system after finishing editor of application programming interfaces of the present invention.
Fig. 6 illustrates the process flow diagram of the edit methods of application programming interfaces of the present invention.
[embodiment]
See also Fig. 2, it is the synoptic diagram of the editing system of application programming interfaces of the present invention.
Among the figure, the editing system 2 of these application programming interfaces mainly comprises: application programming interfaces 21, an edit cell 22 and a processing unit 23 also can increase by a storage element 24.Wherein, application programming interfaces 21 comprise a graphic interface 211, a controlling object table 212 and an attribute list 213, and controlling object table 212 has at least one controlling object 2121, and attribute list 213 has at least one attribute field 2131.Once more, edit cell 22 connects application programming interfaces 21, and choosing a Drawing Object 241 or controlling object 2121 to graphic interface 211, and edit cell 22 is set an attribute setting value 2132 in attribute field 2131.In addition, processing unit 23 connects application programming interfaces 21 and edit cell 22, produces a handle 231 to receive attribute setting value 2132, and controls Drawing Object 241 or the controlling object 2121 that is positioned on the graphic interface 211 according to handle 231.In addition, storage element 24 is in order to storage Drawing Object 241, and Drawing Object 241 is preferably a figure or a map file.
Say that more particularly above-mentioned application programming interfaces 21 are preferably the routine interface of an extend markup language (XML).Graphic interface 211 is preferably interface tool collection (Widget) interface.Controlling object 2121 is preferably a control, and control comprise a button (Button) control, a radio button (Radio Button) control, a rectangular block (Rectangle) control, a character string (String) control, tabulation (List) control, one compound (Combo) control, a scroll bar (Slider) control, editor's (Edit) control, a background (Background) control and interface tool collection (Widget) control one of them.And attribute setting value 2132 be preferably a title, an identification code, a position, a size, a font, a thickness, an italic, an alignment mode, a style (Style), a side-play amount (Offset) and a display mode one of them.Handle 231 is preferably a program code in addition.
See also Fig. 3 to Fig. 5, at first, the picture figure of the editing system that Fig. 3 illustrates application programming interfaces of the present invention before beginning to edit.The editing system of these application programming interfaces comprises: application programming interfaces 31, an edit cell, a processing unit and a storage element (not showing above-mentioned three unit among the figure).Wherein, application programming interfaces 31 comprise a graphic interface 311, a controlling object table 312 and an attribute list 313, and application programming interfaces 31 are the routine interface of an extend markup language (XML).Graphic interface 311 is interface tool collection (Widget) interface.Controlling object table 312 has a button (Button) control, a radio button (RadioButton) control, a rectangular block (Rectangle) control, a character string (String) control, tabulation (List) control, one compound (Combo) control, a scroll bar (Slider) control, editor (Edit) control, a background (Background) control and interface tool collection (Widget) control.And the attribute field 3131 of attribute list 313 is in order to set attribute setting value 3132, for example: title (Name), identification code (ID), position (Left/Top), size (Width/Height), alignment thereof (Sync type), style (Style) ... Deng.At least one Drawing Object of storage unit stores in addition.
Once more, Fig. 4 illustrates the picture figure of editing system when editing of application programming interfaces of the present invention.When editing, edit cell is chosen at least one Drawing Object from storage element, or choose at least one controlling object to graphic interface 311 from controlling object table 312, and edit cell is set attribute setting value 3132 in each attribute field 3131, convert attribute setting value 3132 to handle by processing unit again, and control Drawing Object or the controlling object that is positioned on the graphic interface 311 according to handle.For instance, edit cell is chosen a character string control 322 from controlling object table 312, and the attribute setting value 3132 of setting character string control 322 is in attribute field 3131, for example: title (Name) is that " Text 1 ", identification code (ID) are " Multi-Line " for " 47 ", size (Width) for " 100 ", style (Style) for " 0 ", position (Left) ... Deng, press execution " Apply " again, attribute setting value 3132 is sent in the processing unit.And processing unit is converted to handle with attribute setting value 3132 after receiving attribute setting value 3132, and adjusts title, position, size, the style of character string control 322 with handle ... Deng.Similarly, edit cell also can be chosen Drawing Object 321 to graphic interface 311 from storage element, and set attribute setting value 3132 in attribute field 3131, press execution " Apply " again, attribute setting value 3132 is sent in the processing unit, by processing unit converting attribute setting value 3132 is handle, and with handle control Drawing Object 321.
At last, Fig. 5 illustrates the picture figure of editing system after finishing editor of application programming interfaces of the present invention.Among the figure, graphic interface 311 can be made as one or more, and shows a Drawing Object 321, a Drawing Object 331, a single file character string control 332, a multirow character string control 333 and a button control 334.And the attribute field 3131 of attribute list 313 shows the attribute setting value 3132 of single file character string control 332.
See also Fig. 6, it illustrates the process flow diagram of the edit methods of application programming interfaces of the present invention.Among the figure, the synoptic diagram of the editing system of the application programming interfaces that this method is corresponding shown in Figure 2, and comprise the following step:
Step S41 a: editing system 2 is provided, it comprises application programming interfaces 21, one edit cell 22 and a processing unit 23, also can increase by a storage element 24, these application programming interfaces 21 comprise a graphic interface 211, an one controlling object table 212 and an attribute list 213, and controlling object table 212 has at least one controlling object 2121, attribute list 213 has at least one attribute field 2131, application programming interfaces 21 are preferably the routine interface of an extend markup language (XML), and graphic interface 211 is preferably interface tool collection (Widget) interface, controlling object 2121 is preferably a control in addition, and control comprises a button control, one radio button control, one rectangular block control, one character string control, one list control, one composite control, one scroll bar control, one edit control, an one background control and interface tool collection (Widget) control one of them;
Step S42: choose a Drawing Object 241 or controlling object 2121 to graphic interface 211 with edit cell 22.This Drawing Object 241 is preferably a figure or a map file, and is stored in usually in the storage element 24;
Step S43: set an attribute setting value 2132 in attribute field 2131 with edit cell 22.This attribute setting value 2132 be preferably a title, an identification code, a position, a size, a font, a thickness, an italic, an alignment mode, a style, a side-play amount and a display mode one of them;
Step S44: receive attribute setting value 2132 and produce a handle 231 with processing unit 23.This handle 231 is preferably a program code;
Step S45: 231 controls are positioned at Drawing Object 241 or the controlling object 2121 on the graphic interface 241 according to handle.

Claims (14)

1, a kind of editing system of application programming interfaces is characterized in that, it comprises:
One application programming interfaces, it comprises a graphic interface, a controlling object table and an attribute list, and this controlling object table has at least one controlling object, and this attribute list has at least one attribute field;
One edit cell, it connects this application programming interfaces, and choosing a Drawing Object or this controlling object to this graphic interface, and this edit cell is set an attribute setting value in this attribute field;
One processing unit, it connects these application programming interfaces and this edit cell, produces a handle to receive this attribute setting value, and controls Drawing Object or the controlling object that is positioned on this graphic interface according to this handle.
2, editing system as claimed in claim 1 is characterized in that, this editing system also comprises a storage element, and this storage element is in order to store this Drawing Object.
3, editing system as claimed in claim 1 is characterized in that, these application programming interfaces also comprise the routine interface of an extend markup language.
4, editing system as claimed in claim 1 is characterized in that, this graphic interface also comprises an interface tool collection interface.
5, editing system as claimed in claim 1 is characterized in that, this controlling object also comprises a control.
6, editing system as claimed in claim 5, it is characterized in that, this control also comprise a button control, a radio button control, a rectangular block control, a character string control, a list control, a composite control, a scroll bar control, an edit control, a background control and an interface tool collection control one of them.
7, editing system as claimed in claim 1, it is characterized in that, this attribute setting value also comprise a title, an identification code, a position, a size, a font, a thickness, an italic, an alignment mode, a style, a side-play amount and a display mode one of them.
8, a kind of edit methods of application programming interfaces, this edit methods is characterized in that based on above-mentioned editing system it comprises the following step:
(1) provides an editing system, it comprises application programming interfaces, an edit cell and a processing unit, these application programming interfaces comprise a graphic interface, a controlling object table and an attribute list, and this controlling object table has at least one controlling object, and this attribute list has at least one attribute field;
(2) choose a Drawing Object or this controlling object to this graphic interface with this edit cell;
(3) set an attribute setting value in this attribute field with this edit cell;
(4) receive this attribute setting value and produce a handle with this processing unit;
(5) control Drawing Object or the controlling object that is positioned on this graphic interface according to this handle.
9, edit methods as claimed in claim 8 is characterized in that, this editing system also comprises a storage element, and this storage element is in order to store this Drawing Object.
10, edit methods as claimed in claim 8 is characterized in that, these application programming interfaces also comprise the routine interface of an extend markup language.
11, edit methods as claimed in claim 8 is characterized in that, this graphic interface also comprises an interface tool collection interface.
12, edit methods as claimed in claim 8 is characterized in that, this controlling object also comprises a control.
13, edit methods as claimed in claim 12, it is characterized in that, this control also comprise a button control, a radio button control, a rectangular block control, a character string control, a list control, a composite control, a scroll bar control, an edit control, a background control and an interface tool collection control one of them.
14, edit methods as claimed in claim 12, it is characterized in that, this attribute setting value also comprise a title, an identification code, a position, a size, a font, a thickness, an italic, an alignment mode, a style, a side-play amount and a display mode one of them.
CNA2008100368516A 2008-04-29 2008-04-29 Editing system of application program interface and method thereof Pending CN101571799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100368516A CN101571799A (en) 2008-04-29 2008-04-29 Editing system of application program interface and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100368516A CN101571799A (en) 2008-04-29 2008-04-29 Editing system of application program interface and method thereof

Publications (1)

Publication Number Publication Date
CN101571799A true CN101571799A (en) 2009-11-04

Family

ID=41231162

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100368516A Pending CN101571799A (en) 2008-04-29 2008-04-29 Editing system of application program interface and method thereof

Country Status (1)

Country Link
CN (1) CN101571799A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306104A (en) * 2011-08-26 2012-01-04 深圳市万兴软件有限公司 Method and device for automatically updating application program
CN102591685A (en) * 2011-12-30 2012-07-18 深圳市万兴软件有限公司 Method and device for implementation of automatic online updating of application program
CN103136776A (en) * 2011-11-28 2013-06-05 航天信息股份有限公司 Invoice face value dynamic allocation method
CN106066793A (en) * 2016-05-27 2016-11-02 努比亚技术有限公司 Markup language generating means and method
CN106649247A (en) * 2015-11-04 2017-05-10 程祺互动资讯有限公司 Text-and-image editing system and operation method thereof
CN107132975A (en) * 2017-05-26 2017-09-05 努比亚技术有限公司 A kind of control editing and processing method, mobile terminal and computer-readable recording medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306104A (en) * 2011-08-26 2012-01-04 深圳市万兴软件有限公司 Method and device for automatically updating application program
CN103136776A (en) * 2011-11-28 2013-06-05 航天信息股份有限公司 Invoice face value dynamic allocation method
CN102591685A (en) * 2011-12-30 2012-07-18 深圳市万兴软件有限公司 Method and device for implementation of automatic online updating of application program
CN102591685B (en) * 2011-12-30 2014-12-24 深圳万兴信息科技股份有限公司 Method and device for implementation of automatic online updating of application program
CN106649247A (en) * 2015-11-04 2017-05-10 程祺互动资讯有限公司 Text-and-image editing system and operation method thereof
CN106066793A (en) * 2016-05-27 2016-11-02 努比亚技术有限公司 Markup language generating means and method
CN106066793B (en) * 2016-05-27 2019-07-26 努比亚技术有限公司 Markup language generating means and method
CN107132975A (en) * 2017-05-26 2017-09-05 努比亚技术有限公司 A kind of control editing and processing method, mobile terminal and computer-readable recording medium

Similar Documents

Publication Publication Date Title
Teitelman A tour through Cedar
US8176417B2 (en) Constructing and maintaining web sites
US5694610A (en) Method and system for editing and formatting data in a dialog window
CN101571799A (en) Editing system of application program interface and method thereof
CN102339275B (en) Comment processing method and device for electronic book
US8849869B2 (en) System and method for editing an item list in electronic content
CN105404512B (en) A kind of application window interface change method and device
CN103631964A (en) PDF (Portable document format)-embedded hypertext markup language (HTML) file shuffling method
CN101436271A (en) Method and apparatus for setting automatic remind
US20200042588A1 (en) User Interface Tools and Methods Facilitating Data Transformations and Coding
CN102141985A (en) Online manuscript editor
CN103116503A (en) Implement method and implement device of multiple windows
CN1987772A (en) General interface design interface system and interface developing method using said system
JPH01172997A (en) Graphic customization of memu display
CN103488484A (en) Software implementation method and system for online editor
CN105468573A (en) Configurable diagram application system
CN102567025A (en) QT-based two-dimensional/three-dimensional (2D/3D) graph drawing method and device
CN105447899B (en) The generation method and device of copybook
CN111459599A (en) Material list editing method, device, equipment and storage medium
CN106779582A (en) A kind of TWS flows collocation method and device
CN110457036A (en) A kind of property setting method of QML extension control
CN104182427A (en) Electronic document production system and electronic document production method thereof
CN104572593A (en) Method, system and electronic device for processing letters
US20020196266A1 (en) Progressively rolling animation display method on cellular phones
WO2010017525A1 (en) System and method for designing and generating online stationery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20091104