public class DotAstHelper extends Object
| Constructor and Description |
|---|
DotAstHelper() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.gef.dot.internal.language.terminals.ID |
getAttributeValue(org.eclipse.gef.dot.internal.language.dot.DotGraph graph,
String name) |
static org.eclipse.gef.dot.internal.language.terminals.ID |
getAttributeValue(List<org.eclipse.gef.dot.internal.language.dot.AttrList> attrLists,
String name)
Returns the value of the first attribute with the give name or
null if no attribute could be found. |
static org.eclipse.gef.dot.internal.language.terminals.ID |
getAttributeValue(org.eclipse.gef.dot.internal.language.dot.Subgraph subgraph,
String name) |
public static org.eclipse.gef.dot.internal.language.terminals.ID getAttributeValue(org.eclipse.gef.dot.internal.language.dot.DotGraph graph,
String name)
public static org.eclipse.gef.dot.internal.language.terminals.ID getAttributeValue(org.eclipse.gef.dot.internal.language.dot.Subgraph subgraph,
String name)
public static org.eclipse.gef.dot.internal.language.terminals.ID getAttributeValue(List<org.eclipse.gef.dot.internal.language.dot.AttrList> attrLists, String name)
null if no attribute could be found.attrLists - The AttrLists to search.name - The name of the attribute whose value is to be retrieved.null in case the attribute
could not be found.Copyright (c) 2014 itemis AG and others. All rights reserved.