this.name = name;
}
@Override
public void stateChanged(ChangeEvent boostedChangeEvent) {
BoostedChangeEvent event = (BoostedChangeEvent) boostedChangeEvent;
if ( EventTypes.OBJECT_ADDED.equals( event.getType()))
{
add( (MutableTreeNode) event.getArgument());
}
else if ( EventTypes.OBJECT_REMOVED.equals( event.getType()))
{
remove( (MutableTreeNode) event.getArgument());
}
else
throw new UnsupportedOperationException("not yet implemented");
}