Class AbstractFXView

    • Method Detail

      • activate

        protected void activate()
        Activates this AbstractFXView by activating the IDomain that was previously injected.
      • createActions

        protected void createActions()
        Create actions for this view and registers at the action bars of the view's site.
      • deactivate

        protected void deactivate()
        Deactivates this AbstractFXView by deactivating its IDomain that was previously injected.
      • disposeActions

        protected void disposeActions()
        Dispose the actions created by this view.
      • getCanvas

        protected javafx.embed.swt.FXCanvas getCanvas()
        Returns the FXCanvas that was previously created by the injected IFXCanvasFactory.
        Returns:
        The FXCanvas that was previously created by the injected IFXCanvasFactory.
      • getContentViewer

        public IViewer getContentViewer()
        Returns the IViewer of the IDomain that was previously injected.
        Returns:
        The IViewer of the IDomain that was previously injected.
      • getDomain

        public IDomain getDomain()
        Returns the IDomain that was previously injected.
        Returns:
        The IDomain that was previously injected.
      • getFitToViewportActionGroup

        protected org.eclipse.gef.mvc.fx.ui.actions.FitToViewportActionGroup getFitToViewportActionGroup()
        Returns the ActionGroup that manages the fit-to-viewport actions.
        Returns:
        the ActionGroup that manages the fit-to-viewport actions.
        Since:
        5.1
      • hookViewers

        protected void hookViewers()
        Hooks all viewers that are part of this AbstractFXView into the FXCanvas that was previously created by the injected IFXCanvasFactory.
      • unhookViewers

        protected void unhookViewers()
        Unhooks all viewers that are part of this AbstractFXView.