public abstract class AbstractAllContainersState extends AbstractStorage2UriMapperClient implements org.eclipse.core.resources.IResourceChangeListener, IAllContainersState
IAllContainersState.Provider| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAllContainersState() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Collection<org.eclipse.emf.common.util.URI> |
doInitContainedURIs(String containerHandle) |
protected abstract String |
doInitHandle(org.eclipse.emf.common.util.URI uri) |
protected abstract List<String> |
doInitVisibleHandles(String handle) |
Collection<org.eclipse.emf.common.util.URI> |
getContainedURIs(String containerHandle) |
String |
getContainerHandle(org.eclipse.emf.common.util.URI uri) |
List<String> |
getVisibleContainerHandles(String handle) |
protected org.eclipse.core.resources.IWorkspaceRoot |
getWorkspaceRoot() |
protected Collection<org.eclipse.emf.common.util.URI> |
initContainedURIs(String containerHandle,
Collection<org.eclipse.emf.common.util.URI> result) |
protected String |
initHandle(org.eclipse.emf.common.util.URI uri) |
protected void |
initialize() |
protected List<String> |
initVisibleContainerHandles(String handle,
List<String> result) |
protected boolean |
isAffectingContainerState(org.eclipse.core.resources.IResourceDelta delta) |
boolean |
isEmpty(String containerHandle) |
protected boolean |
isIgnoredResource(org.eclipse.core.resources.IResource resource) |
protected void |
registerAsListener() |
void |
resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event) |
void |
unregisterAsListener() |
getMapper, getStorages, getUri, setMapperprotected void registerAsListener()
public void unregisterAsListener()
protected void initialize()
public String getContainerHandle(org.eclipse.emf.common.util.URI uri)
getContainerHandle in interface IAllContainersStateprotected String initHandle(org.eclipse.emf.common.util.URI uri)
protected abstract String doInitHandle(org.eclipse.emf.common.util.URI uri)
public Collection<org.eclipse.emf.common.util.URI> getContainedURIs(String containerHandle)
getContainedURIs in interface IAllContainersStatepublic boolean isEmpty(String containerHandle)
isEmpty in interface IAllContainersStateprotected Collection<org.eclipse.emf.common.util.URI> initContainedURIs(String containerHandle, Collection<org.eclipse.emf.common.util.URI> result)
protected abstract Collection<org.eclipse.emf.common.util.URI> doInitContainedURIs(String containerHandle)
public List<String> getVisibleContainerHandles(String handle)
getVisibleContainerHandles in interface IAllContainersStateprotected List<String> initVisibleContainerHandles(String handle, List<String> result)
public void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
resourceChanged in interface org.eclipse.core.resources.IResourceChangeListenerprotected boolean isAffectingContainerState(org.eclipse.core.resources.IResourceDelta delta)
protected boolean isIgnoredResource(org.eclipse.core.resources.IResource resource)
protected org.eclipse.core.resources.IWorkspaceRoot getWorkspaceRoot()
Copyright © 2016. All Rights Reserved.