It provides the default http://www.aliyun.com/zixun/aggregation/8284.html "> Desktop interface sometimes does not meet the needs of users, users may need to add to the interface menu and its corresponding behavior. This article gives you an example of how to use Java to develop user-defined menus.
This article is mainly about customizing the interface menu on the platform of IBM ILOG optimization Decision Management Enterprise (IBM ILOG Odme), but because of the different backgrounds of the readers, Some readers have a certain understanding of the optimization technology, some readers have not yet, so this article first on the optimization of the process to introduce some.
Optimization is often based on a certain set of data, which will be input into an optimization model, and then the optimization model to solve, and then get the results of optimization. Therefore, in the establishment of an optimal application is the need for IT developers to develop the interface, the need to optimize the development of professional personnel to optimize the model, this optimization application to face the user has production planners and managers, IBM ILOG Odme very good to meet this demand. Let's start with an introduction to IBM ILOG Odme.
Introduction to IBM ILOG Odme
IBM ILOG Odme is a platform for application products based on Java technology that can be developed quickly for decision analysis based on ILOG optimization technology. It includes the following products: IBM ILOG Odme Developer, IBM ILOG Odme Clients, IBM ILOG Odme. These three products are mutually reinforcing, and the relationship between them reflects the process of optimizing application products from development to use and the roles of different people in this process.
IBM ILOG Odme Developer is an integrated development environment that it technicians can use to develop optimized applications that can be used by the optimization technician to develop the optimization model. After the whole optimization application and model development, IBM ILOG Odme Clients provides different modes for different roles of users, and can use planner mode for users ' planners, which allows production planners to create and edit different optimization scenarios. At the same time, we can solve these scenarios and get the optimized production plan.
The manager of the user can use the IBM ILOG odme Clients Reviewer mode, which allows the user to view the optimized scenario and optimize the production plan, not modify the scene and solve the scene. The IBM ILOG ODME Servers provides data server for optimizing the management of the database, providing optimization server, which can be deployed to the application server with IBM optimization ILOG Developer a good application can call this optimization Server to solve the optimization solution.
IBM ILOG Odme User interface
As described in the section "IBM ILOG Odme Introduction", IBM ILOG Odme Clients provides different user roles for planner and Reviewer, what are their interfaces? The interface includes a Odme view, a view containing tables, and data in the table. The Odme view is divided into two categories, the standard view and the custom view, and the standard view is provided by the Odme, and the customized view is tailored to the user's specific needs. Figure A shows the user interface that a user displays after opening the IBM ILOG Odme planer, and the red rectangle in Figure 1 contains the menu that pops up when the user clicks the right mouse button in a custom view called the Odme pop-up menu test.
Figure 1. IBM ILOG odme Planner user Interface
A pop-up menu below will include a number of functional options to allow users to choose, users click on these options, will produce certain actions, such as delete, copy, and so on. We see that the pop-up menu in Figure one contains two options, deleting rows and Odme greetings. So how do you customize this pop-up menu, see the next chapter, how to create a pop-up menu.