@Beta public class StorageTraversal extends Object implements org.eclipse.core.runtime.IAdaptable, IDiagnosable
| Constructor and Description | 
|---|
| StorageTraversal(Set<? extends org.eclipse.core.resources.IStorage> storages)Creates our traversal given its set of resources. | 
| StorageTraversal(Set<? extends org.eclipse.core.resources.IStorage> storages,
                Diagnostic diagnostic)Creates our traversal given its set of resources. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| Object | getAdapter(Class adapter) | 
| Diagnostic | getDiagnostic()Returns the diagnostic of the storages of this traversal. | 
| Set<? extends org.eclipse.core.resources.IStorage> | getStorages()Returns the set of resources that are part of this traversal. | 
| int | hashCode() | 
| void | removeStorage(org.eclipse.core.resources.IStorage storage)Removes the given storage from this traversal. | 
| void | setDiagnostic(Diagnostic diagnostic)Set the diagnostic to be associated with this scope. | 
public StorageTraversal(Set<? extends org.eclipse.core.resources.IStorage> storages)
storages - The set of resources that are part of this traversal.public StorageTraversal(Set<? extends org.eclipse.core.resources.IStorage> storages, Diagnostic diagnostic)
storages - The set of resources that are part of this traversal.diagnostic - diagnostic of the errors that may occur during loading of the storages.public Set<? extends org.eclipse.core.resources.IStorage> getStorages()
 Note that this is the original set, and that any modification on the returned Set will affect
 this traversal.
 
public void removeStorage(org.eclipse.core.resources.IStorage storage)
storage - The storage to be removed.public Diagnostic getDiagnostic()
getDiagnostic in interface IDiagnosablepublic void setDiagnostic(Diagnostic diagnostic)
setDiagnostic in interface IDiagnosablediagnostic - the diagnosticIDiagnosable.setDiagnostic(org.eclipse.emf.common.util.Diagnostic)public Object getAdapter(Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptableIAdaptable.getAdapter(java.lang.Class)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.