Package org.eclipse.ui.internal
Class WorkingSetFactory
java.lang.Object
org.eclipse.ui.internal.WorkingSetFactory
- All Implemented Interfaces:
IElementFactory
A WorkingSetFactory is used to recreate a persisted WorkingSet object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateElement(IMemento memento) Re-creates and returns an object from the state captured within the given memento.
-
Constructor Details
-
WorkingSetFactory
public WorkingSetFactory()
-
-
Method Details
-
createElement
Description copied from interface:IElementFactoryRe-creates and returns an object from the state captured within the given memento.If the result is not null, it should be persistable; that is,
result.getAdapter(org.eclipse.ui.IPersistableElement.class)
should not return
null.- Specified by:
createElementin interfaceIElementFactory- Parameters:
memento- a memento containing the state for the object- Returns:
- an object, or
nullif the element could not be created
-