# com.bea.ide.ui.propertyeditor
IPropertyNode Interface

public interface IPropertyNode

Represents a node in an IElement's property heirarchy that will be displayed in the IDE's property view. IPropertyNodes should provide a label and description. An IPropertyNode may be used to group a set IPropertyNodes by returning a non-empty child list. The sub-interface IProperty adds property value access methods.

Related Topics

``IProperty``

All Known Implementing Classes
  `DefaultPropertyNode`, `DefaultProperty`

All Known Subinterfaces
  `IProperty`, `IPropertySheet`

## Method Summary

`public `IActionProxy`` | `getAction`() If this method returns a non-null value, a button will be created on the right side of the property row in the property view.
`public `List`` | `getChildren`() Returns a list of child IPropertyNodes.
`public `String`` | `getDescription`() Description of this property node.
`public `String`` | `getLabel`() Display label for this property node.

## Method Detail

### getAction() Method

    public IActionProxy getAction()

If this method returns a non-null value, a button will be created on the right side of the property row in the property view. The button will use display information in the IActionProxy and invoke the associated IAction.

See DefaultPropertyNode factory methods for creating a standard IActionProxy out of your IAction.

#### Returns

IActionProxy, may be null if no button is to be displayed.

### getChildren() Method

    public List getChildren()

Returns a list of child IPropertyNodes.

If this node has not children, an empty List should be returned. Use of Collections.EMPTY_LIST is recommended.

#### Returns

List of IPropertyNode. May not be null, may be empty.

### getDescription() Method

    public String getDescription()

Description of this property node.

#### Returns

String description.

### getLabel() Method

    public String getLabel()

Display label for this property node.

#### Returns

String label.