ISourceElementGroup Interface

com.bea.ide.sourceeditor.element
ISourceElementGroup Interface

public interface ISourceElementGroup

An ISourceElementGroup is used to indicate that consecutive similar elements may be collapsed together. This is a parallel option to the method by which individual multi-line elements may be collapsed separately.

This interface contains no members. It only exists to differentiate group objects from the ISourceElement objects that are contained within them. ISourceViewDriver has several pairs of methods that take either standard ISourceElements or ISourceElementGroups as parameters.

Commonly, an ISourceViewDriver class will instantiate a single instance for each type of group by calling
static final ISourceElementGroup group = new ISourceElmentGroup() {};

Related Topics

ISourceViewDriver.getElementGroup