|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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)
IStorage2UriMapper
IStorage
associated with one IProject
but
in the case that the same external class folder or jar is referenced in
multiple projects multiple IStorage
s are returned.
getStorages
in interface IStorage2UriMapper
uri
- 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)
IStorage2UriMapper
IStorage
or null
if not valid URI exists.
getUri
in interface IStorage2UriMapper
IStorage
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.IResourceChangeListener
The 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.IResourceChangeListener
event
- the resource change eventIResourceDelta
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |