package viewer.render;

public enum DisplayMode
{
	SINGLE ( 0, "single-source mode" ),
	GROUP  ( 1, "single-group mode"),
	FUSED  ( 2, "fused mode" );

	private final int id;
	private final String name;

	private DisplayMode( final int id, final String name )
	{
		this.id = id;
		this.name = name;
	}

	public int id()
	{
		return id;
	}

	public String getName()
	{
		return name;
	}

	public static final int length;

	static
	{
		length = values().length;
	}
}

@@ -51,16 +51,20 @@
 %09SINGLE 
+    
 ( 0, %22si
@@ -92,16 +92,20 @@
 %09GROUP  
+    
 ( 1, %22si
@@ -131,16 +131,20 @@
 %09FUSED  
+    
 ( 2, %22fu
@@ -152,16 +152,55 @@
 ed mode%22
+ ),%0A%09FUSEDGROUP ( 3, %22fused group mode%22
  );%0A%0A%09pr

introduce new display mode "fused group".