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
public class ZestFxModule extends MvcFxModule
TheZestFxModuledefines Zest.FX specific bindings additional to the bindings defined withinMvcFxModule.
-
-
Constructor Summary
Constructors Constructor Description ZestFxModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbindAbstractContentPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindEdgeLabelPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forEdgeLabelPartand all sub-classes.protected voidbindEdgePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forEdgePartand all sub-classes.protected voidbindFXCircleSegmentHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Bind bend-on-drag policy toCircleSegmentHandlePart.protected voidbindFXSquareSegmentHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Bind resize and rotate behavior toSquareSegmentHandlePart.protected voidbindGraphPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forGraphPartand all sub-classes.protected voidbindHidingHoverHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forHideHoverHandlePartand all sub-classes.protected voidbindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindIContentPartFactory()BindsIContentPartFactorytoZestFxContentPartFactory.protected voidbindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindNavigationModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forNavigationModelto the given adapter map binder that will insert the bindings intoIViewers.protected voidbindNodeLabelPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forNodeLabelPartand all sub-classes.protected voidbindNodePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forNodePartand all sub-classes.protected voidbindRootPartAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindShowHiddenNeighborsHoverHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forShowHiddenNeighborsHoverHandlePartand all sub-classes.protected voidbindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forShowHiddenNeighborsOfFirstAnchorageOnClickHandlerto the given adapter map binder that will insert the bindings intoShowHiddenNeighborsHoverHandleParts.protected voidconfigure()-
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, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
bindAbstractContentPartAdapters
protected void bindAbstractContentPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindAbstractContentPartAdaptersin classMvcFxModule
-
bindChangeViewportPolicyAsIRootPartAdapter
protected void bindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindChangeViewportPolicyAsIRootPartAdapterin classMvcFxModule
-
bindEdgeLabelPartAdapters
protected void bindEdgeLabelPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
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:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindEdgePartAdapters
protected void bindEdgePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
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:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindFXCircleSegmentHandlePartAdapters
protected void bindFXCircleSegmentHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.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<?>,java.lang.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
protected void bindGraphPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
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:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindHidingHoverHandlePartAdapters
protected void bindHidingHoverHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
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:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindHoverHandlePartFactoryAsContentViewerAdapter
protected void bindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindHoverHandlePartFactoryAsContentViewerAdapterin classMvcFxModule
-
bindIContentPartFactory
protected void bindIContentPartFactory()
BindsIContentPartFactorytoZestFxContentPartFactory.
-
bindIRootPartAdaptersForContentViewer
protected void bindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindIRootPartAdaptersForContentViewerin classMvcFxModule
-
bindIViewerAdaptersForContentViewer
protected void bindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindIViewerAdaptersForContentViewerin classMvcFxModule
-
bindNavigationModelAsContentViewerAdapter
protected void bindNavigationModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forNavigationModelto the given adapter map binder that will insert the bindings intoIViewers.- Parameters:
adapterMapBinder- The adapter map binder to which the binding is added.
-
bindNodeLabelPartAdapters
protected void bindNodeLabelPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
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:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindNodePartAdapters
protected void bindNodePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
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:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindRootPartAsContentViewerAdapter
protected void bindRootPartAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindRootPartAsContentViewerAdapterin classMvcFxModule
-
bindSelectionFeedbackPartFactoryAsContentViewerAdapter
protected void bindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindSelectionFeedbackPartFactoryAsContentViewerAdapterin classMvcFxModule
-
bindSelectionHandlePartFactoryAsContentViewerAdapter
protected void bindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindSelectionHandlePartFactoryAsContentViewerAdapterin classMvcFxModule
-
bindShowHiddenNeighborsHoverHandlePartAdapters
protected void bindShowHiddenNeighborsHoverHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.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:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter
protected void bindShowHiddenNeighborsOfFirstAnchorageOnClickHandlerAsShowHiddenNeighborsHoverHandlePartAdapter(MapBinder<AdapterKey<?>,java.lang.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
-
-