X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graphviz%2Fsrc%2Forg%2Fsimantics%2Fgraphviz%2Fdrawable%2FDrawable.java;h=c4fecbfe121caaeb94b90fee4e720843465fdb51;hb=refs%2Fchanges%2F38%2F238%2F2;hp=a29fc82168c36c9ff8dd6033126a0f619b3210f4;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graphviz/src/org/simantics/graphviz/drawable/Drawable.java b/bundles/org.simantics.graphviz/src/org/simantics/graphviz/drawable/Drawable.java index a29fc8216..c4fecbfe1 100644 --- a/bundles/org.simantics.graphviz/src/org/simantics/graphviz/drawable/Drawable.java +++ b/bundles/org.simantics.graphviz/src/org/simantics/graphviz/drawable/Drawable.java @@ -1,25 +1,25 @@ -/******************************************************************************* - * 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.graphviz.drawable; - -import java.awt.Graphics2D; -import java.awt.geom.Rectangle2D; - -/** - * An object that can be drawn. Copied from org.jfree.ui in order to avoid an dependency. - * - * @author Hannu Niemistö - */ -public interface Drawable { - public void draw(Graphics2D g, Rectangle2D area); - public Rectangle2D getBounds(); -} +/******************************************************************************* + * 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.graphviz.drawable; + +import java.awt.Graphics2D; +import java.awt.geom.Rectangle2D; + +/** + * An object that can be drawn. Copied from org.jfree.ui in order to avoid an dependency. + * + * @author Hannu Niemistö + */ +public interface Drawable { + public void draw(Graphics2D g, Rectangle2D area); + public Rectangle2D getBounds(); +}