站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

RevisionChildren (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.versioning
Class RevisionChildren

java.lang.Object
  extended byorg.openide.nodes.Children
      extended byorg.openide.nodes.Children.Array
          extended byorg.openide.nodes.Children.Keys
              extended byorg.netbeans.modules.vcscore.versioning.RevisionChildren
All Implemented Interfaces:
ChangeListener, Cloneable, EventListener, Serializable

public class RevisionChildren
extends Children.Keys
implements ChangeListener, Serializable

See Also:
Serialized Form

Nested Class Summary
static interface RevisionChildren.NotificationListener
           
 
Nested classes inherited from class org.openide.nodes.Children
Children.Array, Children.Keys, Children.Map, Children.SortedArray, Children.SortedMap
 
Field Summary
protected static Object WAIT_KEY
           
 
Fields inherited from class org.openide.nodes.Children.Array
nodes
 
Fields inherited from class org.openide.nodes.Children
LEAF, MUTEX
 
Constructor Summary
RevisionChildren(RevisionList list)
          Creates new RevisionChildren
RevisionChildren(RevisionList list, RevisionItem item)
          Creates new RevisionChildren
 
Method Summary
protected  boolean accept(RevisionItem item)
           
 void addNotificationListener(RevisionChildren.NotificationListener l)
           
protected  void addNotify()
           
protected  Node[] createNodes(Object key)
           
protected  Node createWaitingNode()
           
 RevisionList getList()
           
 void removeNotificationListener(RevisionChildren.NotificationListener l)
           
protected  void removeNotify()
           
 void setList(RevisionList newList)
          Set a new revision list.
 void stateChanged(ChangeEvent evt)
           
 
Methods inherited from class org.openide.nodes.Children.Keys
add, clone, destroyNodes, refreshKey, remove, setBefore, setKeys, setKeys
 
Methods inherited from class org.openide.nodes.Children.Array
initCollection, refresh
 
Methods inherited from class org.openide.nodes.Children
findChild, getNode, getNodes, getNodes, getNodesCount, isInitialized, nodes
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WAIT_KEY

protected static final Object WAIT_KEY
Constructor Detail

RevisionChildren

public RevisionChildren(RevisionList list)
Creates new RevisionChildren

Parameters:
list - The RevisionList, can be null

RevisionChildren

public RevisionChildren(RevisionList list,
                        RevisionItem item)
Creates new RevisionChildren

Parameters:
list - The RevisionList, can be null
item - The RevisionItem where this children are rooted.
Method Detail

getList

public RevisionList getList()

setList

public void setList(RevisionList newList)
Set a new revision list. Can be called only for the root children.


addNotificationListener

public void addNotificationListener(RevisionChildren.NotificationListener l)

removeNotificationListener

public void removeNotificationListener(RevisionChildren.NotificationListener l)

addNotify

protected void addNotify()

removeNotify

protected void removeNotify()

accept

protected boolean accept(RevisionItem item)

createWaitingNode

protected Node createWaitingNode()

createNodes

protected Node[] createNodes(Object key)

stateChanged

public void stateChanged(ChangeEvent evt)
Specified by:
stateChanged in interface ChangeListener

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.