@Beta public class ChunkedResourceDescriptions extends AbstractCompoundSelectable implements IResourceDescriptions, java.io.Externalizable
ProjectDescription
,
ProjectDescriptionBasedContainerManager
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
ChunkedResourceDescriptions.ChunkedResourceDescriptionsAdapter |
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.ConcurrentHashMap<java.lang.String,ResourceDescriptionsData> |
chunk2resourceDescriptions |
protected org.eclipse.emf.ecore.resource.ResourceSet |
resourceSet |
Constructor and Description |
---|
ChunkedResourceDescriptions() |
ChunkedResourceDescriptions(java.util.Map<java.lang.String,ResourceDescriptionsData> initialData) |
ChunkedResourceDescriptions(java.util.Map<java.lang.String,ResourceDescriptionsData> initialData,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
Modifier and Type | Method and Description |
---|---|
void |
attachToEmfObject(org.eclipse.emf.common.notify.Notifier emfObject) |
ChunkedResourceDescriptions |
createShallowCopyWith(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Creates a shallow copy of the resource descriptions map and installs it with the given ResourceSet.
|
static ChunkedResourceDescriptions |
findInEmfObject(org.eclipse.emf.common.notify.Notifier emfObject) |
java.lang.Iterable<IResourceDescription> |
getAllResourceDescriptions() |
ResourceDescriptionsData |
getContainer(java.lang.String containerHandle) |
ResourceDescriptionsData |
getContainer(org.eclipse.emf.common.util.URI uri) |
IResourceDescription |
getResourceDescription(org.eclipse.emf.common.util.URI uri)
Returns the resource descriptions for the given URI.
|
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet() |
protected java.lang.Iterable<? extends ISelectable> |
getSelectables() |
void |
readExternal(java.io.ObjectInput in) |
ResourceDescriptionsData |
removeContainer(java.lang.String name) |
static ChunkedResourceDescriptions |
removeFromEmfObject(org.eclipse.emf.common.notify.Notifier emfObject) |
ResourceDescriptionsData |
setContainer(java.lang.String name,
ResourceDescriptionsData descriptions) |
protected void |
setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
void |
writeExternal(java.io.ObjectOutput out) |
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, isEmpty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, isEmpty
protected java.util.concurrent.ConcurrentHashMap<java.lang.String,ResourceDescriptionsData> chunk2resourceDescriptions
protected org.eclipse.emf.ecore.resource.ResourceSet resourceSet
public ChunkedResourceDescriptions()
public ChunkedResourceDescriptions(java.util.Map<java.lang.String,ResourceDescriptionsData> initialData)
public ChunkedResourceDescriptions(java.util.Map<java.lang.String,ResourceDescriptionsData> initialData, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
public ChunkedResourceDescriptions createShallowCopyWith(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
protected void setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
public ResourceDescriptionsData setContainer(java.lang.String name, ResourceDescriptionsData descriptions)
public ResourceDescriptionsData removeContainer(java.lang.String name)
protected java.lang.Iterable<? extends ISelectable> getSelectables()
getSelectables
in class AbstractCompoundSelectable
public java.lang.Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions
in interface IResourceDescriptions
public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
IResourceDescriptions
getResourceDescription
in interface IResourceDescriptions
public ResourceDescriptionsData getContainer(org.eclipse.emf.common.util.URI uri)
public ResourceDescriptionsData getContainer(java.lang.String containerHandle)
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public static ChunkedResourceDescriptions findInEmfObject(org.eclipse.emf.common.notify.Notifier emfObject)
public static ChunkedResourceDescriptions removeFromEmfObject(org.eclipse.emf.common.notify.Notifier emfObject)
public void attachToEmfObject(org.eclipse.emf.common.notify.Notifier emfObject)