public class DotAstHelper
extends java.lang.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,
java.lang.String name) |
static org.eclipse.gef.dot.internal.language.terminals.ID |
getAttributeValue(java.util.List<org.eclipse.gef.dot.internal.language.dot.AttrList> attrLists,
java.lang.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,
java.lang.String name) |
static org.eclipse.gef.dot.internal.language.terminals.ID |
getAttributeValueAll(org.eclipse.gef.dot.internal.language.dot.DotGraph graph,
java.lang.String name) |
static java.lang.String |
getColorSchemeAttributeValue(org.eclipse.gef.dot.internal.language.dot.Attribute attribute)
Returns the color scheme attribute value that is set for the given
attribute.
|
public static java.lang.String getColorSchemeAttributeValue(org.eclipse.gef.dot.internal.language.dot.Attribute attribute)
attribute - The attribute to determine the color scheme attribute value
for.public static org.eclipse.gef.dot.internal.language.terminals.ID getAttributeValue(org.eclipse.gef.dot.internal.language.dot.DotGraph graph,
java.lang.String name)
public static org.eclipse.gef.dot.internal.language.terminals.ID getAttributeValueAll(org.eclipse.gef.dot.internal.language.dot.DotGraph graph,
java.lang.String name)
public static org.eclipse.gef.dot.internal.language.terminals.ID getAttributeValue(org.eclipse.gef.dot.internal.language.dot.Subgraph subgraph,
java.lang.String name)
public static org.eclipse.gef.dot.internal.language.terminals.ID getAttributeValue(java.util.List<org.eclipse.gef.dot.internal.language.dot.AttrList> attrLists,
java.lang.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.