diff options
Diffstat (limited to 'uml/org.eclipse.papyrus.diagram.common/src/org/eclipse/papyrus/diagram/common/editparts/NeedsParentEditPart.java')
-rw-r--r-- | uml/org.eclipse.papyrus.diagram.common/src/org/eclipse/papyrus/diagram/common/editparts/NeedsParentEditPart.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/uml/org.eclipse.papyrus.diagram.common/src/org/eclipse/papyrus/diagram/common/editparts/NeedsParentEditPart.java b/uml/org.eclipse.papyrus.diagram.common/src/org/eclipse/papyrus/diagram/common/editparts/NeedsParentEditPart.java new file mode 100644 index 00000000000..f265ceec7f3 --- /dev/null +++ b/uml/org.eclipse.papyrus.diagram.common/src/org/eclipse/papyrus/diagram/common/editparts/NeedsParentEditPart.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008 Conselleria de Infraestructuras y Transporte, + * Generalitat de la Comunitat Valenciana . + * 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: Francisco Javier Cano Muñoz (Prodevelop) - initial API implementation + * + ******************************************************************************/ +package org.eclipse.papyrus.diagram.common.editparts; + +import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; + +/** + * This primary figure editpart requires to be informed about the parent editpart immediately after creation. + */ +public interface NeedsParentEditPart { + + public void hookParentEditPart(GraphicalEditPart parentEditPart); +} |