Rule Builder > Managing Repositories > Working With Projects > Grouping Project Elements According to Properties

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:

Table 3.1   Project Explorer Views
Icon 
View 
Description 

images/classHierarchy_buttona.png

Tree View  This view is displayed by default when you open a project. It displays the packages, the template libraries, and the deployer contained in the project as a tree structure. 

images/propertyView_button.png

Property View  This view displays the elements of a project as groups based on properties of the rules. 

When you click the arrow images/arrowDown_buttona.png 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.

images/propertyView.png

Figure 3.14    Project Property View Dialog Box

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 images/arrowUp_button.gif enable you to move the property higher in the list to make it a more important requirement.

The horizontal arrows images/arrowsProperty_button.gif 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):

See Also

Repository Element Property Reference


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT