IDevTree
hep.aida.dev

Interface IDevTree

  • All Superinterfaces:
    IAddable, ITree
    All Known Implementing Classes:
    Tree


    public interface IDevTreeextends ITree, IAddable
    An interface to a Tree that allows adding nodes.
    • Method Detail

      • add

        void add(String path,       IManagedObject object)         throws IllegalArgumentException
        Add IManagedObject to the directory. If some folders in the path don't exist, can create new folders in the tree. Does not overwrite Objects, if IManagedObject already exists - do nothing and just return with, maybe, a warning.
        Specified by:
        add in interface IAddable
        Parameters:
        path - The path of the diretory in which the object has to be added.
        object - The IManagedObject to be added.
        Throws:
        IllegalArgumentException - if the path is not a directory.
      • hasBeenFilled

        void hasBeenFilled(String path)                   throws IllegalArgumentException
        Is called by the Store to let Tree know that a particular folder has been filled. "path" is path to a folder, cannot point to an Object. IDevTree relies on this method for its internal book-keeping, so Store MUST call "hasBeenFilled" after it fills a particular folder.
        Specified by:
        hasBeenFilled in interface IAddable
        Parameters:
        path - The path of the diretory which has been filled by the Store.
        Throws:
        IllegalArgumentException - If the path does not exist, or if it is not a directory.
      • setLock

        void setLock(Object lock)

SCaVis 1.7 © jWork.org