Example usage for org.springframework.ide.eclipse.beans.core.model IBeanProperty getElementName

List of usage examples for org.springframework.ide.eclipse.beans.core.model IBeanProperty getElementName

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.beans.core.model IBeanProperty getElementName.

Prototype

String getElementName();

Source Link

Document

Returns the name of this element.

Usage

From source file:org.synyx.hades.eclipse.beans.ui.HadesNamespaceContentProvider.java

public List<IBeanProperty> getFilteredProperties(IBean bean) {

    List<IBeanProperty> filtered = new ArrayList<IBeanProperty>();

    for (Object child : super.getChildren(bean)) {

        if (child instanceof IBeanProperty) {

            IBeanProperty property = (IBeanProperty) child;
            if (!FILTER_PROPERTIES.contains(property.getElementName())) {
                filtered.add(property);// w  w  w.j  a va2  s . c  o  m
            }
        }
    }

    return filtered;
}