The properties are considered the “window state” of the component. The properties are published when the event occurs using the part listener function of the Eclipse workbench. As a result, other components that listen for these events may be executed before or after the property is published.
The following table shows what states are available, their names and how the event is published. All of the events are published as JSON strings.
|Event||Property Name (event)|
|Component Opened ||event.component.open |
|Component Closed ||event.component.close |
|Component Activated ||event.component.activate |
The property is published as a map with two elements:
event = the event id above
component.id = the full component id - <primary>:<secondary>
The events can be wired in the Composite Application Editor (CAE) just like any other output property of the component.
Parent topic: Using component windowing properties and actions with composite applications