public class AdapterUtil
extends java.lang.Object
Constructor and Description |
---|
AdapterUtil() |
Modifier and Type | Method and Description |
---|---|
static IModelConnector |
getModelConnectorFromIEditorPart(org.eclipse.ui.IEditorPart editorPart) |
static java.util.Optional<IModelConnector> |
getModelConnectorFromIEditorPartChecked(org.eclipse.ui.IEditorPart editorPart) |
public static IModelConnector getModelConnectorFromIEditorPart(org.eclipse.ui.IEditorPart editorPart)
editorPart
- which can be loaded into the systemResourceSet
instance which is used by the given editorpart, or null if no such connector is availablepublic static java.util.Optional<IModelConnector> getModelConnectorFromIEditorPartChecked(org.eclipse.ui.IEditorPart editorPart)
editorPart
- which can be loaded into the systemResourceSet
instance which is used by the given editorpart