package edu.kit.iks.Cryptographics.DiffieHellman;

import java.awt.Color;

public class Model {
	private static Model instance;
	
	private Color alicePublicColor;
	
	private Color alicePrivateColor;
	
	private Color aliceMixedColor;
	
	private Color sharedColor;
	
	private Color bobPublicColor;
	
	private Color bobPrivateColor;
	
	private Color bobMixedColor;
	
	/**
	 * Singleton Class to share between different controller states
	 */
	private Model() {
		
	}
	
	public static Model getInstance() {
		if(instance == null) {
			instance = new Model();
		}
		return instance;
	}

	public Color getAlicePublicColor() {
		return alicePublicColor;
	}

	public void setAlicePublicColor(Color alicePublicColor) {
		this.alicePublicColor = alicePublicColor;
	}

	public Color getAlicePrivateColor() {
		return alicePrivateColor;
	}

	public void setAlicePrivateColor(Color alicePrivateColor) {
		this.alicePrivateColor = alicePrivateColor;
	}
	
	public Color getAliceMixedColor() {
		return aliceMixedColor;
	}

	public Color getSharedColor() {
		return sharedColor;
	}

	public void setSharedColor(Color sharedColor) {
		this.sharedColor = sharedColor;
	}

	public Color getBobPublicColor() {
		return bobPublicColor;
	}

	public void setBobPublicColor(Color bobPublicColor) {
		this.bobPublicColor = bobPublicColor;
	}

	public Color getBobPrivateColor() {
		return bobPrivateColor;
	}

	public void setBobPrivateColor(Color bobPrivateColor) {
		this.bobPrivateColor = bobPrivateColor;
	}

	public Color getBobMixedColor() {
		return bobMixedColor;
	}
	
	public void mixAlicePrivateAndPublic() {
		
	}
	
	public void mixBobPrivateAndPublic() {
		
	}
	
	public void mixShared() {
		
	}
}

@@ -93,40 +93,8 @@
 l %7B%0A
-%09private static Model instance;%0A
 %09%0A%09p
@@ -330,224 +330,32 @@
 %0A%09%0A%09
-/**%0A%09 * Singleton Class to share between different controller states%0A%09 */%0A%09private Model() %7B%0A%09%09%0A%09%7D%0A%09%0A%09public static Model getInstance() %7B%0A%09%09if(instance == null) %7B%0A%09%09%09instance = new Model();%0A%09%09%7D%0A%09%09return instance;%0A%09%7D%0A
+public Model() %7B%0A%09%09%0A%09%7D%0A%09
 %0A%09pu

undo singleton of dh model