package org.verapdf.gui.tools;

/**
 * @author Evgeniy Muravitskiy
 */
public enum ProcessingType {

	VALIDATING("Validation"),

	FEATURES("Features"),

	VALIDATING_AND_FEATURES("Validation & Features");

	private final String value;

	ProcessingType(String value) {
		this.value = value;
	}

	public boolean isValidating() {
		return this == VALIDATING || this == VALIDATING_AND_FEATURES;
	}

	public boolean isFeatures() {
		return this == FEATURES || this == VALIDATING_AND_FEATURES;
	}

	@Override
	public String toString() {
		return this.value;
	}

}

@@ -110,96 +110,131 @@
 ING(
-%22Validation%22),%0A%0A%09FEATURES(%22Features%22),%0A%0A%09VALIDATING_AND_FEATURES(%22Validation & Features%22
+GUIConstants.VALIDATING),%0A%0A%09FEATURES(GUIConstants.FEATURES),%0A%0A%09VALIDATING_AND_FEATURES(GUIConstants.VALIDATING_AND_FEATURES
 );%0A%0A

Use constants in processing type