blob: c6503848539b33aca8fe96025262b3075560ece0 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.html.core.internal.format;
import org.eclipse.wst.html.core.internal.provisional.HTMLFormatContraints;
import org.eclipse.wst.sse.core.internal.format.StructuredFormatContraints;
/**
* @deprecated
* Please un-deprecate this if Page Designer thinks they are needed.
*/
public class HTMLFormatContraintsImpl extends StructuredFormatContraints implements HTMLFormatContraints {
protected int fAvailableLineWidth;
/**
* @deprecated
* It's very hard to keep the available line width accurate.
* Sometimes a node wants to start on a new line, sometimes it doesn't.
* It's best for the node to figure out the available line width on the fly.
*/
public int getAvailableLineWidth() {
return fAvailableLineWidth;
}
/**
* @deprecated
* It's very hard to keep the available line width accurate.
* Sometimes a node wants to start on a new line, sometimes it doesn't.
* It's best for the node to figure out the available line width on the fly.
*/
public void setAvailableLineWidth(int availableLineWidth) {
fAvailableLineWidth = availableLineWidth;
}
}