Eclipse Platform
2.1

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 acceptables 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
static String EXTENSION
          An attribute indicating the file extension (value "extension").
static String NAME
          An attribute indicating the file name (value "name").
static String PATH
          An attribute indicating the file path (value "path").
static String PERSISTENT_PROPERTY
          An attribute indicating a persistent property on the selected resource (value "persistentProperty").
static String PROJECT_NATURE
          An attribute indicating the project nature (value "projectNature").
static String PROJECT_PERSISTENT_PROPERTY
          An attribute indicating a persistent property on the selected resource's project.
static String PROJECT_SESSION_PROPERTY
          An attribute indicating a session property on the selected resource's project.
static String READ_ONLY
          An attribute indicating whether the file is read only (value "readOnly").
static String SESSION_PROPERTY
          An attribute indicating a session property on the selected resource (value "sessionProperty").
 
Methods inherited from interface org.eclipse.ui.IActionFilter
testAttribute
 

Field Detail

NAME

public static final 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".

EXTENSION

public static final String EXTENSION
An attribute indicating the file extension (value "extension"). The attribute value in xml is unconstrained.

PATH

public static final 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".

READ_ONLY

public static final 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".

PROJECT_NATURE

public static final String PROJECT_NATURE
An attribute indicating the project nature (value "projectNature"). The attribute value in xml is unconstrained.

PERSISTENT_PROPERTY

public static final 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.

PROJECT_PERSISTENT_PROPERTY

public static final 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.

SESSION_PROPERTY

public static final 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.

PROJECT_SESSION_PROPERTY

public static final 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.

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.