Skip to main content
summaryrefslogtreecommitdiffstats
blob: db3217e206a92b87e122d335b1d8b5acfa6eb19c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2004, 2005 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.provisional;

import org.eclipse.wst.sse.core.internal.format.IStructuredFormatContraints;

/**
 * @deprecated
 * Please un-deprecate this if Page Designer thinks they are needed.
 */
public interface HTMLFormatContraints extends IStructuredFormatContraints {
	/**
	 * @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.
	 */
	int getAvailableLineWidth();

	/**
	 * @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.
	 */
	void setAvailableLineWidth(int availableLineWidth);
}

Back to the top