Interface ViewComponentCustomizer


  • @API(type=EXTENDABLE,
         src=PUBLIC)
    public interface ViewComponentCustomizer
    Customizes components for the Oxygen views.
    Since:
    11.2
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CUSTOM
      Deprecated.
      since Oxygen 12.2.
    • Field Detail

      • CUSTOM

        @Deprecated
        static final java.lang.String CUSTOM
        Deprecated.
        since Oxygen 12.2. Please define a view id for the extension in the "plugin.xml".
        The CUSTOM view.
        See Also:
        Constant Field Values
    • Method Detail

      • customizeView

        void customizeView​(ViewInfo viewInfo)
        Customize the component which gets displayed on a certain view. This callback may be called multiple times if the application views layout (perspective) changes or is reloaded so you should strive to create your Swing components for a certain view ID only once.
        Parameters:
        viewInfo - Information about a view. The view ID is either the ID of an existing Oxygen view or the reserved CUSTOM view.

        You can set a new component to display for the view, new title or icon.