| /****************************************************************************** |
| * Copyright (c) 2004, 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.gmf.runtime.diagram.ui.editparts; |
| |
| import org.eclipse.gef.EditPolicy; |
| |
| /** |
| * Tree edit part customized for a diagram. |
| * |
| * @author schafe |
| * @canBeSeenBy org.eclipse.gmf.runtime.diagram.ui.* |
| */ |
| public class TreeDiagramEditPart extends TreeContainerEditPart{ |
| |
| /** |
| * @see org.eclipse.gef.editparts.AbstractEditPart#createEditPolicies() |
| */ |
| protected void createEditPolicies() { |
| removeEditPolicy(EditPolicy.COMPONENT_ROLE); |
| } |
| |
| /** |
| * Constructor |
| * @param model |
| */ |
| public TreeDiagramEditPart(Object model) { |
| super(model); |
| } |
| |
| } |