blob: 2b53372a8f6b22be628c70838418ddc1dbaac160 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2010 Soyatec (http://www.soyatec.com) 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:
* Soyatec - initial API and implementation
*******************************************************************************/
package org.eclipse.xwt.tools.ui.designer.policies.layout.grid;
import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.RectangleFigure;
import org.eclipse.swt.SWT;
/**
* Feedback figure to show outer line of an added cell outside the grid.
*
* @since 1.2.0
*/
public class GridLayoutAddedCellFeedbackFigure extends RectangleFigure {
public GridLayoutAddedCellFeedbackFigure() {
super();
setLineStyle(SWT.LINE_DASH);
setLineWidth(2);
setForegroundColor(ColorConstants.yellow);
setFill(false);
}
}