if (locksPath.isAncestorOf(addedPath)) { Map<Name, Property> props = added.getProperties(); NodeKey lockKey = added.getKey(); ModeShapeLock lock = new ModeShapeLock(lockKey, props);
if (locksPath.isAncestorOf(addedPath)) { Map<Name, Property> props = added.getProperties(); NodeKey lockKey = added.getKey(); ModeShapeLock lock = new ModeShapeLock(lockKey, props);
NodeAdded added = (NodeAdded) change; addNode(workspaceName, added.getKey(), added.getPath(), added.getPrimaryType(), added.getMixinTypes(), props(added.getProperties())); } else if (change instanceof NodeRemoved) { firePropertyChanges(lastKey, lastPrimaryType, lastMixinTypes, propChanges);
NodeAdded added = (NodeAdded) change; addNode(workspaceName, added.getKey(), added.getPath(), added.getPrimaryType(), added.getMixinTypes(), props(added.getProperties())); } else if (change instanceof NodeRemoved) { firePropertyChanges(lastKey, lastPrimaryType, lastMixinTypes, propChanges);