Package org.eclipse.net4j.util.container
Class SelfAttachingContainerListener
- java.lang.Object
-
- org.eclipse.net4j.util.container.SelfAttachingContainerListener
-
- All Implemented Interfaces:
java.util.EventListener
,IListener
,IListener.NotifierAware
- Direct Known Subclasses:
SelfAttachingContainerListener.Delegating
public class SelfAttachingContainerListener extends java.lang.Object implements IListener.NotifierAware
- Since:
- 3.6
- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SelfAttachingContainerListener.Delegating
static interface
SelfAttachingContainerListener.DoNotDescend
-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListener
IListener.NotifierAware
-
-
Constructor Summary
Constructors Constructor Description SelfAttachingContainerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addNotifier(INotifier notifier)
void
attach(java.lang.Object element)
void
detach(java.lang.Object element)
protected void
handleException(java.lang.Exception ex)
protected boolean
isActive(java.lang.Object element)
protected boolean
isWaitForActive()
protected void
notifyContainerEvent(IContainerEvent<?> event)
void
notifyEvent(IEvent event)
protected void
notifyOtherEvent(IEvent event)
void
removeNotifier(INotifier notifier)
protected boolean
shouldAttach(java.lang.Object element)
Deprecated.As of 3.16 not used anymore.protected boolean
shouldDescend(java.lang.Object element)
-
-
-
Method Detail
-
addNotifier
public void addNotifier(INotifier notifier)
- Specified by:
addNotifier
in interfaceIListener.NotifierAware
-
removeNotifier
public void removeNotifier(INotifier notifier)
- Specified by:
removeNotifier
in interfaceIListener.NotifierAware
-
attach
public void attach(java.lang.Object element)
-
detach
public void detach(java.lang.Object element)
-
notifyEvent
public void notifyEvent(IEvent event)
- Specified by:
notifyEvent
in interfaceIListener
-
notifyContainerEvent
protected void notifyContainerEvent(IContainerEvent<?> event)
-
notifyOtherEvent
protected void notifyOtherEvent(IEvent event)
-
shouldAttach
@Deprecated protected boolean shouldAttach(java.lang.Object element)
Deprecated.As of 3.16 not used anymore.
-
shouldDescend
protected boolean shouldDescend(java.lang.Object element)
-
isWaitForActive
protected boolean isWaitForActive()
-
isActive
protected boolean isActive(java.lang.Object element)
-
handleException
protected void handleException(java.lang.Exception ex)
-
-