Rule Builder > Managing Repositories > Working With Projects > Grouping Project Elements According to Properties |
Grouping Project Elements According to Properties |
PREVIOUS NEXT |
You can group rules within a ruleset according to an execution logic represented by their properties. You can view them in the Property View of the Project Explorer.
There are two possible views in the Project Explorer as shown in Table 3.1:
When you click the arrow
on the right of the Property View button, a dialog box lets you choose the criteria to group the elements of the current project, as shown in Figure 3.14.
Each property that is active appears in the top part of the dialog box and can be modified. Click a property to select it and two sets of arrows are displayed. The vertical arrows
enable you to move the property higher in the list to make it a more important requirement.
The horizontal arrows
enable you to change the parameter of the property. For example, you can group the
creationDate
property by day, by month, or by a moving window (yesterday, before, after), as shown in Figure 3.14. If you uncheck a property, it automatically moves to the lower part of the dialog box. If you check a property, it automatically becomes active and moves to the last position in the top half of the dialog box.
You can define your own properties using the Model API. For more information see the Repository Customization User's Manual and the Java API Reference Manual.
Consider a project that contains: 1 template library, 1 package, 4 subpackages, 3 rules with low priority, 3 rules with minimum priority, and 4 rules with high priority (1 in Figure 3.15). Suppose you want to view these elements according to their priority. In the Property View dialog box, if you select priority (2 in Figure 3.15), 4 nodes appear in the property view of the Project Explorer (3 in Figure 3.15):
Repository Element Property Reference
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |