|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowDefinitionNotification
A user notification raised during the workflow definition process.
Notifications can be used to provide information to the user while he/she is creating a workflow. Notifications are displayed at the top of the workflow panel.
Notifications are displayed until one of the following event occurs:
runAssociatedOperation()
method is called and succeeddismiss()
method is called and succeed
Method Summary | |
---|---|
void |
dismiss()
This method is called when the message is dismissed by the user. |
javax.swing.Icon |
getIcon()
Returns the notification icon. |
java.lang.String |
getMessage()
Returns the notification message. |
boolean |
hasAssociatedOperation()
Returns true if an operation is associated to the notification. |
boolean |
runAssociatedOperation()
Executes the operation associated to the notification. |
Method Detail |
---|
java.lang.String getMessage()
javax.swing.Icon getIcon()
boolean hasAssociatedOperation()
true
if an operation is associated to the notification.
An operation is a piece of code that is executed when the user click on
the notification panel. The code can be defined in the
runAssociatedOperation()
method.
true
if an operation is associated to the notification.boolean runAssociatedOperation()
true
if the operation has been successfully performed. In
this case the notification will disappear. If the result of this
method is false
the notification stays visible.void dismiss()
runAssociatedOperation()
, change in the workflow definition...),
this method is not called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |