|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.xtext.ui.resource.Storage2UriMapperImpl
public class Storage2UriMapperImpl
| Constructor Summary | |
|---|---|
Storage2UriMapperImpl()
|
|
| Method Summary | |
|---|---|
java.lang.Iterable<Pair<org.eclipse.core.resources.IStorage,org.eclipse.core.resources.IProject>> |
getStorages(org.eclipse.emf.common.util.URI uri)
Find the storages that can be mapped to the given URI. |
org.eclipse.emf.common.util.URI |
getUri(org.eclipse.core.resources.IStorage storage)
Returns the URI for the given IStorage or null if not valid URI exists. |
protected org.eclipse.core.resources.IWorkspaceRoot |
getWorkspaceRoot()
|
protected org.eclipse.emf.common.util.URI |
internalGetUri(org.eclipse.core.resources.IStorage storage)
|
protected boolean |
isValidStorageFor(org.eclipse.emf.common.util.URI uri,
org.eclipse.core.resources.IStorage storage)
|
boolean |
isValidUri(org.eclipse.emf.common.util.URI uri,
org.eclipse.core.resources.IStorage storage)
|
void |
resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
Notifies this listener that some resource changes are happening, or have already happened. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Storage2UriMapperImpl()
| Method Detail |
|---|
public java.lang.Iterable<Pair<org.eclipse.core.resources.IStorage,org.eclipse.core.resources.IProject>> getStorages(org.eclipse.emf.common.util.URI uri)
IStorage2UriMapperIStorage associated with one IProject but
in the case that the same external class folder or jar is referenced in
multiple projects multiple IStorages are returned.
getStorages in interface IStorage2UriMapperuri - the URI. May not be null.
null.protected org.eclipse.core.resources.IWorkspaceRoot getWorkspaceRoot()
public final org.eclipse.emf.common.util.URI getUri(org.eclipse.core.resources.IStorage storage)
IStorage2UriMapperIStorage or null if not valid URI exists.
getUri in interface IStorage2UriMapperIStorage or null.protected org.eclipse.emf.common.util.URI internalGetUri(org.eclipse.core.resources.IStorage storage)
public boolean isValidUri(org.eclipse.emf.common.util.URI uri,
org.eclipse.core.resources.IStorage storage)
protected boolean isValidStorageFor(org.eclipse.emf.common.util.URI uri,
org.eclipse.core.resources.IStorage storage)
public void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
org.eclipse.core.resources.IResourceChangeListenerThe supplied event gives details. This event object (and the resource delta within it) is valid only for the duration of the invocation of this method.
Note: This method is called by the platform; it is not intended to be called directly by clients.
Note that during resource change event notification, further changes to resources may be disallowed.
resourceChanged in interface org.eclipse.core.resources.IResourceChangeListenerevent - the resource change eventIResourceDelta
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||