Copyright (c) 2014 itemis AG (http://www.itemis.eu) and others.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
/*******************************************************************************
* Copyright (c) 2014 itemis AG (http://www.itemis.eu) and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.debug.core.model;
Provides the ability to filter out steps based on some object. Associated
with a step filter extension.
The following is an example of a step filter extension:
<extension point="org.eclipse.debug.core.stepFilters">
<stepFilters
class="com.example.ExampleStepFilters"
modelIdentifier="com.example.debug.model">
</stepFilters>
</extension>
In the example above, the specified step filter will be used for the
com.example.debug.model
debug model.
Clients contributing step filters must implement this interface.
See Also: Since: 3.10 @noextend This interface is not intended to be extended by clients.
/**
* Provides the ability to filter out steps based on some object. Associated
* with a step filter extension.
*
* <p>
* The following is an example of a step filter extension:
* </p>
*
* <pre>
* <extension point="org.eclipse.debug.core.stepFilters">
* <stepFilters
* class="com.example.ExampleStepFilters"
* modelIdentifier="com.example.debug.model">
* </stepFilters>
* </extension>
* </pre>
* <p>
* In the example above, the specified step filter will be used for the
* <code>com.example.debug.model</code> debug model.
* </p>
*
* <p>
* Clients contributing step filters must implement this interface.
* </p>
*
* @since 3.10
* @see org.eclipse.debug.core.model.IStep
* @noextend This interface is not intended to be extended by clients.
*/
public interface IStepFilter {
Returns whether the step for the given object should be filtered.
Params: - object – the object to filter
Returns: whether the step for the given object should be filtered.
/**
* Returns whether the step for the given object should be filtered.
*
* @param object the object to filter
* @return whether the step for the given object should be filtered.
*/
boolean isFiltered(Object object);
}