All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jface.action.StatusLineLayoutData Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2000, 2006 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(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy