public abstract class ContainerItemProvider.AbstractContainerNode extends ContainerItemProvider.AbstractNode
Modifier and Type | Field and Description |
---|---|
protected IListener |
containerListener |
Constructor and Description |
---|
AbstractContainerNode(ContainerItemProvider.Node parent) |
Modifier and Type | Method and Description |
---|---|
protected List<ContainerItemProvider.Node> |
createChildren() |
void |
dispose() |
void |
disposeChildren() |
protected void |
fillChildren(List<ContainerItemProvider.Node> children,
IContainer<Object> container) |
List<ContainerItemProvider.Node> |
getChildren() |
IContainer<Object> |
getContainer() |
boolean |
hasChildren() |
protected void |
onAdded(IContainer<Object> container,
Object element) |
protected void |
onRemoved(IContainer<Object> container,
Object element) |
addChild, checkNotDisposed, getParent, getTreePath, isDisposed, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getElement
protected IListener containerListener
public AbstractContainerNode(ContainerItemProvider.Node parent)
public void dispose()
dispose
in interface ContainerItemProvider.Node
dispose
in class ContainerItemProvider.AbstractNode
public void disposeChildren()
disposeChildren
in interface ContainerItemProvider.Node
disposeChildren
in class ContainerItemProvider.AbstractNode
public boolean hasChildren()
hasChildren
in interface ContainerItemProvider.Node
hasChildren
in class ContainerItemProvider.AbstractNode
public final List<ContainerItemProvider.Node> getChildren()
public IContainer<Object> getContainer()
protected List<ContainerItemProvider.Node> createChildren()
protected void fillChildren(List<ContainerItemProvider.Node> children, IContainer<Object> container)
protected void onAdded(IContainer<Object> container, Object element)
protected void onRemoved(IContainer<Object> container, Object element)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html