Package org.eclipse.graphiti.platform.ga
Class RendererContext
java.lang.Object
org.eclipse.graphiti.platform.ga.RendererContext
- All Implemented Interfaces:
IDiagramTypeProviderHolder
,IGraphicsAlgorithmHolder
,IRendererContext
The Class RendererContext.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the diagram type provider.Returns the graphics algorithm.Gets the mapping provider.Gets the platform graphics algorithm.
-
Constructor Details
-
RendererContext
Creates a newRendererContext
.- Parameters:
pga
- the platform graphics algorithmdtp
- the diagram type provider
-
-
Method Details
-
getMappingProvider
Description copied from interface:IRendererContext
Gets the mapping provider.- Specified by:
getMappingProvider
in interfaceIRendererContext
- Returns:
- the mapping provider
-
getPlatformGraphicsAlgorithm
Description copied from interface:IRendererContext
Gets the platform graphics algorithm.- Specified by:
getPlatformGraphicsAlgorithm
in interfaceIRendererContext
- Returns:
- the platform graphics algorithm
-
getDiagramTypeProvider
Description copied from interface:IDiagramTypeProviderHolder
Gets the diagram type provider.- Specified by:
getDiagramTypeProvider
in interfaceIDiagramTypeProviderHolder
- Returns:
- the diagram type provider
-
getGraphicsAlgorithm
Description copied from interface:IGraphicsAlgorithmHolder
Returns the graphics algorithm.- Specified by:
getGraphicsAlgorithm
in interfaceIGraphicsAlgorithmHolder
- Returns:
- the graphics algorithm
-