public void addJobMessageListener(JobMessageListener lst) {
messageListeners.add(lst);
}
protected void setNewMessage(String message) {
JobMessage m = new JobMessage(message);
for (JobMessageListener lst : messageListeners) {
lst.messageChanged(m);
}
}