Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.project.internal.ResourceChangeValidator Class Reference

Inherits ModelProvider.

List of all members.

Classes

class  ResourceDeltaVisitor

Public Member Functions

IStatus validateChange (IResourceDelta delta, IProgressMonitor pm)

Protected Member Functions

void initialize ()

Protected Attributes

ISarosSessionManager sessionManager

Detailed Description

This model provider is responsible for warning a session participant when trying to modify the file tree of a shared project in an unsupported way.

Ignoring the warnings will lead to inconsistencies. Note that we can't prevent these actions, just detect them. Currently detected: File/folder activities as a user with Permission#READONLY_ACCESS, and deletion of a shared project.


Member Function Documentation

void de.fu_berlin.inf.dpp.project.internal.ResourceChangeValidator.initialize ( ) [protected]
IStatus de.fu_berlin.inf.dpp.project.internal.ResourceChangeValidator.validateChange ( IResourceDelta  delta,
IProgressMonitor  pm 
)

Member Data Documentation

 All Classes Namespaces Files Functions Variables Enumerations