You can use the visual interface of the Probekit editor to modify the source code for a probe.
To modify a probe using the Probekit editor:
- Open the Probekit project containing the probe source file that you want to modify.
- In the Package Explorer, double-click the probe source file that you want to modify, or right-click the file and select from the pop-up menu. The Probekit editor opens, and the probe's objects are displayed in the editor's tree pane.
- You can work with the probe as follows (for detailed information about probe objects and their properties, see Probekit element reference):
- To modify the properties of an existing object, select the object in the tree, then edit the values in the editor's edit pane.
- To delete an object, select the object in the tree and press Delete, or right-click the object and select from the pop-up menu.
- To add a new object, in the editor tree, right-click the parent object for the new object and select , and the name of the new child object that you want to add. The pop-up menu only lists child objects that are valid for the object that is selected in the tree. Menu items for objects that are valid but can no longer be added, are disabled.
- To move or copy a child object to a different parent, in the editor tree, right-click the child object that you want to move or copy and select or from the pop-up menu, then right-click the new parent object and select . The pop-up menu item is disabled if the object you want to paste is not valid for the object that is selected in the tree.
- To change the order of a filter rule for a probe, click and drag the Target object for the rule up or down in the list of Targets. A heavy line will appear, indicating where the object will go when it is dropped.
- When you are finished modifying the probe, click . If automatic build is enabled, the modified probe is automatically rebuilt.
Note: When you type a value in the Import directive property field of an Import probe object, type only the name of the package or class that you want to import. Do not type the "import" keyword or the trailing semicolon (;).