Class ExtensionContainer

java.lang.Object
org.praxislive.base.AbstractRoot
org.praxislive.base.AbstractRootContainer
org.praxislive.ide.core.api.AbstractIDERoot
org.praxislive.ide.core.api.ExtensionContainer
All Implemented Interfaces:
org.praxislive.core.Component, org.praxislive.core.Container, org.praxislive.core.Lookup.Provider, org.praxislive.core.Root

public final class ExtensionContainer extends AbstractIDERoot
A container for holding extension components provided by ExtensionProvider. Extensions allow modules to interact with the PraxisCORE system. This container root executes on the Swing event thread.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.praxislive.base.AbstractRoot

    org.praxislive.base.AbstractRoot.Controller, org.praxislive.base.AbstractRoot.Delegate, org.praxislive.base.AbstractRoot.DelegateConfiguration, org.praxislive.base.AbstractRoot.State
  • Method Summary

    Modifier and Type
    Method
    Description
    create(org.openide.util.Lookup context)
    Create an extension container with all available extensions installed.
    List<org.praxislive.core.Component>
    Access a list of all the extensions installed in this container.
    org.praxislive.core.ComponentInfo
     
    protected void
     
    protected void
     

    Methods inherited from class org.praxislive.ide.core.api.AbstractIDERoot

    activating, dispose, getLookup, setup, terminating

    Methods inherited from class org.praxislive.base.AbstractRootContainer

    addChild, children, connect, disconnect, getAddress, getChild, getControl, getParent, getPort, hierarchyChanged, parentNotify, processCall, registerControl, removeChild, unregisterControl, write

    Methods inherited from class org.praxislive.base.AbstractRoot

    attachDelegate, createContext, createController, createRouter, delegateConfig, detachDelegate, findService, getAddress, getExecutionContext, getRootHub, getRouter, getState, initialize, interrupt, invokeLater, setIdle, setRunning, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.praxislive.core.Container

    getType
  • Method Details

    • starting

      protected void starting()
      Overrides:
      starting in class org.praxislive.base.AbstractRoot
    • stopping

      protected void stopping()
      Overrides:
      stopping in class org.praxislive.base.AbstractRoot
    • getInfo

      public org.praxislive.core.ComponentInfo getInfo()
      Specified by:
      getInfo in interface org.praxislive.core.Component
      Specified by:
      getInfo in class org.praxislive.base.AbstractRootContainer
    • extensions

      public List<org.praxislive.core.Component> extensions()
      Access a list of all the extensions installed in this container. The list is immutable.
      Returns:
      installed extensions
    • create

      public static ExtensionContainer create(org.openide.util.Lookup context)
      Create an extension container with all available extensions installed. The provided context is passed through to ExtensionProvider.createExtension(org.openide.util.Lookup).
      Parameters:
      context - context to pass through to create extensions
      Returns:
      new extension container