org.eclipse.net4j.util.ui.views
Class ContainerItemProvider.AbstractContainerNode

java.lang.Object
  extended by org.eclipse.net4j.util.ui.views.ContainerItemProvider.AbstractNode
      extended by org.eclipse.net4j.util.ui.views.ContainerItemProvider.AbstractContainerNode
All Implemented Interfaces:
ContainerItemProvider.Node
Direct Known Subclasses:
ContainerItemProvider.ContainerNode
Enclosing class:
ContainerItemProvider<CONTAINER extends IContainer<Object>>

public abstract class ContainerItemProvider.AbstractContainerNode
extends ContainerItemProvider.AbstractNode


Field Summary
protected  IListener containerListener
           
 
Constructor Summary
ContainerItemProvider.AbstractContainerNode(ContainerItemProvider.Node parent)
           
 
Method Summary
protected  List<ContainerItemProvider.Node> createChildren()
           
 void dispose()
           
protected  void fillChildren(List<ContainerItemProvider.Node> children, IContainer<Object> container)
           
 List<ContainerItemProvider.Node> getChildren()
           
 IContainer<Object> getContainer()
           
protected  void onAdded(IContainer<Object> container, Object element)
           
protected  void onRemoved(IContainer<Object> container, Object element)
           
 
Methods inherited from class org.eclipse.net4j.util.ui.views.ContainerItemProvider.AbstractNode
addChild, checkNotDisposed, getParent, getTreePath, isDisposed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.net4j.util.ui.views.ContainerItemProvider.Node
getElement
 

Field Detail

containerListener

protected IListener containerListener
Constructor Detail

ContainerItemProvider.AbstractContainerNode

public ContainerItemProvider.AbstractContainerNode(ContainerItemProvider.Node parent)
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface ContainerItemProvider.Node
Overrides:
dispose in class ContainerItemProvider.AbstractNode

getChildren

public final List<ContainerItemProvider.Node> getChildren()

getContainer

public IContainer<Object> getContainer()

createChildren

protected List<ContainerItemProvider.Node> createChildren()

fillChildren

protected void fillChildren(List<ContainerItemProvider.Node> children,
                            IContainer<Object> container)
Since:
3.1

onAdded

protected void onAdded(IContainer<Object> container,
                       Object element)

onRemoved

protected void onRemoved(IContainer<Object> container,
                         Object element)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.