Bug 331259 [Compatibility] 3.x commands no longer have states available to them
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/Parameter.java
*            declare type.
	 * @param optional
	 *            Whether this parameter is optional (as opposed to required).
	 */
	public Parameter(final String id, final String name, final IConfigurationElement values,
			final ParameterType parameterType, final boolean optional) {
		if (id == null) {
			throw new NullPointerException("Cannot create a parameter with a null id"); 
		}
		if (name == null) {
			throw new NullPointerException("The name of a parameter cannot be null."); 
		}
		this.id = id;
		this.name = name;
		this.parameterType = parameterType;
		this.optional = optional;
	}
	/**
	 * Tests whether this object is equal to another object. A parameter is only equal to another
	 * parameter with the same properties.
	 * 
	 * @param object
	 *            The object with which to compare; may be <code>null</code>.
	 * @return <code>true</code> if the objects are equal; <code>false</code> otherwise.
	 */
	public final boolean equals(final Object object) {
		if (this == object) {
			return true;
		}
		if (!(object instanceof Parameter)) {