@Beta public class ChunkedResourceDescriptions extends AbstractCompoundSelectable implements IResourceDescriptions, Externalizable
ProjectDescription,
ProjectDescriptionBasedContainerManager,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
ChunkedResourceDescriptions.ChunkedResourceDescriptionsAdapter |
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<String,ResourceDescriptionsData> |
chunk2resourceDescriptions |
protected org.eclipse.emf.ecore.resource.ResourceSet |
resourceSet |
| Constructor and Description |
|---|
ChunkedResourceDescriptions() |
ChunkedResourceDescriptions(Map<String,ResourceDescriptionsData> initialData) |
ChunkedResourceDescriptions(Map<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) |
Iterable<IResourceDescription> |
getAllResourceDescriptions() |
ResourceDescriptionsData |
getContainer(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 Iterable<? extends ISelectable> |
getSelectables() |
void |
readExternal(ObjectInput in) |
ResourceDescriptionsData |
removeContainer(String name) |
static ChunkedResourceDescriptions |
removeFromEmfObject(org.eclipse.emf.common.notify.Notifier emfObject) |
ResourceDescriptionsData |
setContainer(String name,
ResourceDescriptionsData descriptions) |
protected void |
setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
void |
writeExternal(ObjectOutput out) |
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, isEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, isEmptyprotected ConcurrentHashMap<String,ResourceDescriptionsData> chunk2resourceDescriptions
protected org.eclipse.emf.ecore.resource.ResourceSet resourceSet
public ChunkedResourceDescriptions()
public ChunkedResourceDescriptions(Map<String,ResourceDescriptionsData> initialData)
public ChunkedResourceDescriptions(Map<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(String name, ResourceDescriptionsData descriptions)
public ResourceDescriptionsData removeContainer(String name)
protected Iterable<? extends ISelectable> getSelectables()
getSelectables in class AbstractCompoundSelectablepublic Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions in interface IResourceDescriptionspublic IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
IResourceDescriptionsgetResourceDescription in interface IResourceDescriptionspublic ResourceDescriptionsData getContainer(org.eclipse.emf.common.util.URI uri)
public ResourceDescriptionsData getContainer(String containerHandle)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic 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)
Copyright © 2015. All Rights Reserved.