org.eclipse.jface.action.StatusLineLayoutData Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2000, 2015 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jface.action;
import org.eclipse.swt.SWT;
/**
* Represents the layout data object for Control
within the status line.
* To set a StatusLineLayoutData
object into a Control
, use
* the setLayoutData()
method.
*
* NOTE: Do not reuse StatusLineLayoutData
objects. Every control in the
* status line must have a unique StatusLineLayoutData
instance or
* null
.
*
*
* @since 2.1
*/
public class StatusLineLayoutData {
/**
* The widthHint
specifies a minimum width for
* the Control
. A value of SWT.DEFAULT
* indicates that no minimum width is specified.
*
* The default value is SWT.DEFAULT
.
*/
public int widthHint = SWT.DEFAULT;
/**
* The heightHint
specifies a minimum height for
* the Control
. A value of SWT.DEFAULT
* indicates that no minimum height is specified.
*
* The default value is SWT.DEFAULT
.
*/
public int heightHint = SWT.DEFAULT;
/**
* Creates an initial status line layout data object.
*/
public StatusLineLayoutData() {
super();
}
}