| //------------------------------------------------------------------------------ |
| // Copyright (c) 2005, 2007 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 implementation |
| //------------------------------------------------------------------------------ |
| /** |
| * |
| */ |
| package org.eclipse.epf.diagramming.base.figures; |
| |
| import org.eclipse.draw2d.RectangleFigure; |
| import org.eclipse.gmf.runtime.draw2d.ui.mapmode.MapModeUtil; |
| |
| /** |
| * @author Shashidhar Kannoori |
| * |
| */ |
| public class ForkNodeFigure extends RectangleFigure { |
| |
| public void setSize(int w, int h) { |
| super.setSize(MapModeUtil.getMapMode().DPtoLP(100), |
| MapModeUtil.getMapMode().DPtoLP(8)); |
| } |
| } |