Class AuthorComponentProvider

    • Method Detail

      • setEditorPopUpCustomizer

        @Deprecated
        public void setEditorPopUpCustomizer​(PopupMenuCustomizer popUpCustomizer)
        Deprecated.
        Please use instead the method ((WSAuthorEditorPage)getWSEditorAccess().getCurrentPage())addPopUpMenuCustomizer(AuthorPopupMenuCustomizer popUpCustomizer)
        The Pop-up customizer can be used to add/remove actions from the pop-up menu in the Author page editor before showing it. If everything is removed then the menu will not be shown.
        Parameters:
        popUpCustomizer - The pop Up Customizer.
      • setOutlinerPopUpCustomizer

        @Deprecated
        public void setOutlinerPopUpCustomizer​(PopupMenuCustomizer popUpCustomizer)
        Deprecated.
        Please use instead the method ((WSAuthorComponentEditorPage)getWSEditorAccess().getCurrentPage()).setOutlinerPopUpCustomizer();
        The Pop-up customizer can be used to add/remove actions from the pop-up menu in the Author Outliner view before showing it. If everything is removed then the menu will not be shown.
        Parameters:
        popUpCustomizer - The pop Up Customizer.
      • showBreadCrumb

        @Deprecated
        public void showBreadCrumb​(boolean showBreadCrumb)
        Deprecated.
        Please use instead the method ((WSAuthorComponentEditorPage)getWSEditorAccess().getCurrentPage()).showBreadCrumbPanel();
        Show or hide the Bread Crumb panel in Author component.
        Parameters:
        showBreadCrumb - true to show the Bread Crumb.
        Since:
        14.1
      • setBreadCrumbPopUpCustomizer

        @Deprecated
        public void setBreadCrumbPopUpCustomizer​(PopupMenuCustomizer popUpCustomizer)
        Deprecated.
        Please use instead the method ((WSAuthorComponentEditorPage)getWSEditorAccess().getCurrentPage()).setBreadCrumbPopUpCustomizer();
        The Pop-up customizer can be used to add/remove actions from the pop-up menu in the Author bread crumb before showing it. If everything is removed then the menu will not be shown.
        Parameters:
        popUpCustomizer - The pop Up Customizer.
      • createExtensionActionsToolbars

        @Deprecated
        public java.util.List<javax.swing.JToolBar> createExtensionActionsToolbars()
        Deprecated.
        Please use instead the method ((WSAuthorComponentEditorPage)getWSEditorAccess().getCurrentPage()).createExtensionActionsToolbars();
        Create toolbars with all the actions defined at the framework level in exactly the same order in which they have been added to the toolbars from the Document Type Edit dialog. The toolbars will look almost identical with the ones which appear when the XML is opened in an Oxygen standalone version.
        Returns:
        toolbars with all the actions defined at the framework level.
        Since:
        14.1
      • getAuthorExtensionActions

        @Deprecated
        public java.util.Map<java.lang.String,​javax.swing.AbstractAction> getAuthorExtensionActions()
        Deprecated.
        Please use instead the method ((WSAuthorEditorPage)getWSEditorAccess().getCurrentPage()).getActionsProvider().getAuthorExtensionActions().
        Gets the map of author extension actions.

        This should get called after each load as the extension actions depend on the loaded document type.

        Returns:
        The map with (action id, AbstractAction) pairs with the actions defined in the Author framework. Can be null if no actions available.
      • getAuthorCommonActions

        @Deprecated
        public java.util.Map<java.lang.String,​javax.swing.AbstractAction> getAuthorCommonActions()
        Deprecated.
        Please use instead the method ((WSAuthorEditorPage)getWSEditorAccess().getCurrentPage()).getActionsProvider().getAuthorCommonActions().
        Get the map of author common actions (undo, redo, cut, copy, paste, etc).
        Returns:
        The map with (action id, AbstractAction) pairs with the actions defined for working in the Author.
      • getAuthorAccess

        @Deprecated
        public AuthorAccess getAuthorAccess()
        Deprecated.
        Please use instead the method ((WSAuthorEditorPage)getWSEditorAccess().getCurrentPage()).getAuthorAccess().
        Get the author access used to perform various operations on the Author Page.
        Returns:
        The author access.