Package org.praxislive.ide.core.api
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
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 TypeMethodDescriptionstatic ExtensionContainercreate(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.ComponentInfogetInfo()protected voidstarting()protected voidstopping()Methods inherited from class org.praxislive.ide.core.api.AbstractIDERoot
activating, dispose, getLookup, setup, terminatingMethods inherited from class org.praxislive.base.AbstractRootContainer
addChild, children, connect, disconnect, getAddress, getChild, getControl, getParent, getPort, hierarchyChanged, parentNotify, processCall, registerControl, removeChild, unregisterControl, writeMethods inherited from class org.praxislive.base.AbstractRoot
attachDelegate, createContext, createController, createRouter, delegateConfig, detachDelegate, findService, getAddress, getExecutionContext, getRootHub, getRouter, getState, initialize, interrupt, invokeLater, setIdle, setRunning, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.praxislive.core.Container
getType
-
Method Details
-
starting
protected void starting()- Overrides:
startingin classorg.praxislive.base.AbstractRoot
-
stopping
protected void stopping()- Overrides:
stoppingin classorg.praxislive.base.AbstractRoot
-
getInfo
public org.praxislive.core.ComponentInfo getInfo()- Specified by:
getInfoin interfaceorg.praxislive.core.Component- Specified by:
getInfoin classorg.praxislive.base.AbstractRootContainer
-
extensions
Access a list of all the extensions installed in this container. The list is immutable.- Returns:
- installed extensions
-
create
Create an extension container with all available extensions installed. The provided context is passed through toExtensionProvider.createExtension(org.openide.util.Lookup).- Parameters:
context- context to pass through to create extensions- Returns:
- new extension container
-