Embodiment
Below realize preferred example of the present invention by example explanation.
The interface that the Object Management group device is safeguarded by a list realizes, because the more intuitive expressive object of list, and the realization What You See Is What You Get, interface such as Fig. 1 comprise functional areas 1, the directory area 2 on the left side and the list servicing area 3 on the right of top among the figure.
Please refer to Fig. 2 button area 11, be followed successively by from left to right preservation, forward destruction operation, backward destruction operation, new projects, list preview, issue list, open the item-function button; New projects can increase the arbitrary content that is included in directory area newly; The list preview can be with the list of independent window operation design, and the issue list is about to list and related content is issued as object code.12 parts are 5 Tab pages or leaves among the figure, acquiescence is " beginning " Tab, it has comprised makes function commonly used in the list process, partial function is from other Tab contents, " insertion " Tab is for insert the updates such as common mathematical function, chart, picture to list, " formula " Tab is used for using formula commonly used at list, and " data " Tab is used for quoting the data of other objects or data source, and " layout " Tab is used for adjusting list contents and distribution and setting of printing etc.We are by " beginning " Tab description object management function.
Newly-increased individual unit lattice, sheet format cell, tabulation formula cell and note cell in Fig. 1 list district 3 are provided in the Form Element district 13 of Fig. 2; Wherein, the sheet format cell can once provide by the mode of form a plurality of cells of nominated bank's columns, the corresponding object properties of per two cells, one of them cell is used for the display properties title, the value of demonstration or input attributes when another cell is used for the interface execution, acquiescence odd column display properties title, even column show or the input attributes value, the above-mentioned type that the user also can self-defined cell; Tabulation formula cell provides a plurality of cells of nominated bank's columns equally, and different is, corresponding object properties of every row of tabulation formula cell, and Property Name is in the demonstration of row head; The note cell is used for increasing notes content in Fig. 1 list district 3.
The list attribute servicing area 14 of Fig. 2 provides and has been used for safeguarding newly-increased object properties corresponding to cell to Fig. 1 list district 3, comprise Property Name, type, length, default value, restriction and explanation etc., choose a cell in Fig. 1 list district 3 can realize the above-mentioned setting of the attribute that this cell is corresponding.
The list button servicing area 15 of Fig. 2 is used for providing acquiescence or self-defining function button to list, choose certain button in Fig. 1 list district 3, click in Fig. 2 list button servicing area 15 button with the process flow diagram mark and just can switch to the flow process graphical interfaces and design its corresponding programmed logic.
The list literal servicing area 16 of Fig. 2 is for displaying contents such as the font that list is set and alignment thereof thereof.
Single form servicing area 17 of Fig. 2 is used for setting frame attribute, the Merge Cells of form, the table content of inserting or delete both etc.
The list expression formula district drop-down list box 18 of Fig. 2 and input frame 19 are used for the expression formula of object properties to be safeguarded, being used for those needs an expression could obtain the object properties of property value, all object properties in Fig. 1 list district 3 have been comprised in the drop-down list box, by in drop-down list box 18, selecting object properties, in input frame 19, input expression formula; Click certain cell in Fig. 1 list district 3, the content of drop-down list box 18 automatically switches to object properties corresponding to this cell.
Please refer to Fig. 1 directory area 2, all lists in application system of directory area 2 realizations and the unified management of service logic.
Please refer to Fig. 1 list district 3, the Form Element that provides by Fig. 2 Form Element district 13, in list, increase a plurality of cells, system produces unique Property ID in this document for the cell that each is labeled as object properties, the cell that increases can carry out layout by dragging, and can adjust height and width.
More than be Object Management group device figure interface content and layout, next by a handling of goods and materials application example each function detail be described.This handling of goods and materials application system is applied to materials warehouse, is used for the in-out-storehouse management of material, and we illustrate the Object Management group apparatus function at the implementation procedure of this document of storage bill by wherein.Storage bill is used for the library information that enters of record material, as the material that will put in storage, at first needs inspection department to carry out quality restriction, and the material that only is up to the standards could be put in storage.The essential information of warehouse-in material comprise the manufacturer of storage bill number, material, buying odd numbers that the warehouse-in material is corresponding, manufacturer delivery period, enter the Kuku not, test status and material grade, a storage bill can have many different materials, need to be placed into storage spaces different in the warehouse.
The first step is set up handling of goods and materials and is used and arrange
Click the newly-increased button in Fig. 2 button area 11, select the interface that the option of newly-increased application, file, list, process flow diagram is provided by one; Select " the newly-increased application ", accept the Apply Names " handling of goods and materials " of user's input, after determining application is saved as XML file-handling of goods and materials .XML, and in Fig. 1 directory area 2, show this Apply Names, choose this Apply Names, provide right button to select " setting " function, use essential information for the database of the use that this application is set, and it is saved in the handling of goods and materials .XML file.
Second step, the new storage list
In Fig. 1 directory area 2, choose this Apply Names, right button function is provided, select " newly-increased file ", at " handling of goods and materials " lower newly-increased one " rewinding " sub-directory in Fig. 1 directory area 2, this directory information is saved to " catalogue " node in the handling of goods and materials .XML file.Provide right button function at this sub-directory, select " newly-increased list ", called after " storage bill ", at this moment, an automatically newly-increased Tab in Fig. 1 list district 3, " storage bill " by name, and acquiescence newly-increased tool bar in list district 3, " increasing newly ", " deletion " and " preservation " button are provided, and this tool bar can drag.System generates XML file-storage bill .XML automatically, and generates one " button " node in this XML file, and above-mentioned button information records and describes by the child node of this node.
In the 3rd step, new storage is an element only
Click the sheet format cell in Fig. 2 Form Element district 13, one dialog box that the ranks number is set is provided, the line of input columns is 4, the user determines the sheet format cells of rear system 3 automatic newly-increased one 4 row, 4 row in Fig. 1 list district, and this sheet format cell is recorded in the child node of storage bill .XML file by an ID.
For each cell increases by a response events, when certain cell is clicked, above this cell, generate the height edit box identical with this cell with width, be used for showing or the current cell literal being set, and the mark current cell is selected state.The system default odd number is classified Property Name as, input object property value when even column is used for operation, and Fig. 2 list attribute area 14 provides a button, and being used for switching certain cell of choosing is attribute or input item.
Choose the first row first cell of sheet format cell, input " odd numbers ", it is set in Fig. 2 list attribute area 14 is character types, length 100, input attributes title in other odd column cells successively, system be all properties generate unique sign ID and with it correspondence be kept in the storage bill .XML file, and with the attribute record of the information such as type, length, description as node, all properties is added in Fig. 2 attribute drop-down list 18 simultaneously.
" odd numbers " of storage bill needs system automatically to produce, and needs the generation function of an odd numbers, supposes to exist such function, and name is called " automatically odd numbers ".In Fig. 1 list district 3, choose " odd numbers ", input in Fig. 2 input frame 19 "=automatic odd numbers () ", at this moment, the default value of attribute " odd numbers " becomes " automatically odd numbers () " rreturn value, and this content and ID corresponding to " automatically odd numbers () " are recorded in nodal community corresponding to storage bill .XML file.
" manufacturer " of storage bill quotes the name attribute of " manufacturer " list, suppose that this " manufacturer " list defines, here just quote its attribute, Fig. 2 list attribute servicing area 14 provides one " data source " button option, supply defined all lists of user selection and attribute thereof by a dialog box, here select " manufacturer " list, select its " title " attribute, after determining this adduction relationship is saved in the corresponding attribute node of storage bill .XML file, for the attribute that data source is arranged, the input item of corresponding cell partly increases and shows that one clicks button in Fig. 1 list district 3, is used for when operation the user and clicks this button and select certain manufacturer.Using the same method sets gradually " buying odd numbers " and " entering the Kuku other " two attributes, because the value of these two attributes must be derived from buying odd numbers and warehouse that oneself has.
" grade " attribute of storage bill is used for the grade of mark material, need 1 to 5 five grade, self-defining data source function in the dialog box of " data source " button option that can provide by Fig. 2 list attribute servicing area 14 is by 1 to 5 five numerical value of User Defined, after determining, five values are saved to attribute node corresponding among the storage bill .XML, for the attribute that the self-defining data source is arranged, the input item of corresponding cell partly increases demonstration one drop-down list box in Fig. 1 list district 3, supplies the some values of user selection when being used for operation.Qualified and underproof definition in realization " assay " attribute uses the same method.
In the 4th step, new storage is the body element only
Click the tabulation formula cell button in Fig. 2 Form Element district 13, one dialog box that the ranks number is set is provided, input line number 5, columns 3, the user determines the tabulation formula cells of rear system 3 automatic newly-increased one 5 row, 3 row in Fig. 1 list district, and these list cell lattice are recorded in storage bill .XML file one child node by an ID.
The title blocks of three row and input storage space, item number and quantity respectively, system deposits among the storage bill .XML child node as the list cell lattice in for these three titles produce unique ID.
The method that adopted for the 3rd step set a property is followed successively by storage space, item number and quantity and sets a property, and different is that a main points acceptance of the bid topic namely is provided with the attribute of permutation.For storage space and item number attribute, need to use the data that existed, so data source need to be set.
Response events when increasing operation for each cell in the tabulation formula cell, when clicked, automatically above this cell, generate the size input frame identical with this cell, be used for user input data, for the row that data source is arranged, generate simultaneously a button, be used for the data in user selection data source.
The 5th one, button is set
That system default increases is newly-increased, the button of deletion, hold function, and these buttons can be deleted, or newly-increased by the button in Fig. 2 button area 15; System gives unique ID for each button, and can edit its displaying contents, chooses certain button, clicks in Fig. 2 button area 15 process icon and namely switches to process flow diagram shape interface and carry out the design of logic flow.During preservation, these button settings and layout information will be saved to new node in the storage bill .XML file.
The 6th one, layout regulation and pattern
Can carry out to all cells in Fig. 1 list district 3 width and height control, literal adjustment, Graphicxtras Frames Collection adjustment, additions and deletions ranks content, correlated results is saved in the corresponding node of storage bill .XML file.
The 7th step, issue
Issuing function is included in the conversion equipment, namely generates the source code that meets certain program language according to the correlation attribute information of preserving in the storage bill .XML file, and it is generated object code.
The flow process graphical interfaces is realized definition and the maintenance of programmed logic by a flow process design interface, interface such as Fig. 3 comprise the functional areas 4 of top, the directory area 2 on the left side and the flow scheme design district 5 on the right among the figure.
Please refer to Fig. 4 functional areas 4,41 button area among the figure are followed successively by from left to right preservation, forward destruction operation, backward destruction operation, new projects, flow process preview, issue flow process, open the item-function button; New projects can increase the arbitrary content that is included in directory area newly; The flow process preview can be with the flow process of independent window operation design, and the issue flow process is about to flow process and related content is issued as object code.42 parts are 5 Tab pages or leaves among the figure, acquiescence is " beginning " Tab, it has comprised makes function commonly used in the flowchart process, partial function is from other Tab contents, " insertion " Tab is used for inserting to the flow scheme design district object of quoting, and inserts the updates such as special object attribute in the node, and " formula " Tab is used at flow nodes formula commonly used, " data " Tab is used for introducing the data of other objects or data source, and " layout " Tab is used for adjusting flow content layout and setting of printing etc.We are by " beginning " Tab description of flow diagram shape interface function.
Provide in Fig. 3 flow scheme design district 5 newly-increased node, child node, direct-connected wiring, folding connecting line and note node to form the element of process flow diagram in Fig. 4 node relevant range 43, wherein node can be used for processing operation expression, child node is used for calling other logical flow charts at process flow diagram, direct-connected wiring be connected connecting line and be used for connect two nodes, the note node is used for adding notes content to process flow diagram; Node and child node all comprise node identification, title, operation expression attribute, and three contents safeguard that by the sign of Fig. 4 frame 48, title safeguard that frame 49 and operation expression safeguard that frame 410 realizes assignment respectively; The node name sign is used for other nodes and quotes the result that the operation expression of this node returns, unique in the current process flow diagram, nodename is presented in the process flow diagram, also can directly pass through node maintenance in process flow diagram, and the node operation expression is used for safeguarding present node operation expression to be processed; The node and the line that wherein add the flow scheme design district to all can be by dragging the realization layout.
Fig. 4 function region 44 provides and has been used for inserting common mathematical function at node.
Fig. 4 node layout viewing area 45 provides switch demonstration node identification and note node in Fig. 3 flow scheme design district 5, and the knot modification alignment thereof.
Fig. 4 Node configuration district 46 is used for arranging height of node, width and linear, and Set font district 47 is used for arranging the font of node.
Fig. 4 Node configuration district 47 is for the pattern of font and alignment thereof thereof that node is set.
Fig. 4 node identification district 48 is used for when a newly-increased node, preserve system's unique ID of all nodes by the mode of drop-down list, the user can identify the ID rename for this reason, in this drop-down list, select a node, in Fig. 3 flow scheme design district 5, selected this node with regard to corresponding, thereby to its setting of being correlated with; Other nodes can be quoted by this sign the value of its corresponding node.
Fig. 4 nodename district 49 is used for showing and safeguarding the title of a certain node, and this nodename is presented on the node in Fig. 3 flow scheme design district 5, and some recapitulative titles normally illustrate the function of this node, are convenient to understand process flow diagram.
Fig. 4 node expression district 410 is used for showing and safeguards that a certain node needs operation expression to be processed, this expression formula district can input the related operation symbols such as arithmetic operator, logical operation, character string double quotation marks mark wherein simultaneously can function, object properties are as the element of operation expression.During referencing function, directly write function name, the back is with bracket, such as " automatically odd numbers () "; During the reference object attribute, write first object oriented, quote its attribute by a point symbol again, as " storage bill. odd numbers "; During the reference object method, adopt object. the mode of method name (), such as storage bill. warehouse-in (); The input frame that is used for this expression formula district provides an onChange event, when content change, the legitimacy of its expression formula symbol of self-verifying and grammer, if legal, then generate the expression formula that meets certain program syntax, this expression formula content is that the pass through correlated identities symbol corresponding with the input frame content consists of.
Function and the layout of flow process graphical interfaces more than have been described, the manufacturing process of programmed logic process flow diagram has been described below by the warehouse-in example.Process flow diagram such as Fig. 3 flow scheme design district 5 has namely reflected the processing logic of material when putting in storage.
The first step, the visioning procedure map file is chosen " depositing " button in the toolbar in Fig. 1 list district 3, clicks this button during operation and realizes into library facility.Click the process flow diagram button in Fig. 2 button area 15, namely enter the Flow Chart Design interface, system default generates beginning and end node; Before entering the interface, provide a dialog box, for user input flow journey figure title, i.e. corresponding method name, system produces unique system banner ID for it, and generates and put .XML file, the relevant informations such as saved system sign in storage.
Second step is made business process map, according to business rule, from Fig. 4 node relevant range 43 to Fig. 3 flow scheme design district 5 drag and drop node and lines, draws the service logic process flow diagram, by line each node is connected; For the node of pulling into increases click event, when clicking, new display one input frame is used for the user and inputs nodename.For the node that Fig. 3 flow scheme design district 5 increases newly, system is that it generates unique ID, and its relevant information is saved in the warehouse-in .XML file; Line for Fig. 3 flow scheme design district 5 increases newly when line connects two nodes, records the system banner ID of the node that links to each other with this node in each node.
The 3rd step, write expression formula, choose certain node in Fig. 3 flow scheme design district 5, in Fig. 4 node expression district 410, safeguard its expression formula:
The 4th step, issue
Issuing function is included in the conversion equipment, namely generates the source code that meets certain program language according to interdependent node and the link information of preserving in the warehouse-in .XML file, and it is generated object code.
The above embodiment only is the better embodiment of the present invention; and unrestricted claim of the present invention; the structural change of the modification that any utilization instructions related content of the present invention is done and equivalence and the enforcement carried out all should be included within the scope of patent protection of the present invention.