|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.graphiti.platform.ga.RendererContext
public class RendererContext
The Class RendererContext.
Field Summary | |
---|---|
private IDiagramTypeProvider |
diagramTypeProvider
|
private PlatformGraphicsAlgorithm |
platformGraphicsAlgorithm
|
Constructor Summary | |
---|---|
RendererContext(PlatformGraphicsAlgorithm pga,
IDiagramTypeProvider dtp)
Creates a new RendererContext . |
Method Summary | |
---|---|
IDiagramTypeProvider |
getDiagramTypeProvider()
Gets the diagram type provider. |
GraphicsAlgorithm |
getGraphicsAlgorithm()
Returns the graphics algorithm. |
IMappingProvider |
getMappingProvider()
Gets the mapping provider. |
PlatformGraphicsAlgorithm |
getPlatformGraphicsAlgorithm()
Gets the platform graphics algorithm. |
private void |
setDiagramTypeProvider(IDiagramTypeProvider diagramTypeProvider)
|
private void |
setPlatformGraphicsAlgorithm(PlatformGraphicsAlgorithm platformGraphicsAlgorithm)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private PlatformGraphicsAlgorithm platformGraphicsAlgorithm
private IDiagramTypeProvider diagramTypeProvider
Constructor Detail |
---|
public RendererContext(PlatformGraphicsAlgorithm pga, IDiagramTypeProvider dtp)
RendererContext
.
pga
- the platform graphics algorithmdtp
- the diagram type providerMethod Detail |
---|
public IMappingProvider getMappingProvider()
IRendererContext
getMappingProvider
in interface IRendererContext
public PlatformGraphicsAlgorithm getPlatformGraphicsAlgorithm()
IRendererContext
getPlatformGraphicsAlgorithm
in interface IRendererContext
public IDiagramTypeProvider getDiagramTypeProvider()
IDiagramTypeProviderHolder
getDiagramTypeProvider
in interface IDiagramTypeProviderHolder
public GraphicsAlgorithm getGraphicsAlgorithm()
IGraphicsAlgorithmHolder
getGraphicsAlgorithm
in interface IGraphicsAlgorithmHolder
private void setPlatformGraphicsAlgorithm(PlatformGraphicsAlgorithm platformGraphicsAlgorithm)
private void setDiagramTypeProvider(IDiagramTypeProvider diagramTypeProvider)
diagramTypeProvider
- the diagramTypeProvider to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |