1 20 package org.apache.directory.ldapstudio.schemas.view.views.wrappers; 21 22 23 import java.util.Collection ; 24 import java.util.List ; 25 26 import org.eclipse.swt.graphics.Image; 27 28 29 35 public interface ITreeNode 36 { 37 43 public Image getImage(); 44 45 46 52 public List <ITreeNode> getChildren(); 53 54 55 61 public boolean hasChildren(); 62 63 64 70 public ITreeNode getParent(); 71 72 73 79 public void setParent( ITreeNode parent ); 80 81 82 88 public void addChild( ITreeNode node ); 89 90 91 97 public void removeChild( ITreeNode node ); 98 99 100 110 public boolean addAllChildren( Collection <? extends ITreeNode> c ); 111 } 112 | Popular Tags |