Class AbstractJCCPlugin

    • Field Detail

      • icons

        protected static final javax.swing.UIDefaults icons
        The image icons.
    • Constructor Detail

      • AbstractJCCPlugin

        public AbstractJCCPlugin()
    • Method Detail

      • isLazy

        public boolean isLazy()
        Lazy plugins are inited on first access.
        Specified by:
        isLazy in interface IControlCenterPlugin
      • getToolBar

        public javax.swing.JComponent[] getToolBar()
        Create the tool bar (if any).
        Specified by:
        getToolBar in interface IControlCenterPlugin
        Returns:
        The tool bar.
      • getMenuBar

        public javax.swing.JMenu[] getMenuBar()
        Get the menu bar (if any).
        Specified by:
        getMenuBar in interface IControlCenterPlugin
        Returns:
        The menu bar.
      • getView

        public javax.swing.JComponent getView()
        Get the main view.
        Specified by:
        getView in interface IControlCenterPlugin
        Returns:
        The main view.
      • createToolBar

        public javax.swing.JComponent[] createToolBar()
        Create tool bar.
        Returns:
        The tool bar.
      • createMenuBar

        public javax.swing.JMenu[] createMenuBar()
        Create menu bar.
        Returns:
        The menu bar.
      • createView

        public javax.swing.JComponent createView()
        Create main panel.
        Returns:
        The main panel.
      • getClassLoader

        public static IFuture<java.lang.ClassLoader> getClassLoader​(IComponentIdentifier cid,
                                                                    IControlCenter jcc)
        Find the class loader for a component. Use component class loader for local components and current platform class loader for remote components.
        Parameters:
        cid - The component id.
        Returns:
        The class loader.