| /******************************************************************************* |
| * Copyright 2005, CHISEL Group, University of Victoria, Victoria, BC, Canada. |
| * 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: |
| * The Chisel Group, University of Victoria |
| *******************************************************************************/ |
| package org.eclipse.mylar.zest.core.internal.viewers.figures; |
| |
| import org.eclipse.swt.SWT; |
| import org.eclipse.swt.widgets.Canvas; |
| import org.eclipse.swt.widgets.Composite; |
| |
| |
| /** |
| * The Graph class is a FigureCanvas used for displaying graph items |
| * such as nodes and edges. Scrollbars are not shown by default. |
| * |
| * @author Chris Callendar |
| */ |
| public class Graph extends Canvas { |
| |
| /** |
| * @param parent |
| */ |
| public Graph(Composite parent) { |
| super(parent, SWT.NONE); |
| |
| //setScrollBarVisibility(FigureCanvas.NEVER); |
| } |
| |
| |
| |
| } |