Fixed bug not updating UI after click on context menu item
fixes #11 Additionally, previous commit fixes #5
This commit is contained in:
		@@ -1,8 +1,7 @@
 | 
			
		||||
package envoy.data;
 | 
			
		||||
 | 
			
		||||
import java.time.Instant;
 | 
			
		||||
import java.util.HashMap;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
import java.util.*;
 | 
			
		||||
 | 
			
		||||
import envoy.data.Message.MessageStatus;
 | 
			
		||||
 | 
			
		||||
@@ -80,21 +79,15 @@ public final class MessageBuilder {
 | 
			
		||||
	 * Creates an instance of {@link Message} with the previously supplied values.
 | 
			
		||||
	 * If a mandatory value is not set, a default value will be used instead:<br>
 | 
			
		||||
	 * <br>
 | 
			
		||||
	 * <table border="1">
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <td>{@code date}</td>
 | 
			
		||||
	 * <td>{@code Instant.now()} and {@code null} for {@code receivedDate} and
 | 
			
		||||
	 * {@code readDate}</td>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <td>{@code text}</td>
 | 
			
		||||
	 * <td>{@code ""}</td>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <td>{@code status}</td>
 | 
			
		||||
	 * <td>{@code MessageStatus.WAITING}</td>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * </table>
 | 
			
		||||
	 * {@code date}
 | 
			
		||||
	 * {@code Instant.now()} and {@code null} for {@code receivedDate} and
 | 
			
		||||
	 * {@code readDate}
 | 
			
		||||
	 * <br>
 | 
			
		||||
	 * {@code text}
 | 
			
		||||
	 * {@code ""}
 | 
			
		||||
	 * <br>
 | 
			
		||||
	 * {@code status}
 | 
			
		||||
	 * {@code MessageStatus.WAITING}
 | 
			
		||||
	 *
 | 
			
		||||
	 * @return a new instance of {@link Message}
 | 
			
		||||
	 * @since Envoy Common v0.2-alpha
 | 
			
		||||
@@ -111,16 +104,12 @@ public final class MessageBuilder {
 | 
			
		||||
	 * If a mandatory value is not set, a default value will be used
 | 
			
		||||
	 * instead:<br>
 | 
			
		||||
	 * <br>
 | 
			
		||||
	 * <table border="1">
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <td>{@code time stamp}</td>
 | 
			
		||||
	 * <td>{@code Instant.now()}</td>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <td>{@code text}</td>
 | 
			
		||||
	 * <td>{@code ""}</td>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * </table>
 | 
			
		||||
	 * {@code time stamp}
 | 
			
		||||
	 * {@code Instant.now()}
 | 
			
		||||
	 * <br>
 | 
			
		||||
	 * {@code text}
 | 
			
		||||
	 * {@code ""}
 | 
			
		||||
	 * <br>
 | 
			
		||||
	 *
 | 
			
		||||
	 * @param group the {@link Group} that is used to fill the map of member
 | 
			
		||||
	 *              statuses
 | 
			
		||||
@@ -138,16 +127,11 @@ public final class MessageBuilder {
 | 
			
		||||
	 * values. If a mandatory value is not set, a default value will be used
 | 
			
		||||
	 * instead:<br>
 | 
			
		||||
	 * <br>
 | 
			
		||||
	 * <table border="1">
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <td>{@code time stamp}</td>
 | 
			
		||||
	 * <td>{@code Instant.now()}</td>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * <td>{@code text}</td>
 | 
			
		||||
	 * <td>{@code ""}</td>
 | 
			
		||||
	 * <tr>
 | 
			
		||||
	 * </table>
 | 
			
		||||
	 * {@code time stamp}
 | 
			
		||||
	 * {@code Instant.now()}
 | 
			
		||||
	 * <br>
 | 
			
		||||
	 * {@code text}
 | 
			
		||||
	 * {@code ""}
 | 
			
		||||
	 *
 | 
			
		||||
	 * @param group          the {@link Group} that is used to fill the map of
 | 
			
		||||
	 *                       member statuses
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user