![]() |
![]() |
![]() |
![]() |
![]() |
Notifications
The notifications inform the environment when something significantly happens. Notifications are only available as PostMaster messages.
To receive a notification one must subscribe on that particular notification (or on all notifications). This is accomplished either statically, by an entry in an additional configuration file, or dynamically by the services Add Tool and Add Tool Subscription.
Overview of Available Notifications
Tool notifications
Diagram notifications
SELOADNOTIFY SEUNLOADNOTIFY SEDIRTYNOTIFY SESAVENOTIFY SESDLENEWNOTIFY SEMSCENEWNOTIFY SEOMENEWNOTIFY SETENEWNOTIFYStart Notify
Description
This message is broadcast when a new tool is started. That is, when it connects to the PostMaster. It is sent automatically by the SPInit function.
Tools Issuing the Notification
The started toolNotification
SESTARTNOTIFY
toolType integer argv0 stringThe filename (with a complete path) of the started tool as obtained by reading argv[0].
Stop Notify
Description
This message is broadcast when the tool disconnects from the PostMaster and terminates.
Tools Issuing the Notification
The tool which stopsNotification
SESTOPNOTIFYLoad Notify
Description
Broadcast when the diagram is loaded in an editor.
Tools Issuing the Notification
SET_SDLESET_MSCESET_OMESET_TENotification
SELOADNOTIFY
bufId integer fileName string diagramType integer diagramName stringUnload Notify
Description
Broadcast when the diagram is unloaded in the editor. No assumptions could be made whether or not the diagram was saved. The buffer id of the unloaded diagram is then not longer valid and cannot be used anymore.
Tools Issuing the Notification
SET_SDLESET_MSCESET_OMESET_TENotification
SEUNLOADNOTIFYDirty Notify
Description
Broadcast when a diagram becomes dirty, i.e. when the user has modified the diagram.
Tools Issuing the Notification
SET_SDLESET_MSCESET_OMESET_TENotification
SEDIRTYNOTIFYSave Notify
Description
The message is broadcast when a diagram is saved.
Tools Issuing the Notification
SET_SDLESET_MSCESET_OMESET_TENotification
SESAVENOTIFYSDL New Notify
Description
Broadcast when a diagram is created in the SDL Editor. In this case a Load Notify is not broadcast.
Tools Issuing the Notification
SET_SDLENotification
SESDLENEWNOTIFY
MSC New Notify
Description
Broadcast when a diagram is created in the MSC Editor. In this case a Load Notify is not broadcast.
Tools Issuing the Notification
SET_MSCENotification
SEMSCENEWNOTIFY
bufId integer diagramName stringOM New Notify
Description
Broadcast when a diagram is created in the OM Editor. In this case a Load Notify is not broadcast.
Tools Issuing the Notification
SET_OMENotification
SEOMENEWNOTIFY
bufId integer diagramName stringTE New Notify
Description
Broadcast when a diagram is created in the Text Editor. In this case a Load Notify is not broadcast.
Tools Issuing the Notification
SET_TENotification
SETENEWNOTIFY
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |