public interface IAbstractChannelContainerAdapter
extends org.eclipse.core.runtime.IAdaptable
IChannelContainerAdapter. Defines basic
semantics for IChannelContainerAdapters.| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IChannelContainerListener listener)
Add listener for IChannelContainerAdapter events.
|
IChannel |
getChannel(ID channelID)
Get IChannel with given channelID.
|
Namespace |
getChannelNamespace()
Get expected Namespace for channel ID creation
|
boolean |
removeChannel(ID channelID)
Remove channel with given ID.
|
void |
removeListener(IChannelContainerListener listener)
Remove listener for IChannelContainerAdapter events
|
void addListener(IChannelContainerListener listener)
listener - to be added. Must not be null.void removeListener(IChannelContainerListener listener)
listener - to be removed. Must not be null.Namespace getChannelNamespace()
null.IChannel getChannel(ID channelID)
channelID - the ID of the channel to get. Must not be null.null if channel not found.boolean removeChannel(ID channelID)
IAbstractChannel.dispose() to dispose the channel
before returning from this method.channelID - the ID of the channel to remove within this container. Must
not be null.Copyright © 2018 Eclipse Foundation. All rights reserved.