Class DescriptorBase
Denotes the base class for graph element descriptors
public abstract class DescriptorBase
- Inheritance
-
DescriptorBase
- Derived
- Inherited Members
Methods
CalculateTypeHints()
Calculates type hints for this rule
protected abstract IEnumerable<TypeHint> CalculateTypeHints()
Returns
- IEnumerable<TypeHint>
A collection of type hints
CreateGraph(object, IDiagram, ISkeletonTrace)
Creates the graph for the given semantic root element
protected abstract GGraph CreateGraph(object semanticRoot, IDiagram diagram, ISkeletonTrace trace)
Parameters
semanticRoot
objectThe semantic root element
diagram
IDiagramThe notation diagram
trace
ISkeletonTraceA skeleton trace
Returns
- GGraph
The Graph instance
D<T>()
Resolves the given descriptor type to a descriptor
protected T D<T>() where T : DescriptorBase
Returns
- T
The descriptor instance, if any
Type Parameters
T
The type of elements
DefineLayout()
Called by the graphical language setup to initialize the layout described by this descriptor
protected abstract void DefineLayout()