X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.graphviz%2Fexamples%2Forg%2Fsimantics%2Fgraphviz%2Fexamples%2FRecordExample1.java;h=9004f98bcefe1de4bb9135a1450d390f9f2b2c49;hp=9fcc268554258a00f4aaf8caeae226378553321f;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.graphviz/examples/org/simantics/graphviz/examples/RecordExample1.java b/bundles/org.simantics.graphviz/examples/org/simantics/graphviz/examples/RecordExample1.java old mode 100755 new mode 100644 index 9fcc26855..9004f98bc --- a/bundles/org.simantics.graphviz/examples/org/simantics/graphviz/examples/RecordExample1.java +++ b/bundles/org.simantics.graphviz/examples/org/simantics/graphviz/examples/RecordExample1.java @@ -1,30 +1,30 @@ -/******************************************************************************* - * 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.examples; - -import org.simantics.graphviz.Graph; -import org.simantics.graphviz.Graphs; -import org.simantics.graphviz.Node; - -public class RecordExample1 { - - public static void main(String[] args) { - Graph graph = new Graph(); - - Node node = new Node(graph); - node.setLabel("<
<AAA
B
>"); - node.setShape("plaintext"); - - Graphs.show(graph); - } - -} +/******************************************************************************* + * 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.examples; + +import org.simantics.graphviz.Graph; +import org.simantics.graphviz.Graphs; +import org.simantics.graphviz.Node; + +public class RecordExample1 { + + public static void main(String[] args) { + Graph graph = new Graph(); + + Node node = new Node(graph); + node.setLabel("<
<AAA
B
>"); + node.setShape("plaintext"); + + Graphs.show(graph); + } + +}