Package org.eclipse.gef.zest.fx
Class ZestFxModule
java.lang.Object
com.google.inject.AbstractModule
org.eclipse.gef.mvc.fx.MvcFxModule
org.eclipse.gef.zest.fx.ZestFxModule
- All Implemented Interfaces:
Module
- Direct Known Subclasses:
ZestFxJFaceModule
The
ZestFxModule
defines Zest.FX specific bindings additional to the
bindings defined within MvcFxModule
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
bindAbstractContentPartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected void
bindChangeViewportPolicyAsIRootPartAdapter
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected void
bindEdgeLabelPartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forEdgeLabelPart
and all sub-classes.protected void
bindEdgePartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forEdgePart
and all sub-classes.protected void
bindFXCircleSegmentHandlePartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind bend-on-drag policy toCircleSegmentHandlePart
.protected void
bindFXSquareSegmentHandlePartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind resize and rotate behavior toSquareSegmentHandlePart
.protected void
bindGraphPartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forGraphPart
and all sub-classes.protected void
bindHidingHoverHandlePartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forHideHoverHandlePart
and all sub-classes.protected void
bindHoverHandlePartFactoryAsContentViewerAdapter
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected void
BindsIContentPartFactory
toZestFxContentPartFactory
.protected void
bindIRootPartAdaptersForContentViewer
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected void
bindIViewerAdaptersForContentViewer
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected void
bindNavigationModelAsContentViewerAdapter
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds a binding forNavigationModel
to the given adapter map binder that will insert the bindings intoIViewer
s.protected void
bindNodeLabelPartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forNodeLabelPart
and all sub-classes.protected void
bindNodePartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forNodePart
and all sub-classes.protected void
bindRootPartAsContentViewerAdapter
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected void
bindSelectionFeedbackPartFactoryAsContentViewerAdapter
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected void
bindSelectionHandlePartFactoryAsContentViewerAdapter
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected void
bindShowHiddenNeighborsHoverHandlePartAdapters
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forShowHiddenNeighborsHoverHandlePart
and all sub-classes.protected void
bindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter
(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds a binding forShowHiddenNeighborsOfFirstAnchorageOnClickHandler
to the given adapter map binder that will insert the bindings intoShowHiddenNeighborsHoverHandlePart
s.protected void
Methods inherited from class org.eclipse.gef.mvc.fx.MvcFxModule
bindAbstractFeedbackPartAdapters, bindAbstractHandlePartAdapters, bindAbstractVisualPartAdapters, bindClickDragGesture, bindClickDragGestureAsDomainAdapter, bindConnectedSupportAsContentViewerAdapter, bindContentBehaviorAsIRootPartAdapter, bindContentIViewerAsIDomainAdapter, bindContentPartPoolAsContentViewerAdapter, bindContentPolicyAsAbstractContentPartAdapter, bindCreationPolicyAsIRootPartAdapter, bindCursorSupportAsContentViewerAdapter, bindDeletionPolicyAsIRootPartAdapter, bindFocusAndSelectOnClickHandlerAsIRootPartAdapter, bindFocusBehaviorAsIRootPartAdapter, bindFocusFeedbackPartFactoryAsContentViewerAdapter, bindFocusModelAsContentViewerAdapter, bindFocusTraversalPolicyAsIRootPartAdapter, bindGridBehaviorAsIRootPartAdapter, bindGridModelAsContentViewerAdapter, bindHoverBehaviorAsIRootPartAdapter, bindHoverFeedbackPartFactoryAsContentViewerAdapter, bindHoverGesture, bindHoverGestureAsDomainAdapter, bindHoverIntentBehaviorAsIRootPartAdapter, bindHoverModelAsContentViewerAdapter, bindHoverOnHoverHandlerAsAbstractHandlePartAdapter, bindHoverOnHoverHandlerAsIRootPartAdapter, bindIContentPartFactoryAsContentViewerAdapter, bindIDomain, bindIDomainAdapters, bindIHandlerResolver, bindIHandlerResolverAsIDomainAdapter, bindIOperationHistory, bindIRootPart, bindIUndoContext, bindIViewer, bindMarqueeOnDragHandlerAsIRootPartAdapter, bindPanningSupportAsContentViewerAdapter, bindPanOnTypeHandlerAsIRootPartAdapter, bindPanOrZoomOnScrollHandlerAsIRootPartAdapter, bindPinchSpreadGesture, bindPinchSpreadGestureAsIDomainAdapter, bindRevealPrimarySelectionBehaviorAsIRootPartAdapter, bindRotateGesture, bindRotateGestureAsDomainAdapter, bindScrollGesture, bindScrollGestureAsDomainAdapter, bindSelectionBehaviorAsIRootPartAdapter, bindSelectionModelAsContentViewerAdapter, bindSnappingBehaviorAsIRootPartAdapter, bindSnappingFeedbackPartFactoryAsContentViewerAdapter, bindSnappingModelAsContentViewerAdapter, bindSnapToSupportAsContentViewerAdapter, bindTransformProviderAsAbstractContentPartAdapter, bindTypeGesture, bindTypeGestureAsDomainAdapter, bindZoomOnPinchSpreadHandlerAsIRootPartAdapter, enableAdapterMapInjection
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
ZestFxModule
public ZestFxModule()
-
-
Method Details
-
bindAbstractContentPartAdapters
- Overrides:
bindAbstractContentPartAdapters
in classMvcFxModule
-
bindChangeViewportPolicyAsIRootPartAdapter
protected void bindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindChangeViewportPolicyAsIRootPartAdapter
in classMvcFxModule
-
bindEdgeLabelPartAdapters
Adds (default) adapter map bindings forEdgeLabelPart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingEdgeLabelPart
as a key.- See Also:
-
bindEdgePartAdapters
Adds (default) adapter map bindings forEdgePart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingEdgePart
as a key.- See Also:
-
bindFXCircleSegmentHandlePartAdapters
protected void bindFXCircleSegmentHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind bend-on-drag policy toCircleSegmentHandlePart
.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingCircleSegmentHandlePart
as a key.
-
bindFXSquareSegmentHandlePartAdapters
protected void bindFXSquareSegmentHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind resize and rotate behavior toSquareSegmentHandlePart
.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingSquareSegmentHandlePart
as a key.
-
bindGraphPartAdapters
Adds (default) adapter map bindings forGraphPart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingGraphPart
as a key.- See Also:
-
bindHidingHoverHandlePartAdapters
Adds (default) adapter map bindings forHideHoverHandlePart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingHideHoverHandlePart
as a key.- See Also:
-
bindHoverHandlePartFactoryAsContentViewerAdapter
protected void bindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindHoverHandlePartFactoryAsContentViewerAdapter
in classMvcFxModule
-
bindIContentPartFactory
protected void bindIContentPartFactory()BindsIContentPartFactory
toZestFxContentPartFactory
. -
bindIRootPartAdaptersForContentViewer
protected void bindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindIRootPartAdaptersForContentViewer
in classMvcFxModule
-
bindIViewerAdaptersForContentViewer
protected void bindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindIViewerAdaptersForContentViewer
in classMvcFxModule
-
bindNodeLabelPartAdapters
Adds (default) adapter map bindings forNodeLabelPart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingNodeLabelPart
as a key.- See Also:
-
bindNodePartAdapters
Adds (default) adapter map bindings forNodePart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingNodePart
as a key.- See Also:
-
bindRootPartAsContentViewerAdapter
- Overrides:
bindRootPartAsContentViewerAdapter
in classMvcFxModule
-
bindSelectionFeedbackPartFactoryAsContentViewerAdapter
protected void bindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindSelectionFeedbackPartFactoryAsContentViewerAdapter
in classMvcFxModule
-
bindSelectionHandlePartFactoryAsContentViewerAdapter
protected void bindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindSelectionHandlePartFactoryAsContentViewerAdapter
in classMvcFxModule
-
bindShowHiddenNeighborsHoverHandlePartAdapters
protected void bindShowHiddenNeighborsHoverHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forShowHiddenNeighborsHoverHandlePart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingShowHiddenNeighborsHoverHandlePart
as a key.- See Also:
-
bindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter
protected void bindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds a binding forShowHiddenNeighborsOfFirstAnchorageOnClickHandler
to the given adapter map binder that will insert the bindings intoShowHiddenNeighborsHoverHandlePart
s.- Parameters:
adapterMapBinder
- The adapter map binder to which the binding is added.
-
configure
protected void configure()- Overrides:
configure
in classMvcFxModule
-