Eclipse Platform
2.0

org.eclipse.ui
Interface IWorkingSet


public interface IWorkingSet

A working set holds a number of IAdaptable elements. A working set is intended to group elements for presentation to the user or for operations on a set of elements.

This interface is not intended to be implemented by clients.

Since:
2.0

Method Summary
 IAdaptable[] getElements()
          Returns the elements that are contained in this working set.
 String getName()
          Returns the name of the working set.
 void setElements(IAdaptable[] elements)
          Sets the elements that are contained in this working set.
 void setName(String name)
          Sets the name of the working set.
 

Method Detail

getName

public String getName()
Returns the name of the working set.

Returns:
the name of the working set

getElements

public IAdaptable[] getElements()
Returns the elements that are contained in this working set.

Returns:
the working set's elements

setElements

public void setElements(IAdaptable[] elements)
Sets the elements that are contained in this working set.

Parameters:
elements - the elements to set in this working set

setName

public void setName(String name)
Sets the name of the working set. The working set name should be unique. The working set name must not have leading or trailing whitespace.

Parameters:
name - the name of the working set

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.