Example usage for org.eclipse.jface.viewers ILabelDecorator isLabelProperty

List of usage examples for org.eclipse.jface.viewers ILabelDecorator isLabelProperty

Introduction

In this page you can find the example usage for org.eclipse.jface.viewers ILabelDecorator isLabelProperty.

Prototype

public boolean isLabelProperty(Object element, String property);

Source Link

Document

Returns whether the label would be affected by a change to the given property of the given element.

Usage

From source file:org.eclipse.handly.ui.viewer.CompositeLabelDecorator.java

License:Open Source License

@Override
public boolean isLabelProperty(Object element, String property) {
    for (ILabelDecorator decorator : decorators) {
        if (decorator.isLabelProperty(element, property))
            return true;
    }/*from w  ww .  j a  v  a  2  s  .co  m*/
    return false;
}