public interface MessageSource
This mixin is for letting the retrieval of messages by message number being redirected to the Targets of whatever subsystem of ShapeChange. Specific Target-related message texts can therefore be kept separated from general ShapeChange core messages.
An object implementing this interface can be passed to message generating methods on the ShapeChangeResult object, such as addWarning(...). If null is handed over instead, the message text will be automatically retrieved from the pool of centralized ShapeChangeResult messages.
Modifier and Type | Method and Description |
---|---|
String |
message(int mnr)
Return a message for a message number.
|
String message(int mnr)
Copyright © 2017. All rights reserved.