Package org.eclipse.ui
Interface IResourceActionFilter
-
- All Superinterfaces:
IActionFilter
- All Known Subinterfaces:
IProjectActionFilter
public interface IResourceActionFilter extends IActionFilter
Describes the public attributes for a resource and the acceptable values each may have.A popup menu extension may use these constants to describe its object target. Each identifies an attribute name or possible value.
Clients are not expected to implement this interface.
- See Also:
IActionFilter
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTENT_TYPE_IDAn attribute indicating that this is a file, and we are looking to verify that the file matches the content type matching the given identifier.static java.lang.StringEXTENSIONAn attribute indicating the file extension (value"extension").static java.lang.StringNAMEAn attribute indicating the file name (value"name").static java.lang.StringPATHAn attribute indicating the file path (value"path").static java.lang.StringPERSISTENT_PROPERTYAn attribute indicating a persistent property on the selected resource (value"persistentProperty").static java.lang.StringPROJECT_NATUREAn attribute indicating the project nature (value"projectNature").static java.lang.StringPROJECT_PERSISTENT_PROPERTYAn attribute indicating a persistent property on the selected resource's project.static java.lang.StringPROJECT_SESSION_PROPERTYAn attribute indicating a session property on the selected resource's project.static java.lang.StringREAD_ONLYAn attribute indicating whether the file is read only (value"readOnly").static java.lang.StringSESSION_PROPERTYAn attribute indicating a session property on the selected resource (value"sessionProperty").static java.lang.StringXML_DTD_NAMEDeprecated.Please use content types instead.static java.lang.StringXML_FIRST_TAGDeprecated.Please use content types instead.
-
Method Summary
-
Methods inherited from interface org.eclipse.ui.IActionFilter
testAttribute
-
-
-
-
Field Detail
-
NAME
static final java.lang.String NAME
An attribute indicating the file name (value"name"). The attribute value in xml is unconstrained. "*" may be used at the start or the end to represent "one or more characters".- See Also:
- Constant Field Values
-
EXTENSION
static final java.lang.String EXTENSION
An attribute indicating the file extension (value"extension"). The attribute value in xml is unconstrained.- See Also:
- Constant Field Values
-
PATH
static final java.lang.String PATH
An attribute indicating the file path (value"path"). The attribute value in xml is unconstrained. "*" may be used at the start or the end to represent "one or more characters".- See Also:
- Constant Field Values
-
READ_ONLY
static final java.lang.String READ_ONLY
An attribute indicating whether the file is read only (value"readOnly"). The attribute value in xml must be one of"true" or "false".- See Also:
- Constant Field Values
-
PROJECT_NATURE
static final java.lang.String PROJECT_NATURE
An attribute indicating the project nature (value"projectNature"). The attribute value in xml is unconstrained.- See Also:
- Constant Field Values
-
PERSISTENT_PROPERTY
static final java.lang.String PERSISTENT_PROPERTY
An attribute indicating a persistent property on the selected resource (value"persistentProperty"). If the value is a simple string, then this simply tests for existence of the property on the resource. If it has the format"propertyName=propertyValue"this obtains the value of the property with the specified name and tests it for equality with the specified value.- See Also:
- Constant Field Values
-
PROJECT_PERSISTENT_PROPERTY
static final java.lang.String PROJECT_PERSISTENT_PROPERTY
An attribute indicating a persistent property on the selected resource's project. (value"projectPersistentProperty"). If the value is a simple string, then this simply tests for existence of the property on the resource. If it has the format"propertyName=propertyValue"this obtains the value of the property with the specified name and tests it for equality with the specified value.- See Also:
- Constant Field Values
-
SESSION_PROPERTY
static final java.lang.String SESSION_PROPERTY
An attribute indicating a session property on the selected resource (value"sessionProperty"). If the value is a simple string, then this simply tests for existence of the property on the resource. If it has the format"propertyName=propertyValue"this obtains the value of the property with the specified name and tests it for equality with the specified value.- See Also:
- Constant Field Values
-
PROJECT_SESSION_PROPERTY
static final java.lang.String PROJECT_SESSION_PROPERTY
An attribute indicating a session property on the selected resource's project. (value"projectSessionProperty"). If the value is a simple string, then this simply tests for existence of the property on the resource. If it has the format"propertyName=propertyValue"this obtains the value of the property with the specified name and tests it for equality with the specified value.- See Also:
- Constant Field Values
-
XML_FIRST_TAG
@Deprecated static final java.lang.String XML_FIRST_TAG
Deprecated.Please use content types instead.An attribute indicating that this is an xml file and we should ensure that the first tag (or top-level tag) has this name.- Since:
- 3.0
- See Also:
- Constant Field Values
-
XML_DTD_NAME
@Deprecated static final java.lang.String XML_DTD_NAME
Deprecated.Please use content types instead.An attribute indicating that this is an xml file and we should ensure that the DTD definition in this xml file is the value supplied with this attribute.- Since:
- 3.0
- See Also:
- Constant Field Values
-
CONTENT_TYPE_ID
static final java.lang.String CONTENT_TYPE_ID
An attribute indicating that this is a file, and we are looking to verify that the file matches the content type matching the given identifier. The identifier is provided in the value.- Since:
- 3.0
- See Also:
- Constant Field Values
-
-