Entry Separator

This commit is contained in:
Olof Larsson 2016-05-12 17:23:14 +02:00
parent a2a1cf269f
commit ab530b6636
No known key found for this signature in database
GPG Key ID: BBEF14F97DA52474
2 changed files with 4 additions and 0 deletions

View File

@ -42,10 +42,12 @@ public abstract class TypeAbstract<T> implements Type<T>
public static final String NULL = Txt.parse("<silver><em>NONE");
public static final String EMPTY = Txt.parse("<silver><em>EMPTY");
public static final String UNKNOWN = Txt.parse("<b>???");
public static final String COLONSPACE = Txt.parse("<silver>: ");
public static final Mson MSON_NULL = Mson.fromParsedMessage(NULL);
public static final Mson MSON_EMPTY = Mson.fromParsedMessage(EMPTY);
public static final Mson MSON_UNKNOWN = Mson.fromParsedMessage(UNKNOWN);
public static final Mson MSON_COLONSPACE = Mson.fromParsedMessage(COLONSPACE);
public static final ChatColor COLOR_DEFAULT = ChatColor.YELLOW;
public static final ChatColor COLOR_NUMBER = ChatColor.LIGHT_PURPLE;

View File

@ -25,6 +25,8 @@ public class TypeEntry<K, V> extends TypeCombined<Entry<K, V>>
{
super(Entry.class, keyType, valueType);
this.setTypeNameSeparator(" and ");
this.setVisualSeparator(COLONSPACE);
this.setVisualMsonSeparator(MSON_COLONSPACE);
}
// -------------------------------------------- //