CN102566993B - Method and device for editing interface - Google Patents

Method and device for editing interface Download PDF

Info

Publication number
CN102566993B
CN102566993B CN201010594583.7A CN201010594583A CN102566993B CN 102566993 B CN102566993 B CN 102566993B CN 201010594583 A CN201010594583 A CN 201010594583A CN 102566993 B CN102566993 B CN 102566993B
Authority
CN
China
Prior art keywords
code
file
resolution
project
engineering
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.)
Active
Application number
CN201010594583.7A
Other languages
Chinese (zh)
Other versions
CN102566993A (en
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.)
Beijing North Microelectronics Co Ltd
Original Assignee
Beijing North Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing North Microelectronics Co Ltd filed Critical Beijing North Microelectronics Co Ltd
Priority to CN201010594583.7A priority Critical patent/CN102566993B/en
Publication of CN102566993A publication Critical patent/CN102566993A/en
Application granted granted Critical
Publication of CN102566993B publication Critical patent/CN102566993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method and a device for editing an interface so as to solve the problem that the existing method maintains multiple sets of codes and cannot guarantee the unity of the multiple sets of codes. According to the method of the invention, in one set of engineering codes, user interface (UI) codes of different resolution versions are independently designed, while other codes (such as the code realized in the method) are multiplexed, conditional compilation symbols are added in a UI code design part, and different conditional compilation symbols can activate the UI codes of different resolution versions, thus, multiple UI code resolution versions can be simultaneously maintained under the same engineering code. If the codes in any one of the versions are changed, besides the UI code part, other codes are all multiplexed, so that only the code related to the UI code part in the other resolution versions needs to be modified, work load of software workers is saved greatly, the problem of inconformity of various versions is avoided, and the software workers also can directly edit the interface for each resolution version in a UI code editor.

Description

Interface editing method and device
Technical field
The present invention relates to UI (User Interface, user interface) technology, particularly relate to a kind of interface editing method and device.
Background technology
In software development process, according to the difference of customer requirement, a set of software need to use on the display of different resolution, and the UI code of a set of software need to adapt to the demonstration of multiple resolution.For example, at the industry-wide APC of semiconductor machining (Advanced Process Control, advanced technologies control) software, can control various semiconductor processing equipments, but due to the design requirement difference of various semiconductor processing equipments, APC software need to be used on the display of different resolution different semiconductor processing equipments is controlled.
Can adapt to the demonstration requirement of multiple resolution for meeting software interface, adopt at present the method to the different engineerings of the many covers of a set of software program editing and maintaining.With reference to Fig. 1 a and 1b, it is the schematic diagram of the corresponding multiple engineerings of a set of software program.Suppose that the UI code of a set of software need to be applicable to the demonstration of Resolutions, peopleware has edited two engineerings as shown in Fig. 1 a and 1b, is respectively engineering release 1 and engineering release 2; Each engineering comprises three sub-projects, is respectively sub-project 1, sub-project 2 and sub-project 3, and wherein sub-project 1 does not comprise UI code section, and sub-project 2 and sub-project 3 comprise UI code section.In addition, three sub-projects all comprise method and realize part (method of not shown sub-project 1 realizes part), for the sub-project that comprises UI code section, the method of these sub-projects realizes the method realization that part had both comprised UI code, also comprises the additive method realization except UI code.
Most of code of above-mentioned engineering release 1 and engineering release 2 is identical, just in engineering release 1, the UI code section of sub-project 2 is different from the UI code section of sub-project 2 in engineering release 2, and in engineering release 1, the UI code section of sub-project 3 is different from the UI code section of sub-project 3 in engineering release 2.Therefore, separate, non-interference between these two engineerings, not multiplexing code.
The above-mentioned this method to the different engineering codes of the many covers of a set of software program editing and maintaining, in the time of each refresh routine, need to all upgrade the engineering code of all versions, even if upgrade the sub-project 1 without UI code section in Fig. 1 a and 1b, due to separate between engineering, need to edit respectively equally the engineering of two cover different editions.Therefore, more when engineering release, or change when frequent, can cause peopleware to omit some version wherein, cause the code difference between each engineering release, and debugging also can expend a large amount of time afterwards, cannot ensure the unitarity between each cover code.
Summary of the invention
The invention provides a kind of interface editing method and device, safeguard that to solve existing method many cover codes cannot ensure the problem of the unitarity between each cover code.
In order to address the above problem, the invention discloses a kind of interface editing method, comprising:
Corresponding engineering creates project file, and at least one sub-project that corresponding described engineering comprises creates at least one item file under this project file;
For the sub-project that needs to carry out multiresolution interface editing in described engineering, corresponding different resolution copies described project file and corresponding item file respectively, obtains each project file and the item file of corresponding different resolution;
In the item attribute of projects file, add respectively the conditional compilation symbol of corresponding different resolution, and in each window design device, adding the user interface code of corresponding all conditions compiling symbol, each conditional compilation symbol is for activating each window design device to user interface code that should conditional compilation symbol;
While carrying out the interface editing of a certain resolution, select the project file corresponding with this resolution, activate corresponding user interface code by editor's this project file.
Preferably, in the item attribute of projects file, after adding respectively the conditional compilation symbol of corresponding different resolution, also comprise: the output directory of change projects file.
Preferably, in each window design device, each user interface code of corresponding different condition compiling symbol adopts the resolution setting of giving tacit consent to; After activating corresponding user interface code by editor's this project file, also comprise: by revise the resolution setting of described acquiescence in this project file, revise corresponding user interface code.
Wherein, each project file of described corresponding different resolution is mapped to same engineering code, and projects file of described corresponding different resolution is mapped to respectively different user interface code in same engineering code.
The present invention also provides a kind of interface editing device, comprising:
Engineering creation module, create project file, and at least one sub-project that corresponding described engineering comprises creates at least one item file under this project file for corresponding engineering;
Many versions arrange module, for need to carry out the sub-project of multiresolution interface editing for described engineering, corresponding different resolution copies described project file and corresponding item file respectively, obtains each project file and the item file of corresponding different resolution;
Attributes edit module, for the item attribute at projects file, adds respectively the conditional compilation symbol of corresponding different resolution;
Code adds module, and for add the user interface code of corresponding all conditions compiling symbol at each window design device, each conditional compilation symbol is for activating each window design device to user interface code that should conditional compilation symbol;
Interface editing module, when carrying out the interface editing of a certain resolution, selects the project file corresponding with this resolution, activates corresponding user interface code by editor's this project file.
Preferably, described device also comprises: project output module, and for add respectively the conditional compilation symbol of corresponding different resolution in attributes edit module after, the output directory of change projects file.
Preferably, in each window design device, each user interface code of corresponding different condition compiling symbol adopts the resolution setting of giving tacit consent to; Described interface editing module, also for by the resolution setting of revising described acquiescence at this project file, is revised corresponding user interface code.
Wherein, each project file of described corresponding different resolution is mapped to same engineering code, and projects file of described corresponding different resolution is mapped to respectively different user interface code in same engineering code.
The present invention also provides a kind of semiconductor machining system, comprises semiconductor processing equipment and semiconductor control system, and described semiconductor control system comprises above-mentioned interface editing device.
Compared with prior art, the present invention has the following advantages:
The present invention is in a set of engineering code, by the UI code independent design of different resolution version, and by multiplexing all the other codes (as method realizes), and at UI Code Design part adding conditional compiling symbol, compile symbol by different condition and can activate the UI code of different resolution version, under same engineering code, safeguard multiple UI code resolution version thereby realized simultaneously.If change the code in any version, owing to removing, other codes of UI code section are all multiplexing, therefore only need to relate in other resolution version of amendment the code of UI code section, greatly save peopleware's workload, avoided the inconsistent problem of each version, and peopleware can also directly carry out interface editing to each resolution version in UI code editor.
Brief description of the drawings
Fig. 1 a and 1b are the schematic diagram of the corresponding multiple engineerings of a set of software program in prior art;
Fig. 2 is the schematic diagram of the corresponding engineering of a set of software program in the embodiment of the present invention;
Fig. 3 is the process flow diagram of a kind of interface editing method described in the embodiment of the present invention;
Fig. 4 is the structural drawing of a kind of interface editing device described in the embodiment of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The present invention is in a set of engineering code, by the UI code independent design of different resolution version, and by multiplexing all the other codes (as method realizes), and at UI Code Design part adding conditional compiling symbol, compile symbol by different condition and can activate the UI code of different resolution version, under same engineering code, safeguard multiple UI code resolution version thereby realized simultaneously.
Be elaborated below by embodiment.
With reference to Fig. 2, it is the schematic diagram of the corresponding engineering of a set of software program in the embodiment of the present invention.
Suppose that the UI code of a set of software need to be applicable to the demonstration of three kinds of resolution, peopleware has edited an engineering as shown in Figure 2, the logical organization of this project is: this project comprises three sub-projects, be respectively sub-project 1, sub-project 2 and sub-project 3, wherein sub-project 1 does not comprise UI code section, and sub-project 2 and sub-project 3 all comprise UI code section.In addition, three sub-projects all comprise method and realize part, but not shown in the sub-project 1 of Fig. 2.
In order to be applicable to multi-resolution display, described engineering multiplexing method in sub-project 2 and sub-project 3 realizes the code of part, and has designed separately the UI code of three resolution version, is respectively UI code release 1, UI code release 2 and UI code release 3.Be in sub-project 2, the UI code that comprises three resolution version and a multiplexing method code; In sub-project 3, also comprise the UI code of three resolution version and a multiplexing method code.In the time that this software need to use on the display with first resolution, can activate the UI code of UI code release 1 under each sub-project and multiplexing method code; In the time that this software need to use on the display with second resolution, can activate again the UI code of UI code release 2 under each sub-project and multiplexing method code; Equally, in the time using on the display with the 3rd resolution, also can activate the UI code of UI code release 3 under each sub-project and multiplexing method code.
As from the foregoing, a set of software program can design the UI code of multiple resolution version in an engineering, and the UI code of each version is separate, and only activates the UI code of one of them version use this software on the display of different resolution time.
Describe how in an engineering, to design the UI code of multiple resolution version in detail below by the flow process of Fig. 3, and how to realize multiplexing to method code.
With reference to Fig. 3, it is the process flow diagram of a kind of interface editing method described in the embodiment of the present invention.Still taking the engineering shown in Fig. 2 as example:
Step 301, corresponding engineering creates project file, and at least one sub-project that corresponding described engineering comprises creates at least one item file under this project file;
Figure 2 shows that an engineering, this project comprises three sub-projects, and therefore corresponding this project should create a project file, and under this project file, creates three item files.Project file, conventionally taking .sln as extension name, is supposed the project file called after v1.sln that Fig. 2 creates; Item file is thought .csproj extension name conventionally, supposes three item files called after Project1v1.csproj, Project2v1.cspro and Project3v1.cspro respectively that Fig. 2 creates.
Step 302, for the sub-project that needs to carry out multiresolution interface editing in described engineering, corresponding different resolution copies described project file and corresponding item file respectively, obtains each project file and the item file of corresponding different resolution;
In Fig. 2, the sub-project that need to carry out three kinds of resolution interface editings is sub-project 2 and sub-project 3, the project file v1.sln and the item file Project2v1.cspro that create due to step 301, Project3v1.cspro can corresponding first resolution, therefore corresponding Resolutions in addition also needs project file v1.sln and item file Project2v1.cspro, Project3v1.cspro copies twice, and name respectively, obtain project file v2.sln and the item file Project2v2.cspro of corresponding second resolution, Project3v2.cspro, and project file v3.sln and the item file Project2v3.cspro of corresponding the 3rd resolution, Project3v3.cspro.
For duplicated two project files, although project file title is changed, under it, still retaining the item file before copying, therefore need the item file before copying to remove, and the item file after copying is added.For example, for the project file v2.sln after copying, open v2.sln, from v2.sln, remove item file Project2v1.cspro and Project3v1.cspro before copying, add item file Project2v2.cspro and Project3v2.cspro after copying.Equally, for the project file v3.sln after copying, open v3.sln, from v3.sln, remove item file Project2v1.cspro and Project3v1.cspro before copying, add item file Project2v3.cspro and Project3v3.cspro after copying.
Because sub-project 1 does not comprise UI code section, the all codes that are sub-project 1 can be multiplexing, therefore item file Project1v1.csproj does not need to copy, be the sln Project1v1.csproj that still retains sub-project 1 in the project file v2. of corresponding second resolution, in the project file v3.sln of corresponding the 3rd resolution, also still retain the Project1v1.csproj of sub-project 1.
By above processing, obtain altogether three project file v1.sln, v2.sln and v3.sln, under each project file, comprise the item file of different names.It should be noted that, each project file of described corresponding different resolution is mapped to same engineering code, and projects file of described corresponding different resolution is mapped to respectively UI codes different in same engineering code.That is: the engineering code of software program only has a set of, described project file v1.sln, v2.sln and v3.sln are mapped to this set of engineering code, overlap UI codes and comprised in this cover engineering code for three of three kinds of resolution, all the other codes in engineering code except UI code section are multiplexing under three kinds of resolution, therefore three of described corresponding sub-project 2 item file Project2v1.cspro, UI code release 1 under Project2v2.cspro and the corresponding sub-project 2 of Project2v3.cspro difference, UI code release 2 and UI code release 3, three item file Project3v1.cspro of described corresponding sub-project 3, UI code release 1 under Project3v2.cspro and the corresponding sub-project 3 of Project3v3.cspro difference, UI code release 2 and UI code release 3.
Step 303, in the item attribute of projects file, add respectively the conditional compilation symbol of corresponding different resolution, and in each window design device, adding the UI code of corresponding all conditions compiling symbol, each conditional compilation symbol is for activating each window design device to UI code that should conditional compilation symbol;
For example, for three item files under sub-project 2, edit respectively the item attribute of projects file, described edit item attribute refers to adding conditional compiling symbol in item attribute.The effect of conditional compilation symbol is that the corresponding UI code that can meet certain condition activates, and shields all the other and do not meet the UI code of this condition.Therefore, different conditional compilation symbols can activate respectively the UI code of different editions.
Concrete, in Fig. 2, for sub-project 2, in item file Project2v1.cspro, adding conditional compiling symbol V1, represents that the condition that corresponding Project2v1.cspro sets is V1, execution Project2v1.cspro can activate the UI code of the V1 that satisfies condition.Equally, also need in item file Project2v2.cspro, adding conditional compiling accord with V2, adding conditional compiling symbol V3 in item file Project2v3.cspro.For sub-project 3, adding conditional compiling symbol V1 in item file Project3v1.cspro, adding conditional compiling symbol V2 in item file Project3v2.cspro, adding conditional compiling symbol V3 in item file Project3v3.cspro.
Preferably, for convenient management, after having edited item attribute, can also change the output directory of projects file, output under different catalogues by different item files.For example, item file Project2v1.cspro and Project3v1.cspro are outputed under project file v1.sln, item file Project2v2.cspro and Project3v2.cspro are outputed under project file v2.sln, item file Project2v3.cspro and Project3v3.cspro are outputed under project file v3.sln.
In addition, said process has only completed the editor of item attribute, also needs that each conditional compilation is accorded with to corresponding all conditions code and adds in each window design device.The code that described window design device generates for peopleware's edit form, could carry out the code in if statement when described CC condition code uses if statement to represent to meet if condition.Conventionally the CC condition code, adding in window design device is called outside code.
Concrete adding procedure is: in the InitializeComponent method in each window design device, corresponding sub-project 2 is first added outside code " #if v1, #endif ", then " #if v1, #endif " is copied and be added to " #if v2, #endif " and " #if v3, #endif ".Wherein, code between " #if v1 " and " #endif " is the code of the UI code release 1 of sub-project 2, code between " #if v2 " and " #endif " is the code of the UI code release 2 of sub-project 2, and the code between " #if v1 " and " #endif " is the code of the UI code release 3 of sub-project 2.Equally, corresponding sub-project 3 is also first added outside code " #if v1, #endif ", then " #if v1, #endif " is copied and be added to " #if v2, #endif " and " #if v3, #endif ".After code has added, in each window design device, the code format of corresponding every sub-project is as follows:
The code that #region Windows ///window design device generates
///<summary>
///</summary>
#if?v1
The code of ///UI code release 1
#endif
#if?v2
The code of ///UI code release 2
#endif
#if?v3
The code of ///UI code release 3
#endif
#endregion
Step 304, while carrying out the interface editing of a certain resolution, selects the project file corresponding with this resolution, activates corresponding UI code by editor's this project file.
By above step 301~303, just having generated can be for the UI code editor of peopleware's direct editing, when peopleware need to be according to the size at the requirement editor UI code interface of a certain resolution, when the position, open UI code editor, select the project file corresponding with this resolution and open, because the item file under this project file is provided with conditional compilation symbol, therefore after the item file of opening this project file and select to edit, can activate the CC condition code of respective conditions editor symbol, therefore get final product the UI code of direct editing respective version by certain item file under editor's this project file.
For example, for the requirement of first resolution, open project file v1.sln, the item file Project2v1.cspro of 2 times corresponding first resolutions of chooser project, the conditional compilation symbol arranging due to Project2v1.cspro is V1, therefore can activate the code of UI code release 1 of " #if v1, #endif " part of corresponding sub-project 2 in each window design device, the size, position, color of UI code release 1 median surface button etc. can be set by editor Project2v1.cspro.In addition, for the requirement of first resolution, also need the item file Project3v1.cspro of 3 times corresponding first resolutions of chooser project to edit, accordingly, can activate the code of the UI code release 1 of " #if v1, #endif " part of corresponding sub-project 3 in each window design device, and this UI code is edited.
It should be noted that, under normal circumstances, step 303 is added after the UI code of corresponding all conditions compiling symbol in each window design device, the UI code of each version adopts the resolution setting of acquiescence, the content of UI code that is each version is identical, condition V1, V2, V3 difference that just if statement arranges.In the time that peopleware carries out UI code editor according to the requirement of different resolution, open respectively the project file of corresponding different resolution, activate corresponding UI code by editing different project files, and by revise the resolution setting of described acquiescence in this project file, revise the UI code of respective version.
In sum, known by flow process shown in Fig. 3, the UI code edit methods that the embodiment of the present invention provides, for a set of software code, for adapting to the requirement of different interfaces resolution, in this cover code, only the UI code section of corresponding different resolution is independent separately, and all the other code sections are multiplexing; Although corresponding different resolution has been set up multiple project files, but all project files are all mapped to this set of code, be that the setting that accords with by conditional compilation of different project files is mapped to UI code sections different in this set of code, code logic or an engineering, under same engineering code, safeguard multiple UI code resolution version thereby realized simultaneously.Therefore, if peopleware changes the code in any version, owing to removing, other codes of UI code section are all multiplexing, so only need revise the code that relates to UI code section in other resolution version, greatly save peopleware's workload, avoided the inconsistent problem of each version.And peopleware, by editor's project file, can directly revise corresponding UI code, is very easy to peopleware's operation.
Based on above content, the present invention also provides a kind of embodiment of interface editing device.
With reference to Fig. 4, it is the structural drawing of a kind of interface editing device described in the embodiment of the present invention.
Described interface editing device comprises that engineering creation module 41, many versions arrange module 42, attributes edit module 43, code interpolation module 44 and interface editing module 45, wherein engineering creation module 41 creates project file for corresponding engineering, and at least one sub-project that corresponding described engineering comprises creates at least one item file under this project file; Many versions arrange module 42 for need to carry out the sub-project of multiresolution interface editing for described engineering, corresponding different resolution copies described project file and corresponding item file respectively, obtains each project file and the item file of corresponding different resolution; Attributes edit module 43, for the item attribute at projects file, is added respectively the conditional compilation symbol of corresponding different resolution; Code adds module 44 for add the UI code of corresponding all conditions compiling symbol at each window design device, and each conditional compilation symbol is for activating each window design device to UI code that should conditional compilation symbol; Interface editing module 45 when carrying out the interface editing of a certain resolution, is selected the project file corresponding with this resolution, activates corresponding UI code by editor's this project file.
Wherein, each project file of described corresponding different resolution is mapped to same engineering code, and projects file of described corresponding different resolution is mapped to respectively UI codes different in same engineering code.That is: the engineering code of software program only has a set ofly, and for adapting to the requirement of different interfaces resolution, in this cover code, only the UI code section of corresponding different resolution is independent separately, and all the other code sections are multiplexing; All project files of corresponding different resolution are all mapped to this set of engineering code, be that the setting that accords with by conditional compilation of different project files is mapped to UI code sections different in this set of code, code logic or an engineering, under same engineering code, safeguard multiple UI code resolution version thereby realized simultaneously.
Preferably, in order to facilitate peopleware to manage different editions, described device can also comprise project output module 46, for add respectively the conditional compilation symbol of corresponding different resolution in attributes edit module 43 after, the output directory of change projects file, outputs under different catalogues by different item files.
In addition, conventionally code adds the resolution setting of the interpolation each UI code employing acquiescence of module 44 to corresponding different condition compiling symbol in each window design device, described interface editing module 45 also, for by the resolution setting of revising described acquiescence at this project file, is revised corresponding UI code.It is the resolution setting that the UI code of each version of adding in each window design device adopts acquiescence, in the time that peopleware carries out UI code editor according to the requirement of different resolution, can open corresponding project file by interface editing module 45, directly the corresponding UI code of amendment, is revised as default setting the setting that meets resolution requirement.
In sum, above-mentioned interface editing device accords with having realized by conditional compilation safeguards multiple resolution version in a set of code simultaneously, except UI code section is independent, all the other codes are all shared, if change the code in any version, only need to relate in other resolution version of amendment the code of UI code section, greatly saved peopleware's workload, avoided the inconsistent problem of each version.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Based on above-mentioned interface editing device, the present invention also by described interface editing application of installation in semiconductor machining industry, a kind of embodiment of semiconductor machining system is provided.In this embodiment, described semiconductor machining system comprises semiconductor processing equipment and semiconductor control system, wherein semiconductor control system is for controlling various semiconductor processing equipments, described semiconductor control system comprises the interface editing device shown in Fig. 4 embodiment, can realize and under a set of code, safeguard multiple UI code resolution version simultaneously.The specific descriptions of described interface editing device can, with reference to the description of above-mentioned Fig. 4, be not described in detail in this.
Above to a kind of interface editing method provided by the present invention and device, be described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (8)

1. an interface editing method, is characterized in that, comprising:
Corresponding engineering creates project file, and at least one sub-project that corresponding described engineering comprises creates at least one item file under this project file;
For the sub-project that needs to carry out multiresolution interface editing in described engineering, corresponding different resolution copies described project file and corresponding item file respectively, obtains each project file and the item file of corresponding different resolution;
In the item attribute of projects file, add respectively the conditional compilation symbol of corresponding different resolution, and in each window design device, adding the user interface code of corresponding all conditions compiling symbol, each conditional compilation symbol is for activating each window design device to user interface code that should conditional compilation symbol;
While carrying out the interface editing of a certain resolution, select the project file corresponding with this resolution, activate corresponding user interface code by editing the corresponding project file of this resolution.
2. method according to claim 1, is characterized in that, in the item attribute of projects file, after adding respectively the conditional compilation symbol of corresponding different resolution, also comprises:
The output directory of change projects file.
3. method according to claim 1, is characterized in that:
In each window design device, each user interface code of corresponding different condition compiling symbol adopts the resolution setting of acquiescence;
, by editing after the corresponding project file of this resolution activates corresponding user interface code, also comprise: by revise the resolution setting of described acquiescence in the corresponding project file of this resolution, revise corresponding user interface code.
4. method according to claim 1, is characterized in that:
Each project file of described corresponding different resolution is mapped to same engineering code, and projects file of described corresponding different resolution is mapped to respectively different user interface code in same engineering code.
5. an interface editing device, is characterized in that, comprising:
Engineering creation module, create project file, and at least one sub-project that corresponding described engineering comprises creates at least one item file under this project file for corresponding engineering;
Many versions arrange module, for need to carry out the sub-project of multiresolution interface editing for described engineering, corresponding different resolution copies described project file and corresponding item file respectively, obtains each project file and the item file of corresponding different resolution;
Attributes edit module, for the item attribute at projects file, adds respectively the conditional compilation symbol of corresponding different resolution;
Code adds module, and for add the user interface code of corresponding all conditions compiling symbol at each window design device, each conditional compilation symbol is for activating each window design device to user interface code that should conditional compilation symbol;
Interface editing module, when carrying out the interface editing of a certain resolution, selects the project file corresponding with this resolution, activates corresponding user interface code by editing the corresponding project file of this resolution.
6. device according to claim 5, is characterized in that, also comprises:
Project output module, for add respectively the conditional compilation symbol of corresponding different resolution in attributes edit module after, the output directory of change projects file.
7. device according to claim 5, is characterized in that:
In each window design device, each user interface code of corresponding different condition compiling symbol adopts the resolution setting of acquiescence;
Described interface editing module, also for by the resolution setting of revising described acquiescence at the corresponding project file of this resolution, is revised corresponding user interface code.
8. device according to claim 5, is characterized in that:
Each project file of described corresponding different resolution is mapped to same engineering code, and projects file of described corresponding different resolution is mapped to respectively different user interface code in same engineering code.
CN201010594583.7A 2010-12-17 2010-12-17 Method and device for editing interface Active CN102566993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010594583.7A CN102566993B (en) 2010-12-17 2010-12-17 Method and device for editing interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010594583.7A CN102566993B (en) 2010-12-17 2010-12-17 Method and device for editing interface

Publications (2)

Publication Number Publication Date
CN102566993A CN102566993A (en) 2012-07-11
CN102566993B true CN102566993B (en) 2014-08-27

Family

ID=46412508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010594583.7A Active CN102566993B (en) 2010-12-17 2010-12-17 Method and device for editing interface

Country Status (1)

Country Link
CN (1) CN102566993B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793372B (en) * 2015-05-12 2018-01-19 武汉精测电子技术股份有限公司 The defects of different producing line liquid crystal modules grade decision method
CN115904393B (en) * 2023-01-05 2023-06-30 拉扎斯网络科技(上海)有限公司 Condition compiling realization method, device, medium and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981250B1 (en) * 2001-07-05 2005-12-27 Microsoft Corporation System and methods for providing versioning of software components in a computer programming language
CN101778168A (en) * 2010-02-05 2010-07-14 中国电信股份有限公司 Method and system for optimization display of wed pages on browser of mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7721158B2 (en) * 2007-06-04 2010-05-18 Microsoft Corporation Customization conflict detection and resolution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981250B1 (en) * 2001-07-05 2005-12-27 Microsoft Corporation System and methods for providing versioning of software components in a computer programming language
CN101778168A (en) * 2010-02-05 2010-07-14 中国电信股份有限公司 Method and system for optimization display of wed pages on browser of mobile terminal

Also Published As

Publication number Publication date
CN102566993A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN100543701C (en) A kind of method and system that realize embedded software unconventionality testing
WO2015078343A1 (en) Development method for web development system, and web development system
CN102087594B (en) Management method and device for extension point and plugins
CN103544005A (en) Expansion developing method and device for Android custom control
CN106250158A (en) The layout method of a kind of client end interface, device and mobile device
KR20220132458A (en) User interface platform developing system and method for responsive or adaptive web implementation
CN101859244A (en) Multi-toolchain engineering construction method and system
TWI355607B (en)
CN114089958A (en) Form visual configuration method and device
CN101702126A (en) Graphical interface editing method and device thereof
Ichisugi et al. Difference-based modules: A class-independent module mechanism
Wenzel System description: Isabelle/jEdit in 2014
CN104834715A (en) Website generating method and system based on components and container
CN102566993B (en) Method and device for editing interface
CN103605526A (en) Template componentized code generating method based on chain-of-responsibility pattern
US20050262485A1 (en) Duplicate merge avoidance in parallel development of interdependent semi-derived artifacts
CN103500099A (en) Method for achieving quick software secondary development through expansion points and expansion
CN102779036B (en) For the Software tool of automatic technology
Shonle et al. Aspectbrowser for eclipse: a case study in plug-in retargeting
CN110795067A (en) Demand prototype reusable method
Denti et al. tuProlog: Making Prolog ubiquitous
US20240201963A1 (en) Integrated user interface platform development system and method of single-page application type
US20240160421A1 (en) Integrated development system and method, for user interface platform, having source compiler
JP2010049439A (en) System construction method using software model and modeling device
CN116302380A (en) Resource calling method and system based on experimental resource comprehensive integration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100176 Beijing economic and Technological Development Zone, Wenchang Road, No. 8, No.

Patentee after: Beijing North China microelectronics equipment Co Ltd

Address before: 100015, building 2, block M5, East Jiuxianqiao Road, Chaoyang District, Beijing

Patentee before: Beifang Microelectronic Base Equipment Proces Research Center Co., Ltd., Beijing

CP03 Change of name, title or address