org.eclipse.jface.action.StatusLineLayoutData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.jface Show documentation
Show all versions of org.eclipse.jface Show documentation
This is org.eclipse.jface jar used by Scout SDK
The newest version!
/*******************************************************************************
* Copyright (c) 2000, 2015 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.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();
}
}