X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.graph%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fgraph%2Fcontributor%2Flabeler%2FContextFinalLabelerContributor.java;h=024998696ec6720dfa84b9355302737d2a7f19c4;hp=3cd75c7be08566962cb6d9822dda137b257b0228;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.browsing.ui.graph/src/org/simantics/browsing/ui/graph/contributor/labeler/ContextFinalLabelerContributor.java b/bundles/org.simantics.browsing.ui.graph/src/org/simantics/browsing/ui/graph/contributor/labeler/ContextFinalLabelerContributor.java index 3cd75c7be..024998696 100644 --- a/bundles/org.simantics.browsing.ui.graph/src/org/simantics/browsing/ui/graph/contributor/labeler/ContextFinalLabelerContributor.java +++ b/bundles/org.simantics.browsing.ui.graph/src/org/simantics/browsing/ui/graph/contributor/labeler/ContextFinalLabelerContributor.java @@ -1,32 +1,32 @@ -/******************************************************************************* - * 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.browsing.ui.graph.contributor.labeler; - -import org.simantics.browsing.ui.NodeContext; -import org.simantics.browsing.ui.graph.impl.contributor.labeler.ContextFinalLabelerContributorImpl; -import org.simantics.db.ReadGraph; -import org.simantics.db.exception.DatabaseException; - -abstract public class ContextFinalLabelerContributor extends ContextFinalLabelerContributorImpl { - - public ContextFinalLabelerContributor() { - super(); - } - - public ContextFinalLabelerContributor(Class clazz) { - super(clazz); - } - - @Override - abstract public String getLabel(ReadGraph graph, NodeContext input) throws DatabaseException; - +/******************************************************************************* + * 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.browsing.ui.graph.contributor.labeler; + +import org.simantics.browsing.ui.NodeContext; +import org.simantics.browsing.ui.graph.impl.contributor.labeler.ContextFinalLabelerContributorImpl; +import org.simantics.db.ReadGraph; +import org.simantics.db.exception.DatabaseException; + +abstract public class ContextFinalLabelerContributor extends ContextFinalLabelerContributorImpl { + + public ContextFinalLabelerContributor() { + super(); + } + + public ContextFinalLabelerContributor(Class clazz) { + super(clazz); + } + + @Override + abstract public String getLabel(ReadGraph graph, NodeContext input) throws DatabaseException; + } \ No newline at end of file