1 package org.simantics.sysdyn.ui.wizards.functions;
\r
3 import org.simantics.browsing.ui.graph.impl.contributor.labeler.LabelerContributorImpl;
\r
4 import org.simantics.db.ReadGraph;
\r
5 import org.simantics.db.common.utils.NameUtils;
\r
6 import org.simantics.db.exception.DatabaseException;
\r
7 import org.simantics.sysdyn.ui.browser.nodes.SharedFunctionLibraryNode;
\r
9 public class FunctionTreeSharedLibraryLabeler extends LabelerContributorImpl<SharedFunctionLibraryNode>{
\r
12 public String getLabel(ReadGraph graph, SharedFunctionLibraryNode input)
\r
13 throws DatabaseException {
\r
14 return NameUtils.getSafeName(graph, input.data);
\r