mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-21 07:05:58 +02:00
move IActionFilter to IDataElementActionFilter. Fix for defect 150803.
This commit is contained in:
parent
5d4c83c2e4
commit
46fed2bfe1
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ public class DataElementActionFilter implements org.eclipse.ui.IActionFilter {
|
||||||
*
|
*
|
||||||
* The above contribution uses the RSE pop-up extension point to contribute an action
|
* The above contribution uses the RSE pop-up extension point to contribute an action
|
||||||
* to any single RSE object but not anything beginning with SPECIAL.
|
* to any single RSE object but not anything beginning with SPECIAL.
|
||||||
* @see IActionFilter#testAttribute(Object, String, String)
|
* @see IDataElementActionFilter#testAttribute(Object, String, String)
|
||||||
*/
|
*/
|
||||||
public boolean testAttribute(Object target, String name, String value) {
|
public boolean testAttribute(Object target, String name, String value) {
|
||||||
if (name.equals(_type) && target instanceof IDataElement) {
|
if (name.equals(_type) && target instanceof IDataElement) {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package org.eclipse.dstore.extra.internal.extra;
|
package org.eclipse.dstore.extra.internal.extra;
|
||||||
|
|
||||||
public interface IActionFilter extends org.eclipse.ui.IActionFilter
|
public interface IDataElementActionFilter extends org.eclipse.ui.IActionFilter
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue