/*******************************************************************************
* Copyright (c) 2011, 2012 Tom Seidel, Remus Software
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*
* Contributors:
* Tom Seidel - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.htmltext.configuration;
/**
* <p>
* Whether automatically create wrapping blocks around inline contents inside
* document body, this helps to ensure the integrality of the block enter mode.
* </p>
* <p>
* Note: Changing the default value might introduce unpredictable usability
* issues.
* </p>
*
* @author Tom Seidel <tom.seidel@remus-software.org>
* @since 0.8
* @noextend This class is not intended to be subclassed by clients.
*/
public class AutoparagrahConfiguration extends ConfigurationElement {
public AutoparagrahConfiguration(boolean value) {
super("autoParagraph", Boolean.valueOf(value));
}
/* (non-Javadoc)
* @see org.eclipse.mylyn.internal.htmltext.configuration.ConfigurationElement#doGetDefaultValue()
*/
@Override
protected Object doGetDefaultValue() {
return Boolean.FALSE;
}
}