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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidbindAbstractContentPartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected voidbindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected voidbindEdgeLabelPartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forEdgeLabelPartand all sub-classes.protected voidbindEdgePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forEdgePartand all sub-classes.protected voidbindFXCircleSegmentHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind bend-on-drag policy toCircleSegmentHandlePart.protected voidbindFXSquareSegmentHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind resize and rotate behavior toSquareSegmentHandlePart.protected voidbindGraphPartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forGraphPartand all sub-classes.protected voidbindHidingHoverHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forHideHoverHandlePartand all sub-classes.protected voidbindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected voidBindsIContentPartFactorytoZestFxContentPartFactory.protected voidbindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected voidbindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected voidbindNavigationModelAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds a binding forNavigationModelto the given adapter map binder that will insert the bindings intoIViewers.protected voidbindNodeLabelPartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forNodeLabelPartand all sub-classes.protected voidbindNodePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forNodePartand all sub-classes.protected voidbindRootPartAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected voidbindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected voidbindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) protected voidbindShowHiddenNeighborsHoverHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forShowHiddenNeighborsHoverHandlePartand all sub-classes.protected voidbindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds a binding forShowHiddenNeighborsOfFirstAnchorageOnClickHandlerto the given adapter map binder that will insert the bindings intoShowHiddenNeighborsHoverHandleParts.protected voidMethods inherited from class org.eclipse.gef.mvc.fx.MvcFxModulebindAbstractFeedbackPartAdapters, 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, enableAdapterMapInjectionMethods inherited from class com.google.inject.AbstractModuleaddError, 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- 
ZestFxModulepublic ZestFxModule()
 
- 
- 
Method Details- 
bindAbstractContentPartAdapters- Overrides:
- bindAbstractContentPartAdaptersin class- MvcFxModule
 
- 
bindChangeViewportPolicyAsIRootPartAdapterprotected void bindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
- bindChangeViewportPolicyAsIRootPartAdapterin class- MvcFxModule
 
- 
bindEdgeLabelPartAdaptersAdds (default) adapter map bindings forEdgeLabelPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- EdgeLabelPartas a key.
- See Also:
 
- 
bindEdgePartAdaptersAdds (default) adapter map bindings forEdgePartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- EdgePartas a key.
- See Also:
 
- 
bindFXCircleSegmentHandlePartAdaptersprotected void bindFXCircleSegmentHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind bend-on-drag policy toCircleSegmentHandlePart.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- CircleSegmentHandlePartas a key.
 
- 
bindFXSquareSegmentHandlePartAdaptersprotected void bindFXSquareSegmentHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind resize and rotate behavior toSquareSegmentHandlePart.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- SquareSegmentHandlePartas a key.
 
- 
bindGraphPartAdaptersAdds (default) adapter map bindings forGraphPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- GraphPartas a key.
- See Also:
 
- 
bindHidingHoverHandlePartAdaptersAdds (default) adapter map bindings forHideHoverHandlePartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- HideHoverHandlePartas a key.
- See Also:
 
- 
bindHoverHandlePartFactoryAsContentViewerAdapterprotected void bindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
- bindHoverHandlePartFactoryAsContentViewerAdapterin class- MvcFxModule
 
- 
bindIContentPartFactoryprotected void bindIContentPartFactory()BindsIContentPartFactorytoZestFxContentPartFactory.
- 
bindIRootPartAdaptersForContentViewerprotected void bindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
- bindIRootPartAdaptersForContentViewerin class- MvcFxModule
 
- 
bindIViewerAdaptersForContentViewerprotected void bindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
- bindIViewerAdaptersForContentViewerin class- MvcFxModule
 
- 
bindNodeLabelPartAdaptersAdds (default) adapter map bindings forNodeLabelPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- NodeLabelPartas a key.
- See Also:
 
- 
bindNodePartAdaptersAdds (default) adapter map bindings forNodePartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- NodePartas a key.
- See Also:
 
- 
bindRootPartAsContentViewerAdapter- Overrides:
- bindRootPartAsContentViewerAdapterin class- MvcFxModule
 
- 
bindSelectionFeedbackPartFactoryAsContentViewerAdapterprotected void bindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
- bindSelectionFeedbackPartFactoryAsContentViewerAdapterin class- MvcFxModule
 
- 
bindSelectionHandlePartFactoryAsContentViewerAdapterprotected void bindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
- bindSelectionHandlePartFactoryAsContentViewerAdapterin class- MvcFxModule
 
- 
bindShowHiddenNeighborsHoverHandlePartAdaptersprotected void bindShowHiddenNeighborsHoverHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds (default) adapter map bindings forShowHiddenNeighborsHoverHandlePartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
- adapterMapBinder- The- MapBinderto be used for the binding registration. In this case, will be obtained from- AdapterMaps.getAdapterMapBinder(Binder, Class)using- ShowHiddenNeighborsHoverHandlePartas a key.
- See Also:
 
- 
bindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapterprotected void bindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Adds a binding forShowHiddenNeighborsOfFirstAnchorageOnClickHandlerto the given adapter map binder that will insert the bindings intoShowHiddenNeighborsHoverHandleParts.- Parameters:
- adapterMapBinder- The adapter map binder to which the binding is added.
 
- 
configureprotected void configure()- Overrides:
- configurein class- MvcFxModule
 
 
-