X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.g2d%2Fsrc%2Forg%2Fsimantics%2Fg2d%2Fdiagram%2Fparticipant%2FElementJSON.java;h=2c7811bbb9be06b3bcf5ff1b2d8b59bb73fad223;hb=HEAD;hp=ffeb83fcf12ba4ca2a2a74c4c2006c895e0a4583;hpb=fdbe87627e92805701d0672fbe8f1dc60b7f7b00;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.g2d/src/org/simantics/g2d/diagram/participant/ElementJSON.java b/bundles/org.simantics.g2d/src/org/simantics/g2d/diagram/participant/ElementJSON.java index ffeb83fcf..2c7811bbb 100644 --- a/bundles/org.simantics.g2d/src/org/simantics/g2d/diagram/participant/ElementJSON.java +++ b/bundles/org.simantics.g2d/src/org/simantics/g2d/diagram/participant/ElementJSON.java @@ -1,30 +1,30 @@ -/******************************************************************************* - * Copyright (c) 2016 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: - * Semantum Oy - initial API and implementation - *******************************************************************************/ -package org.simantics.g2d.diagram.participant; - -import java.util.Optional; - -import org.simantics.g2d.canvas.ICanvasParticipant; -import org.simantics.g2d.element.IElement; - -/** - * @author Antti Villberg - */ -public interface ElementJSON extends ICanvasParticipant { - - /** - * @param element - * @return JSON that describes the provided diagram element - */ - public Optional getJSON(IElement element); - -} +/******************************************************************************* + * Copyright (c) 2016 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: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics.g2d.diagram.participant; + +import java.util.Optional; + +import org.simantics.g2d.canvas.ICanvasParticipant; +import org.simantics.g2d.element.IElement; + +/** + * @author Antti Villberg + */ +public interface ElementJSON extends ICanvasParticipant { + + /** + * @param element + * @return JSON that describes the provided diagram element + */ + public Optional getJSON(IElement element); + +}