|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.FactoryImpl org.eclipse.emf.workspace.WorkspaceEditingDomainFactory
public class WorkspaceEditingDomainFactory
Factory for creating transactional editing domains that delegate
command execution, undo, and redo to an IOperationHistory
.
Field Summary | |
---|---|
static WorkspaceEditingDomainFactory |
INSTANCE
The single shared instance of the workbench editing domain factory. |
Constructor Summary | |
---|---|
WorkspaceEditingDomainFactory()
Initializes me. |
Method Summary | |
---|---|
TransactionalEditingDomain |
createEditingDomain()
Creates a new editing domain using a default resource set implementation and the Workbench's shared operation history. |
TransactionalEditingDomain |
createEditingDomain(IOperationHistory history)
Creates a new editing domain on a default resource set implementation and the specified operation history. |
TransactionalEditingDomain |
createEditingDomain(ResourceSet rset)
Creates a new editing domain using the given resource set and the Workbench's shared operation history. |
TransactionalEditingDomain |
createEditingDomain(ResourceSet rset,
IOperationHistory history)
Creates a new editing domain on the given resource set and the specified operation history. |
Methods inherited from class org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.FactoryImpl |
---|
getEditingDomain, mapResourceSet, unmapResourceSet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final WorkspaceEditingDomainFactory INSTANCE
Constructor Detail |
---|
public WorkspaceEditingDomainFactory()
Method Detail |
---|
public TransactionalEditingDomain createEditingDomain()
createEditingDomain
in interface TransactionalEditingDomain.Factory
createEditingDomain
in class TransactionalEditingDomainImpl.FactoryImpl
public TransactionalEditingDomain createEditingDomain(ResourceSet rset)
createEditingDomain
in interface TransactionalEditingDomain.Factory
createEditingDomain
in class TransactionalEditingDomainImpl.FactoryImpl
rset
- the resource set on which to create the editing domain
public TransactionalEditingDomain createEditingDomain(IOperationHistory history)
history
- the operation history to which I delegate the command stack
public TransactionalEditingDomain createEditingDomain(ResourceSet rset, IOperationHistory history)
rset
- the resource set to usehistory
- the operation history to which I delegate the command stack
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |