public FolderNode( final AbstractTreeNode parent, Folder folder ) {
super( parent, folder.name, false );
if( folder == null ) throw new NullPointerException( "folder is null" );
this.folder = folder;
folder.addListener( new ResourceListener() {
public void onChanged( Resource r ) {
model().nodeChanged( FolderNode.this );
}