1 11 12 package org.eclipse.core.internal.databinding.observable.tree; 13 14 import org.eclipse.core.databinding.observable.IObservable; 15 16 33 public interface IObservableTree extends IObservable { 34 35 39 public final static Object UNKNOWN_ELEMENT = new Object (); 40 41 44 public void addTreeChangeListener(ITreeChangeListener listener); 45 46 49 public void removeTreeChangeListener(ITreeChangeListener listener); 50 51 58 public boolean isOrdered(); 59 60 66 public boolean isLazy(); 67 68 72 public Object [] getChildren(TreePath parentPath); 73 74 78 public void setChildren(TreePath parentPath, Object [] children); 79 80 84 public void addChild(TreePath parentPath, Object childElement); 85 86 90 public void removeChild(TreePath parentPath, Object childElement); 91 92 97 public void insertChild(TreePath parentPath, int index, Object childElement); 98 99 103 public void removeChild(TreePath parentPath, int index); 104 105 109 public boolean hasChildren(TreePath parentPath); 110 111 115 public int getChildCount(TreePath parentPath); 116 117 121 public void setChildCount(TreePath parentPath, int count); 122 123 129 public void updateChildrenCount(IChildrenCountUpdate update); 130 131 136 public void updateChildren(IChildrenUpdate update); 137 138 143 public void updateHasChildren(IHasChildrenUpdate update); 144 145 } 146 | Popular Tags |