Eclipse Platform
Release 3.2

org.eclipse.ltk.core.refactoring.participants
Interface IParticipantDescriptorFilter


public interface IParticipantDescriptorFilter

A participant descriptor filter allows clients to provide additional filters on participant selection.

Since:
3.2

Field Summary
static java.lang.String NAME
          A constant indicating a name attribute (value: name)
static java.lang.String PARAM
          A constant indicating a param element (value: param)
static java.lang.String VALUE
          A constant indicating a value attribute (value: value)
 
Method Summary
 boolean select(IConfigurationElement element, RefactoringStatus status)
          Returns whether the given element makes it through this filter.
 

Field Detail

PARAM

static final java.lang.String PARAM
A constant indicating a param element (value: param)

See Also:
Constant Field Values

NAME

static final java.lang.String NAME
A constant indicating a name attribute (value: name)

See Also:
Constant Field Values

VALUE

static final java.lang.String VALUE
A constant indicating a value attribute (value: value)

See Also:
Constant Field Values
Method Detail

select

boolean select(IConfigurationElement element,
               RefactoringStatus status)
Returns whether the given element makes it through this filter.

Parameters:
element - the configuration element describing the refactoring participant
status - a RefactoringStatus to optionally add warning messages if the participant was not selected
Returns:
true if element is included, and false if excluded

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.