|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.graphiti.ui.editor.DiagramEditorFactory
public class DiagramEditorFactory
The Class DiagramEditorFactory. A factory for creating DiagramEditorInternal objects.
DiagramEditorInputBase}
,
DiagramEditorFactory}
,
DiagramEditorInput}
Nested Class Summary | |
---|---|
static class |
DiagramEditorFactory.DiagramEditorMatchingStrategy
For internal use only. |
Constructor Summary | |
---|---|
DiagramEditorFactory()
|
Method Summary | |
---|---|
DiagramEditorInput |
createEditorInput(IEditorInput otherInput)
Creates a new DiagramEditorInput with a self created
TransactionalEditingDomain or returns otherInput, if it is a
DiagramEditorInput . |
IAdaptable |
createElement(IMemento memento)
|
static TransactionalEditingDomain |
createResourceSetAndEditingDomain()
Creates a TransactionalEditingDomain with a ResourceSet
resource set and a IWorkspaceCommandStack command stack. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiagramEditorFactory()
Method Detail |
---|
public DiagramEditorInput createEditorInput(IEditorInput otherInput)
DiagramEditorInput
with a self created
TransactionalEditingDomain
or returns otherInput, if it is a
DiagramEditorInput
. The created editor input object will care
about the disposal of the editing domain.
otherInput
- an IEditorInput
editor input
DiagramEditorInput
editor input or a
DiagramEditorInputDisposingTED
public IAdaptable createElement(IMemento memento)
public static TransactionalEditingDomain createResourceSetAndEditingDomain()
TransactionalEditingDomain
with a ResourceSet
resource set and a IWorkspaceCommandStack
command stack.
TransactionalEditingDomain
editing domain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |