|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
IAdaptable[] |
getElements()
Returns the elements that are contained in this working set. |
String |
getId()
Returns the working set id. |
ImageDescriptor |
getImage()
Returns the working set icon. |
String |
getName()
Returns the name of the working set. |
boolean |
isEditable()
Returns whether this working set can be edited or not. |
void |
setElements(IAdaptable[] elements)
Sets the elements that are contained in this working set. |
void |
setId(String id)
Sets the working set id. |
void |
setName(String name)
Sets the name of the working set. |
Methods inherited from interface org.eclipse.ui.IPersistableElement |
---|
getFactoryId |
Methods inherited from interface org.eclipse.ui.IPersistable |
---|
saveState |
Method Detail |
public IAdaptable[] getElements()
public String getId()
null
if no
working set id has been set.
This is one of the ids defined by extensions of the
org.eclipse.ui.workingSets extension point.
It is used by the workbench to determine the page to use in
the working set edit wizard. The default resource edit page
is used if this value is null
.
null
public ImageDescriptor getImage()
getId()
.
Returns null
if no icon has been specified in the
extension or if getId()
returns null
.
null
.public String getName()
public void setElements(IAdaptable[] elements)
elements
- the elements to set in this working setpublic void setId(String id)
null
.
id
- the working set id. May be null
public void setName(String name)
name
- the name of the working setpublic boolean isEditable()
pageClass
of
the extension defining a working set must be provided.
true
if the working set can be edited; otherwise
false
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.