X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graphviz%2Fsrc%2Forg%2Fsimantics%2Fgraphviz%2FAbstractIdentifiableGraphPart.java;h=1f9c2df8ac694928c7d6decae044c004a20c2f88;hb=refs%2Fchanges%2F38%2F238%2F2;hp=7dd0bdf200f8d7f832d54d5dfb8f2aba0d31f3f5;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graphviz/src/org/simantics/graphviz/AbstractIdentifiableGraphPart.java b/bundles/org.simantics.graphviz/src/org/simantics/graphviz/AbstractIdentifiableGraphPart.java index 7dd0bdf20..1f9c2df8a 100644 --- a/bundles/org.simantics.graphviz/src/org/simantics/graphviz/AbstractIdentifiableGraphPart.java +++ b/bundles/org.simantics.graphviz/src/org/simantics/graphviz/AbstractIdentifiableGraphPart.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.graphviz; - -/** - * Default implementation for Identifiable and IGraphPart. - * - * @author Hannu Niemistö - */ -public abstract class AbstractIdentifiableGraphPart extends AbstractGraphPart implements Identifiable { - - String id; - - public AbstractIdentifiableGraphPart(IGraph parent) { - super(parent); - this.id = parent.newId(); - } - - @Override - public String getId() { - return id; - } - -} +/******************************************************************************* + * 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; + +/** + * Default implementation for Identifiable and IGraphPart. + * + * @author Hannu Niemistö + */ +public abstract class AbstractIdentifiableGraphPart extends AbstractGraphPart implements Identifiable { + + String id; + + public AbstractIdentifiableGraphPart(IGraph parent) { + super(parent); + this.id = parent.newId(); + } + + @Override + public String getId() { + return id; + } + +}