Package org.bladerunnerjs.model.events

Examples of org.bladerunnerjs.model.events.NodeCreatedEvent


      if(dirExists()) throw new DirectoryAlreadyExistsModelException(this);
      if(this instanceof NamedNode) ((NamedNode) this).assertValidName();
     
      try {
        FileUtils.forceMkdir(dir);
        notifyObservers(new NodeCreatedEvent(), this);
        logger.debug(Messages.NODE_CREATED_LOG_MSG, getTypeName(), dir().getPath());
       
        rootNode.getFileInfo(dir()).resetLastModified();
      }
      catch(IOException e) {
View Full Code Here


    Logger logger = rootNode.logger(Node.class);
   
    try {
      if(this instanceof NamedNode) ((NamedNode) this).assertValidName();
     
      notifyObservers(new NodeCreatedEvent(), this);
      logger.debug(Messages.NODE_CREATED_LOG_MSG, getTypeName(), dir().getPath());
       
      rootNode.getFileInfo(dir().getParentFile()).resetLastModified();
    }
    catch(Exception e) {
View Full Code Here

TOP

Related Classes of org.bladerunnerjs.model.events.NodeCreatedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.