CN102110143A - Assembly facing various controls in desktop application program - Google Patents
Assembly facing various controls in desktop application program Download PDFInfo
- Publication number
- CN102110143A CN102110143A CN2011100348800A CN201110034880A CN102110143A CN 102110143 A CN102110143 A CN 102110143A CN 2011100348800 A CN2011100348800 A CN 2011100348800A CN 201110034880 A CN201110034880 A CN 201110034880A CN 102110143 A CN102110143 A CN 102110143A
- Authority
- CN
- China
- Prior art keywords
- behavior
- xml
- control
- definition
- assembly
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 6
- 230000006399 behavior Effects 0.000 claims description 46
- 230000001747 exhibiting effect Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 12
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000379 polymerizing effect Effects 0.000 description 1
Images
Abstract
The invention discloses an extensive markup language (XML)-based method for dynamically increasing behavior revelation on form controls, and belongs to the technical field of software. The structure consists of a behavior revelation definition program and an XML result file, and a description document of an XML format is formed through the behavior revelation definition program. Compared with the prior art, the XML-based dynamic behavior revelation method has the characteristics of high information amount, good flexibility and the like, is easy in resolution and expansion, can be widely applied in service management software, and has good popularization and application value.
Description
Technical field
The present invention relates to a kind of Computer Applied Technology field, particularly be meant by a kind of component assembly various actions incident, make the function ways of presentation easier, abundant, and solved that some behavior incident is difficult to represent a kind of in the multipad assembly of various controls.
Background technology
In traditional software product, generally all be to trigger certain behavior incident by menu or special operational.But, under some particular case, rely on menu or special operational can't or to be difficult to satisfy the demands merely.Such as by using menu to represent the behavior incident, when control behavior incident is too much, can cause the menu complexity, reduce user satisfaction, and can simplify menu bar, and provide a kind of mode more efficiently to represent incident by this assembly; Simultaneously, solved certain special operational and taken by other behavior incidents, new behavior incident represents the problem of difficulty.
Summary of the invention
The purpose of this invention is to provide a kind of in the multipad assembly of various controls.
The objective of the invention is to realize in the following manner, content comprises:
1) shows the essential information of this class component based on XML; According to the configuration among the XML, dispose exhibiting pictures, help information, ways of presentation, the behavior trigger condition of this assembly;
2) assembly comprises by the behavior that the XML configuration represents other controls:
(1) disposes the behavior of showing which control by XML;
(2) which behavior by XML configuration displaying control;
(3) dispose each behavior by XML and trigger parameters needed; By the database configuration table, as seen which behavior comes has in the mark function;
3) the configurable behavior by control in the data-base recording function.
Program structure is divided into four parts:
1) definition: this behavior represents control and depends on inner certain control of list, so will define based on certain form controls, at first define one " available behavior set ", is used for storing representing behavior; By " definition wizard " several behaviors in the behavior set are defined on certain control then, in this process, have defined other attributes simultaneously, comprise exhibiting pictures, represent condition, definition information is stored with structurized XML;
2) resolve:, the structuring XML of the generation in the definition is resolved by resolver;
3) template: by 2 resolve finish after, be reflected to above the standard form, form self-defined template;
4) represent: the template that is mapped to according to XML is loaded on the form controls.
Function that has and beneficial effect: by this assembly, on original traditional basis, expanded the behavior ways of presentation, broken through the mode confinement that triggers by special operational or menu by this new ways of presentation; Simultaneously, can reach the rapid triggering incident, improve ease for use common function by this function demonstration.
Description of drawings
Fig. 1 is a process flow diagram;
Embodiment
With reference to Figure of description to explaining below the work of the present invention.
The using method of assembly of the present invention and function:
1, for the solution behavior represents problem, the present invention proposes 2 behaviors and represents object: button and single file edit box.
Button triggers the behavior of appointment by himself clicked incident; The single file edit box triggers the behavior of appointment by himself editchanged incident.These two Event triggered objects comprise following attribute:
Attribute | Attribute specification |
is_event | The behavior incident title that triggers |
ipo_obj | Object under the behavior that is triggered |
is_parm | The behavior desired parameters |
picturename | If trigger the picture name that button represents by button |
tooltiptext | Help content |
2, to concentrate the problem depend on control inside in order solving according to a plurality of behaviors, to have invented object carrying masterplate, this masterplate can load two kinds of incidents carrying objects in above 1 successively according to definition of order, and this object is just like lower interface:
Of_addfun (): the carrying object of registration button type;
Of_of_addfun_sle (): the carrying object of registration single file edit box type;
Of_recordlayout (): memory is when the layout information of front assembly;
Of_setrequestor (): the service object is set;
Uf_setexpanded (): expansion and contraction state that assembly is set;
3, by the details of the function polymerizing component on certain control of XML grammer segment record, record syntax is as follows
Each element explanation is listed as follows:
4, by the real table of database, dispose in certain function, have which behavior on which control to use for configuration.List structure is as follows:
Which the control behavior that information set PPGNINTERFACE is used for can being defined on the appointed function has, and structure is as follows:
Field name | Field type | Explanation |
?PPGNINTERFACE_GNBH | Varchar(10) | The function numbering |
?PPGNINTERFACE_ZJBH | Varchar(50) | The control numbering |
?PPGNINTERFACE_EVENTID | Char(4) | The behavior numbering |
?PPGNINTERFACE_EVENTNAME | Varchar(60) | The behavior title |
?PPGNINTERFACE_CODE | Varchar(60) | The behavior coding |
?PPGNINTERFACE_FGF | Varchar(10) | Argumnent separator |
?PPGNINTERFACE_NOTE | Varchar(255) | Explanation |
Information set PPGNINTERFACECS is used for the parameter that the appointment behavior carry out to need, and structure is as follows:
Field name | Field type | Explanation |
?PPGNINTERFACECS_GNBH | Varchar(10) | The function numbering |
?PPGNINTERFACECS_ZJBH | Varchar(50) | The assembly numbering |
?PPGNINTERFACECS_EVENTID | Char(4) | The behavior numbering |
?PPGNINTERFACECS_CSBH | Char(4) | The parameter numbering |
?PPGNINTERFACECS_CSMC | Varchar(50) | Parameter name |
?PPGNINTERFACECS_CSLX | Varchar(20) | Parameter type |
Embodiment
The present invention has been successfully applied to the GSP-PS platform in the tide ERP product, has a plurality of users to realize fast representing of control actions by this assembly, has improved development efficiency and product customer satisfaction, has obtained satisfied effect.
Claims (1)
1. the assembly of various controls in the multipad is characterized in that content comprises:
1) shows the essential information of this class component based on XML; According to the configuration among the XML, dispose exhibiting pictures, help information, ways of presentation, the behavior trigger condition of this assembly;
2) assembly comprises by the behavior that the XML configuration represents other controls:
(1) disposes the behavior of showing which control by XML;
(2) which behavior by XML configuration displaying control;
(3) dispose each behavior by XML and trigger parameters needed; By the database configuration table, as seen which behavior comes has in the mark function;
3) the configurable behavior by control in the data-base recording function.
Program structure is divided into four parts:
1) definition: this behavior represents control and depends on inner certain control of list, so will define based on certain form controls, at first define one " available behavior set ", is used for storing representing behavior; By " definition wizard " several behaviors in the behavior set are defined on certain control then, in this process, have defined other attributes simultaneously, comprise exhibiting pictures, represent condition, definition information is stored with structurized XML;
2) resolve:, the structuring XML of the generation in the definition is resolved by resolver;
3) template: by 2 resolve finish after, be reflected to above the standard form, form self-defined template;
4) represent: the template that is mapped to according to XML is loaded on the form controls.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100348800A CN102110143A (en) | 2011-02-09 | 2011-02-09 | Assembly facing various controls in desktop application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100348800A CN102110143A (en) | 2011-02-09 | 2011-02-09 | Assembly facing various controls in desktop application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102110143A true CN102110143A (en) | 2011-06-29 |
Family
ID=44174304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100348800A Pending CN102110143A (en) | 2011-02-09 | 2011-02-09 | Assembly facing various controls in desktop application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102110143A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103353836A (en) * | 2013-04-01 | 2013-10-16 | 深圳市东微智能科技有限公司 | Method for realizing functions of programmable reusable control |
CN103777844A (en) * | 2014-02-12 | 2014-05-07 | 国家电网公司 | Method for navigation management of custom desktop in interactive multimedia system |
CN104809534A (en) * | 2014-01-24 | 2015-07-29 | 北京理工大学 | Business process management system |
CN107844349A (en) * | 2017-10-19 | 2018-03-27 | 上海斐讯数据通信技术有限公司 | A kind of control method and device based on user interface |
-
2011
- 2011-02-09 CN CN2011100348800A patent/CN102110143A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103353836A (en) * | 2013-04-01 | 2013-10-16 | 深圳市东微智能科技有限公司 | Method for realizing functions of programmable reusable control |
CN103353836B (en) * | 2013-04-01 | 2016-12-28 | 深圳市东微智能科技股份有限公司 | A kind of function realizing method of programmable reusable control |
CN104809534A (en) * | 2014-01-24 | 2015-07-29 | 北京理工大学 | Business process management system |
CN103777844A (en) * | 2014-02-12 | 2014-05-07 | 国家电网公司 | Method for navigation management of custom desktop in interactive multimedia system |
CN103777844B (en) * | 2014-02-12 | 2017-06-06 | 国家电网公司 | Self-defined desktop navigation management method in interactive multimedia system |
CN107844349A (en) * | 2017-10-19 | 2018-03-27 | 上海斐讯数据通信技术有限公司 | A kind of control method and device based on user interface |
CN107844349B (en) * | 2017-10-19 | 2021-06-04 | 台州市吉吉知识产权运营有限公司 | Control method and device based on user interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104036040B (en) | Report form generation method and device | |
CN107766042A (en) | A kind of visual data manager and device of the model file based on CSAR | |
CN102541541A (en) | Interface generation method and device | |
CN103092589A (en) | SSH (Struts, Spring and Hibernate) frame based code automatic generation method | |
CN102736915A (en) | Automatic program generation device, method, and computer program | |
CN102650995A (en) | Multi-dimensional data analyzing model generating system and method | |
CN101146281A (en) | A GUI creation model for mobile terminal | |
CN105653755B (en) | A kind of auto navigation interface instrument based on the exploitation of SGE shape library | |
CN103116500A (en) | Method and device for structural body definition and structure output | |
CN102110143A (en) | Assembly facing various controls in desktop application program | |
CN102156640A (en) | Method for generating data operation code | |
Sikos | A novel ontology for 3D semantics: ontology-based 3D model indexing and content-based video retrieval applied to the medical domain | |
Stemasov et al. | The road to ubiquitous personal fabrication: Modeling-free instead of increasingly simple | |
CN101620528A (en) | Method for structuring workflow system based on XPDL | |
Yang et al. | Development and optimization of CAD system based on big data technology | |
CN105468345B (en) | Method for realizing remote change of mobile phone terminal visit operation in quick-elimination system | |
CN111367514B (en) | Page card development method and device, computing device and storage medium | |
CN111694563B (en) | Visual design system and method for user interface mode | |
CN108984156A (en) | A kind of software auto generating method and system for exempting from code development based on template | |
CN111368353B (en) | CAD drawing die turning method, system, device and storage medium | |
CN103544338B (en) | A kind of technique information modeling method assembling instruction issue towards three-dimensional | |
CN102411498A (en) | Method for realizing data model and graphical designer | |
CN101540118A (en) | Method for training dynamic emulational assembly of composite member | |
Liu et al. | A convenient part library based on SolidWorks platform | |
Haiqing et al. | Research on the collaborative virtual products development based on Web and X3D |
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 |
Application publication date: 20110629 |