Package com.subgraph.vega.api.model

Examples of com.subgraph.vega.api.model.WorkspaceLockStatusEvent


    this.eventManager = eventManager;
  }
 
  synchronized void lock() {
    if(lockCount == 0)
      eventManager.fireEvent(new WorkspaceLockStatusEvent(true));
    lockCount += 1;
  }
View Full Code Here


 
  synchronized void unlock() {
    if(lockCount == 0)
      throw new IllegalStateException("Cannot call unlock() on unlocked workspace.");
    if(lockCount == 1)
      eventManager.fireEvent(new WorkspaceLockStatusEvent(false));
    lockCount -= 1;
  }
View Full Code Here

TOP

Related Classes of com.subgraph.vega.api.model.WorkspaceLockStatusEvent

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.