blob: c6d947b6d0917d4fcb5465bd2ba200b61e89ee17 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.update.ui.forms.internal;
import org.eclipse.swt.widgets.Composite;
/**
* Classes that extend abstract class Layout and implement
* this interface can take part in layout computation of
* the HTMLTableLayout manager. The said layout uses
* alternative algorithm that computes columns before rows.
* It allows it to 'flow' wrapped text proportionally
* (as in the popular web browsers). Custom layout managers
* that implement this interface allow recursive reflow
* to be performed.
*/
public interface ILayoutExtension {
public int getMinimumWidth(Composite parent, boolean changed);
public int getMaximumWidth(Composite parent, boolean changed);
}