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
Constructors -
Method Summary
Modifier 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.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, enableAdapterMapInjectionMethods 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:
bindAbstractContentPartAdaptersin classMvcFxModule
-
bindChangeViewportPolicyAsIRootPartAdapter
protected void bindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindChangeViewportPolicyAsIRootPartAdapterin classMvcFxModule
-
bindEdgeLabelPartAdapters
Adds (default) adapter map bindings forEdgeLabelPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingEdgeLabelPartas a key.- See Also:
-
bindEdgePartAdapters
Adds (default) adapter map bindings forEdgePartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingEdgePartas a key.- See Also:
-
bindFXCircleSegmentHandlePartAdapters
protected void bindFXCircleSegmentHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind bend-on-drag policy toCircleSegmentHandlePart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingCircleSegmentHandlePartas a key.
-
bindFXSquareSegmentHandlePartAdapters
protected void bindFXSquareSegmentHandlePartAdapters(MapBinder<AdapterKey<?>, Object> adapterMapBinder) Bind resize and rotate behavior toSquareSegmentHandlePart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingSquareSegmentHandlePartas a key.
-
bindGraphPartAdapters
Adds (default) adapter map bindings forGraphPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingGraphPartas a key.- See Also:
-
bindHidingHoverHandlePartAdapters
Adds (default) adapter map bindings forHideHoverHandlePartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingHideHoverHandlePartas a key.- See Also:
-
bindHoverHandlePartFactoryAsContentViewerAdapter
protected void bindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindHoverHandlePartFactoryAsContentViewerAdapterin classMvcFxModule
-
bindIContentPartFactory
protected void bindIContentPartFactory()BindsIContentPartFactorytoZestFxContentPartFactory. -
bindIRootPartAdaptersForContentViewer
protected void bindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindIRootPartAdaptersForContentViewerin classMvcFxModule
-
bindIViewerAdaptersForContentViewer
protected void bindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindIViewerAdaptersForContentViewerin classMvcFxModule
-
bindNodeLabelPartAdapters
Adds (default) adapter map bindings forNodeLabelPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingNodeLabelPartas a key.- See Also:
-
bindNodePartAdapters
Adds (default) adapter map bindings forNodePartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingNodePartas a key.- See Also:
-
bindRootPartAsContentViewerAdapter
- Overrides:
bindRootPartAsContentViewerAdapterin classMvcFxModule
-
bindSelectionFeedbackPartFactoryAsContentViewerAdapter
protected void bindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindSelectionFeedbackPartFactoryAsContentViewerAdapterin classMvcFxModule
-
bindSelectionHandlePartFactoryAsContentViewerAdapter
protected void bindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>, Object> adapterMapBinder) - Overrides:
bindSelectionHandlePartFactoryAsContentViewerAdapterin classMvcFxModule
-
bindShowHiddenNeighborsHoverHandlePartAdapters
protected 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- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingShowHiddenNeighborsHoverHandlePartas a key.- See Also:
-
bindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter
protected 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.
-
configure
protected void configure()- Overrides:
configurein classMvcFxModule
-