Package org.eclipse.gef.zest.fx.parts
Class ZestFxContentPartFactory
java.lang.Object
org.eclipse.gef.zest.fx.parts.ZestFxContentPartFactory
- All Implemented Interfaces:
IContentPartFactory
The
ZestFxContentPartFactory
is a Graph
-specific
IContentPartFactory
. It creates GraphPart
s,
NodePart
s, and EdgePart
s for the corresponding
Graph
s, Node
s, and Edge
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIContentPart<? extends Node>
createContentPart
(Object content, Map<Object, Object> contextMap) protected Injector
Access to the injector that is used to initialize the result objects ofcreateContentPart(Object, Map)
.
-
Constructor Details
-
ZestFxContentPartFactory
public ZestFxContentPartFactory()
-
-
Method Details
-
createContentPart
public IContentPart<? extends Node> createContentPart(Object content, Map<Object, Object> contextMap) - Specified by:
createContentPart
in interfaceIContentPartFactory
-
getInjector
Access to the injector that is used to initialize the result objects ofcreateContentPart(Object, Map)
.- Returns:
- the injector.
- Since:
- 5.1
-