摘要:
The invention is directed to a method which derives from metadata definitions the allowable values for a method argument, where the allowable values are a subset or a restricted set of values from a defined range of values for that type of method argument. The subset of allowable values is then converted into a fragment of source code that can be used to initialize the argument variable with one of the allowable values when the method is invoked. The fragment of source code is inserted into the source code for that method argument using an editor tool. A system for implementing the method may comprise an integrated development environment (IDE) program.
摘要:
A method and software tool for performing an operation on a graphic object in a display of overlapping graphic objects in a data processing system are provided. The method comprises the steps of detecting the position of a pointer on the display; displaying to a user an indication of potential target objects of the operation which coincide with the pointer position; detecting a selection of one of the indicated potential target objects as the target object; and performing the operation on the selected object. In the case where the target object is not the outermost layer of the graphic objects on the display, the method may also comprise temporarily making the selected target object visible during performance of the operation on the target object by making the overlying objects transparent.
摘要:
A fault-tolerant method of bottom-up editing whereby simultaneous display of the GUI view and source code view are available, and wherein real-time bottom-up editing is provided. In accordance with a preferred embodiment of the present invention, changes to the source code are isolated, first by isolating and analyzing source code according to groupings associated with the structure of the language used for the source code and then isolating and analyzing individual lines of source code within these groupings. If there are no errors in a particular grouping of source code, the changes in the grouping are automatically applied to the GUI. If errors are found in a grouping, the grouping is further analyzed to determine which lines contain the error. Semantic and syntactic errors are thereby isolated and, where found, are ignored. However, correct lines of the source code are also identified and thereby applied to the GUI for interpretation and display. Thus, correct edits to the source code are displayed in real-time while errors are ignored.
摘要:
A computer-implementable method, system and computer-readable medium for establishing and utilizing a widget-centric context-based layer are presented. In a preferred embodiment, the computer-implemented method includes a computer detecting a mouse hover over a visual control that is displayed on a visual layer canvas. In response to determining that the visual control is supported by a context layer, the computer displays the visual control and component icons on a context layer canvas, wherein the context layer includes elements from both an upper visual layer and a lower component layer, and wherein the component icons are associated with respective components from the lower component layer. The computer then receives a user input that selects one or more of the component icons, thus permitting associated components to be edited.
摘要:
A fault-tolerant method of bottom-up editing whereby simultaneous display of the GUI view and source code view are available, and wherein real-time bottom-up editing is provided. In accordance with a preferred embodiment of the present invention, changes to the source code are isolated, first by isolating and analyzing source code according to groupings associated with the structure of the language used for the source code and then isolating and analyzing individual lines of source code within these groupings. If there are no errors in a particular grouping of source code, the changes in the grouping are automatically applied to the GUI. If errors are found in a grouping, the grouping is further analyzed to determine which lines contain the error. Semantic and syntactic errors are thereby isolated and, where found, are ignored. However, correct lines of the source code are also identified and thereby applied to the GUI for interpretation and display. Thus, correct edits to the source code are displayed in real-time while errors are ignored.
摘要:
The invention is directed to a method which derives from metadata definitions the allowable values for a method argument, where said allowable values are a subset or a restricted set of values from a defined range of values for that type of method argument. The subset of allowable values is then converted into a fragment of source code that can be used to initialise the argument variable with one of the allowable values when the method is invoked. The fragment of source code is inserted into the source code for that method argument using an editor tool. A system for implementing the method may comprise an integrated development environment (IDE) program.
摘要:
Methods, systems and computer program products are provided for displaying a plurality of visual elements associated with a computer program application by defining a sequential tabbing order for the plurality of visual elements and displaying at least one graphical linking element extending between the plurality of visual elements. The graphical linking element represents the sequential tabbing order.
摘要:
A system, computer program and method for developing a graphical user interface (GUI) in a computer program. The invention allows developers to control the properties of interface components according to the state of a program during execution. According to the invention, a GUI development environment may be configured to provide a GUI builder for creating the GUI, display an interface component with at least one interface component property to be instantiated in the GUI, display a property interface to input at least one value for the interface component property in response to an event detectable by the computer program during GUI program execution, and automatically generate GUI program code effectuating the value for the interface component property in response to the event detectable by the computer program during GUI program execution.
摘要:
A system, computer program and method for developing a graphical user interface (GUI) in a computer program. The invention allows developers to control the properties of interface components according to the state of a program during execution. According to the invention, a GUI development environment may be configured to provide a GUI builder for creating the GUI, display an interface component with at least one interface component property to be instantiated in the GUI, display a property interface to input at least one value for the interface component property in response to an event detectable by the computer program during GUI program execution, and automatically generate GUI program code effectuating the value for the interface component property in response to the event detectable by the computer program during GUI program execution.
摘要:
A method, apparatus and computer-readable medium for managing visual representations of relationships between active graphical areas such as text fields in a GUI and underlying software objects is presented. In one embodiment, the method includes the steps of receiving, by computer logic, a selection of an object graphical depiction of a data source software object, wherein the data source software object supports a field that is represented by a field graphical depiction in a Graphical User Interface (GUI); and in response to receiving the selection of the object graphical depiction, altering a physical appearance of the field graphical depiction, wherein altering the physical appearance of the field graphical depiction illustrates, in the GUI, a logical relationship between the data source software object and the field.