# com.bea.ide.workspace
IWorkspaceTemplateProcessor.IContext Interface

public static interface IWorkspaceTemplateProcessor.IContext

Represents a specific workspace context that the processor will operate on. Convenience methods are provided for loading template elements into the workspace context.

Enclosing interface
  `IWorkspaceTemplateProcessor`

## Method Summary

`public `IWorkspace`` | `getWorkspace`() Workspace for the processor to operate on.
`public boolean` | `loadAll`(`IWorkspaceTemplate` template) Loads all template project and content elements into the workspace.
`public boolean` | `loadContent`(`IWorkspaceTemplate.ITemplateContent` content) Loads a single template content element into the workspace.
`public boolean` | `loadProjects`(`IWorkspaceTemplate` template) Loads all template project elements into the workspace.

## Method Detail

### getWorkspace() Method

    public IWorkspace getWorkspace()

Workspace for the processor to operate on. Note that the processor should not assume that the workspace is currently active in the IDE.

#### Returns

IWorkspace

### loadAll(IWorkspaceTemplate) Method

    public boolean loadAll(IWorkspaceTemplate template)

Loads all template project and content elements into the workspace.

#### Returns

true on success, false if operation failed to complete.

### loadContent(IWorkspaceTemplate.ITemplateContent) Method

    public boolean loadContent(IWorkspaceTemplate.ITemplateContent content)

Loads a single template content element into the workspace.

#### Returns

true on success, false if operation failed to complete.

### loadProjects(IWorkspaceTemplate) Method

    public boolean loadProjects(IWorkspaceTemplate template)

Loads all template project elements into the workspace.

#### Returns

true on success, false if operation failed to complete.