/
14.7.3.3 @PostProcessing - Annotation of Custom UI

14.7.3.3 @PostProcessing - Annotation of Custom UI

The post processing annotation generates an action button which lets the custom UI perform the actions defined by the method assigned to this button. The buttons cannot be de-activated ("greyed out") e.g. when building the UI or by the EPP. Hitting the button performs the action regardless any other thing.

Figure 347 presents that (1) the annotation is similar to the input interface and (2) the body of the method to be performed.

 

Figure 352: Example of @PostProcessing


The post processing annotation allows the following parameters:

  • Scenario
    settings of the systems used for the workspace
  • ResultTypes
    the result types generated by the "parent" EPP
  • Interface input
    the input interface of the "parent" EPP
  • SimulationResult
    all vectors and vector groups generated by the workspace.

 

The parameters are restricted to these four types. The call order is not relevant. An example of the @post processing feature is presented below where various output display can be selected like “scatter diagram”, “bar chart”, or a “vector group” as shown in Figure 353.

 

Figure 353: Example of creating 3 “action button” using @PostProcessing


The name of the button is the name of the annotation and an example of code is presented only for the “scatter” button in Figure 354. Similar @PostProcessing can be coded to create the “Bar chart” and “Vector Group”.

 

Figure 354: Example of creating the scatter button and its associated action



Related content

14.7.3 Post processing UI as optional part of the EPP
14.7.3 Post processing UI as optional part of the EPP
More like this
14.7.2 Core EPP
14.7.2 Core EPP
More like this
14.7.3.4 Consistency check of the custom UI
14.7.3.4 Consistency check of the custom UI
More like this
A18.7.2 Example of a EPP with custom UI
A18.7.2 Example of a EPP with custom UI
More like this
A18.7.3 Post Processing buttons on the UI
A18.7.3 Post Processing buttons on the UI
More like this
11.4 Configuring an EPP
11.4 Configuring an EPP
More like this