- Common ways to obtain IResourceDescription
private void myMethod () {IResourceDescription i =
IResourceDescription.Manager iResourceDescriptionManager;Resource resource;iResourceDescriptionManager.getResourceDescription(resource)
IResourceDescriptions iResourceDescriptions;URI uri;iResourceDescriptions.getResourceDescription(uri)
IResourceDescription.Delta iResourceDescriptionDelta;iResourceDescriptionDelta.getNew()
- Smart code suggestions by Codota
}
@Override public Iterable<IEObjectDescription> getExportedObjectsByType(EClass type) { Iterable<IEObjectDescription> added = description.getExportedObjectsByType(type); Iterable<IEObjectDescription> delegated = delegate.getExportedObjectsByType(type); return Iterables.concat(added, delegated); }
public Iterable<IEObjectDescription> apply(IDirtyResource from) { if (from != null) return from.getDescription().getExportedObjectsByType(type); return Collections.emptyList(); } }));