How to Open the EPN Editor from a Project Folder

Oracle CEP IDE for Eclipse and the Event Processing Network 6-3

6.1.2 How to Open the EPN Editor from a Context or Configuration File

You can open the EPN Editor from a Spring context file or an Oracle CEP server configuration file in an Oracle CEP application. Alternatively, you can open the EPN Editor from a context or configuration file see Section 6.1.1, How to Open the EPN Editor from a Project Folder To open the EPN Editor from a context or configuration file: 1. Launch the Oracle CEP IDE for Eclipse. 2. Open your Oracle CEP project in the Project Explorer.

3. Right-click a context or configuration file and select Open in EPN Editor as

Figure 6–3 shows. Figure 6–3 Opening the EPN Editor from a Context or Configuration File The EPN Editor opens in a tab named EPN:PROJECT-NAME, where PROJECT-NAME is the name of your Oracle CEP project, as Figure 6–4 shows. 6-4 Oracle Complex Event Processing Developers Guide Figure 6–4 EPN Editor

6.2 EPN Editor Overview

This section describes the main controls you use to manage the EPN view and how the EPN Editor displays Oracle CEP application information, including: ■ Section 6.2.1, Flow Representation ■ Section 6.2.2, Filtering ■ Section 6.2.3, Zooming ■ Section 6.2.4, Layout ■ Section 6.2.5, Showing and Hiding Unconnected Beans ■ Section 6.2.6, Printing and Exporting to an Image ■ Section 6.2.7, Configuration Badging ■ Section 6.2.8, Link Specification Location Indicator ■ Section 6.2.9, Nested Stages ■ Section 6.2.10, Event Type Repository Editor

6.2.1 Flow Representation

The primary display in the editor is of the flow inside the application as Figure 6–5 shows. Oracle CEP IDE for Eclipse and the Event Processing Network 6-5 Figure 6–5 EPN Flow Representation The EPN is composed of nodes connected by links and streams. Nodes are of various types including adapter, processor, database table, bean, and cache. For more information on the graphic notation the EPN Editor uses on nodes, links, and streams, see: ■ Section 6.2.7, Configuration Badging ■ Section 6.2.8, Link Specification Location Indicator

6.2.2 Filtering

Although you often specify your EPN in a single assembly file, you may specify an EPN across multiple assembly files. By default the EPN Editor shows the EPN for a single Oracle CEP application bundle with the information combined from all files. To see the network for a single assembly file simply select that file from the Filter pull-down menu as Figure 6–6 shows. Figure 6–6 Filtering the EPN by Assembly File When editing an EPN, the assembly file shown in the EPN Editor filter is the assembly file to which new nodes will be added. If the EPN Editor filter is set to Full EPN then the first assembly file in the filter list will be the file to which new nodes will be added. Existing nodes will be edited in or deleted from the assembly file in which they are defined. If the assembly file the EPN Editor edits is open in an Eclipse source editor, then the edits will be made to the editor for that open file. In this case, you will need to save changes to the open editor before the changes appear in the file on disk.