# com.bea.ide.actions
IGenerator Interface

public interface IGenerator

This is a common base interface for action generators. Action generators are used to create sets of actions dynamically.

Related Topics

``ActionSvc``

## Method Summary

`public boolean` | `isVisible`() Determines whether the actions represented by this generator are currently visible.
`public boolean` | `populate`(`IActionContainer` container) Adds actions to the given container.

## Method Detail

### isVisible() Method

    public boolean isVisible()

Determines whether the actions represented by this generator are currently visible.

#### Returns

`true` if this generator should be invoked to add its actions to the current set; `false` if none of the actions for this generator are currently visible.

### populate(IActionContainer) Method

    public boolean populate(IActionContainer container)

Adds actions to the given container.

#### Parameters

container
  The IActionContainer that needs to be populated.

#### Returns

`true` if items were added to the menu; `false` if there were no items added.