java.lang.Object
org.eclipse.core.expressions.PropertyTester
org.eclipse.debug.internal.ui.ResourceExtender
- All Implemented Interfaces:
- org.eclipse.core.expressions.IPropertyTester
- public class ResourceExtender
- extends org.eclipse.core.expressions.PropertyTester
ResourceExtender provides property testers for the XML expression
language evaluation. We provide a copy in Debug so that launch shortcuts
can add contextual launch enablement that does not require their plugins
to be loaded.
Copied from org.eclipse.jdt.internal.corext.refactoring.participants.xml.ResourceExtender
| Fields inherited from class org.eclipse.core.expressions.PropertyTester |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_MATCHES_PATTERN
private static final java.lang.String PROPERTY_MATCHES_PATTERN
- See Also:
- Constant Field Values
PROJECT_NATURE
private static final java.lang.String PROJECT_NATURE
- See Also:
- Constant Field Values
PROPERTY_MATCHES_CONTENT_TYPE
private static final java.lang.String PROPERTY_MATCHES_CONTENT_TYPE
- See Also:
- Constant Field Values
ResourceExtender
public ResourceExtender()
test
public boolean test(java.lang.Object receiver,
java.lang.String method,
java.lang.Object[] args,
java.lang.Object expectedValue)
- Description copied from interface:
org.eclipse.core.expressions.IPropertyTester
- Executes the property test determined by the parameter
property.
matchesContentType
private boolean matchesContentType(org.eclipse.core.resources.IResource resource,
java.lang.String contentType)
- Returns whether or not the given file's content type matches
the specified content type.
Content types are looked up in the content type registry.