public class DerivedResourceMarkers extends java.lang.Object implements IDerivedResourceMarkers
Modifier and Type | Class and Description |
---|---|
static class |
DerivedResourceMarkers.GeneratorIdProvider |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_GENERATOR |
static java.lang.String |
ATTR_SOURCE |
static java.lang.String |
MARKER_ID |
Constructor and Description |
---|
DerivedResourceMarkers() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.resources.IMarker |
findDerivedResourceMarker(org.eclipse.core.resources.IFile file,
java.lang.String source)
finds a single derived resource marker for the given file, corresponding to the given source.
|
org.eclipse.core.resources.IMarker |
findDerivedResourceMarker(org.eclipse.core.resources.IFile file,
java.lang.String generator,
java.lang.String source) |
org.eclipse.core.resources.IMarker[] |
findDerivedResourceMarkers(org.eclipse.core.resources.IFile file)
Deprecated.
|
org.eclipse.core.resources.IMarker[] |
findDerivedResourceMarkers(org.eclipse.core.resources.IResource file)
Find all derived resource marker for the given resource and its children (if existent).
|
java.lang.Iterable<org.eclipse.core.resources.IMarker> |
findDerivedResourceMarkers(org.eclipse.core.resources.IResource file,
java.lang.String generatorId)
Find all derived resource marker for the given resource and its children (if existent), which were installed for the given generatorId.
|
java.util.List<org.eclipse.core.resources.IFile> |
findDerivedResources(org.eclipse.core.resources.IContainer container,
java.lang.String source) |
java.util.List<org.eclipse.core.resources.IFile> |
findDerivedResources(org.eclipse.core.resources.IContainer container,
java.lang.String generator,
java.lang.String source) |
java.util.List<org.eclipse.core.resources.IFile> |
findDerivedResources(java.util.List<org.eclipse.core.resources.IMarker> generatorMarkers,
java.lang.String source) |
java.util.List<org.eclipse.core.resources.IMarker> |
findGeneratorMarkers(org.eclipse.core.resources.IContainer container) |
java.util.List<org.eclipse.core.resources.IMarker> |
findGeneratorMarkers(org.eclipse.core.resources.IContainer container,
java.lang.String generator) |
java.lang.String |
getSource(org.eclipse.core.resources.IMarker marker) |
boolean |
installMarker(org.eclipse.core.resources.IFile file,
java.lang.String source) |
boolean |
installMarker(org.eclipse.core.resources.IFile file,
java.lang.String generator,
java.lang.String source) |
public static final java.lang.String MARKER_ID
public static final java.lang.String ATTR_SOURCE
public static final java.lang.String ATTR_GENERATOR
public java.util.List<org.eclipse.core.resources.IMarker> findGeneratorMarkers(org.eclipse.core.resources.IContainer container) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public java.util.List<org.eclipse.core.resources.IMarker> findGeneratorMarkers(org.eclipse.core.resources.IContainer container, java.lang.String generator) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public java.util.List<org.eclipse.core.resources.IFile> findDerivedResources(java.util.List<org.eclipse.core.resources.IMarker> generatorMarkers, java.lang.String source) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public java.util.List<org.eclipse.core.resources.IFile> findDerivedResources(org.eclipse.core.resources.IContainer container, java.lang.String source) throws org.eclipse.core.runtime.CoreException
findDerivedResources
in interface IDerivedResourceMarkers
org.eclipse.core.runtime.CoreException
public java.util.List<org.eclipse.core.resources.IFile> findDerivedResources(org.eclipse.core.resources.IContainer container, java.lang.String generator, java.lang.String source) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
@Deprecated public org.eclipse.core.resources.IMarker[] findDerivedResourceMarkers(org.eclipse.core.resources.IFile file) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public org.eclipse.core.resources.IMarker[] findDerivedResourceMarkers(org.eclipse.core.resources.IResource file) throws org.eclipse.core.runtime.CoreException
IDerivedResourceMarkers
findDerivedResourceMarkers
in interface IDerivedResourceMarkers
org.eclipse.core.runtime.CoreException
public java.lang.Iterable<org.eclipse.core.resources.IMarker> findDerivedResourceMarkers(org.eclipse.core.resources.IResource file, java.lang.String generatorId) throws org.eclipse.core.runtime.CoreException
IDerivedResourceMarkers
findDerivedResourceMarkers
in interface IDerivedResourceMarkers
Iterable
if none.org.eclipse.core.runtime.CoreException
public org.eclipse.core.resources.IMarker findDerivedResourceMarker(org.eclipse.core.resources.IFile file, java.lang.String source) throws org.eclipse.core.runtime.CoreException
IDerivedResourceMarkers
findDerivedResourceMarker
in interface IDerivedResourceMarkers
null
if no such marker could be found.org.eclipse.core.runtime.CoreException
public org.eclipse.core.resources.IMarker findDerivedResourceMarker(org.eclipse.core.resources.IFile file, java.lang.String generator, java.lang.String source) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public java.lang.String getSource(org.eclipse.core.resources.IMarker marker)
getSource
in interface IDerivedResourceMarkers
public boolean installMarker(org.eclipse.core.resources.IFile file, java.lang.String source) throws org.eclipse.core.runtime.CoreException
installMarker
in interface IDerivedResourceMarkers
org.eclipse.core.runtime.CoreException
public boolean installMarker(org.eclipse.core.resources.IFile file, java.lang.String generator, java.lang.String source) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException