|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.ui.editor.EditorInputAdapter
public class EditorInputAdapter
| Constructor Summary | |
|---|---|
EditorInputAdapter()
|
|
| Method Summary | |
|---|---|
static DiagramEditorInput |
adaptToDiagramEditorInput(IEditorInput otherInput)
Creates a new DiagramEditorInput with a self created
TransactionalEditingDomain in case the passed
IEditorInput is either a IFileEditorInput or a
URIEditorInput. |
private static DiagramEditorInput |
createDiagramEditorInput(URI diagramFileUri)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditorInputAdapter()
| Method Detail |
|---|
public static DiagramEditorInput adaptToDiagramEditorInput(IEditorInput otherInput)
DiagramEditorInput with a self created
TransactionalEditingDomain in case the passed
IEditorInput is either a IFileEditorInput or a
URIEditorInput. It 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 if the conversion is
supported and succeeded, otherwise null.private static DiagramEditorInput createDiagramEditorInput(URI diagramFileUri)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||