Message Classification
Messages displayed in Creo Object TOOLKIT Java include a symbol that identifies the message type. Every message type is identified by a classification that begins with the characters %C. A message classification requires that the message key line (line one in the message file) must be preceded by the classification code.
|
Any message key string used in the code should not contain the classification.
|
Creo Object TOOLKIT Java applications can now display any or all of the following message symbols:
• Prompt—This Creo Object TOOLKIT Java message is preceded by a green arrow. The user must respond to this message type. Responding includes, specifying input information, accepting the default value offered, or canceling the application. If no action is taken, the progress of the application is halted. A response may either be textual or a selection. The classification for Prompt messages is %CP
• Info—This Creo Object TOOLKIT Java message is preceded by a blue dot. Info message types contain information such as user requests or feedback from Creo Object TOOLKIT Java or Creo applications. The classification for Info messages is %CI
|
Do not classify messages that display information regarding problems with an operation or process as Info. These types of messages must be classified as Warnings.
|
• Warning—This Creo Object TOOLKIT Java message is preceded by a triangle containing an exclamation point. Warning message types contain information to alert users to situations that could potentially lead to an error during a later stage of the process. Examples of warnings could be a process restriction or a suspected data problem. A Warning will not prevent or interrupt a process. Also, a Warning should not be used to indicate a failed operation. Warnings must only caution a user that the completed operation may not have been performed in a completely desirable way. The classification for Warning messages is %CW
• Error—This Creo Object TOOLKIT Java message is preceded by a a broken square. An Error message informs the user that a required task was not completed successfully. Depending on the application, a failed task may or may not require intervention or correction before work can continue. Whenever possible redress this situation by providing a path. The classification for Error messages is %CE
• Critical—This Creo Object TOOLKIT Java message is preceded by a red X. A Critical message type informs the user of an extremely serious situation that is usually preceeded by loss of user data. Options redressing this situation, if available, should be provided within the message. The classification for a Critical messages is %CC