X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.g2d%2Fsrc%2Forg%2Fsimantics%2Fg2d%2Fdnd%2FIDragItem.java;h=e2c8aa474a9429a40677cc606ef2ce214ec058f3;hb=e0334c5555088193846c692743067db8e43548d6;hp=a2f4fb5c63f216c1ca07736a5aa03619c13f4f75;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.g2d/src/org/simantics/g2d/dnd/IDragItem.java b/bundles/org.simantics.g2d/src/org/simantics/g2d/dnd/IDragItem.java index a2f4fb5c6..e2c8aa474 100644 --- a/bundles/org.simantics.g2d/src/org/simantics/g2d/dnd/IDragItem.java +++ b/bundles/org.simantics.g2d/src/org/simantics/g2d/dnd/IDragItem.java @@ -1,33 +1,33 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * 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: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.g2d.dnd; - -import java.awt.geom.Rectangle2D; - -import org.simantics.scenegraph.g2d.G2DParentNode; -import org.simantics.utils.datastructures.hints.IHintContext; - -/** - * @author Toni Kalajainen - */ -public interface IDragItem { - - /** - * @return a hint context for storing related hints - */ - IHintContext getHintContext(); - - Rectangle2D getBounds(); - - void paint(G2DParentNode parent); - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * 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: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.g2d.dnd; + +import java.awt.geom.Rectangle2D; + +import org.simantics.scenegraph.g2d.G2DParentNode; +import org.simantics.utils.datastructures.hints.IHintContext; + +/** + * @author Toni Kalajainen + */ +public interface IDragItem { + + /** + * @return a hint context for storing related hints + */ + IHintContext getHintContext(); + + Rectangle2D getBounds(); + + void paint(G2DParentNode parent); + +}