|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditorEnvironment
IEditorEnvironment provides the interface to external facilities, allowing a test environment to provide alternate implementations.
Method Summary | |
---|---|
org.eclipse.emf.ecore.resource.Resource |
createGcoreResource(IActiveEditDomain editDomain,
org.eclipse.emf.common.util.URI uri)
Create the GCore resource from uri in the editDomain. |
IActiveEditDomain |
getActiveEditDomain()
Return the ActiveEditDomain for the current editor. |
org.eclipse.ui.IEditorPart |
getActiveEditor()
|
java.util.List<GImport> |
getActiveImports()
Return the resources used by the current editor, which is the imports of the Gcore Resource of the Actived editor. |
org.eclipse.ui.IWorkbenchPage |
getActivePage()
|
org.eclipse.ui.IWorkbenchPart |
getActivePart()
|
IRegimeContext |
getActiveRegimeContext()
|
org.eclipse.emf.ecore.resource.ResourceSet |
getActiveResourceSet()
Return the ResourceSet in use by the ActiveEditDomain. |
org.eclipse.jface.viewers.ISelectionProvider |
getActiveSelectionProvider()
|
ISheetEditor |
getActiveSheetEditor()
|
SheetViewer |
getActiveSheetViewer()
|
org.eclipse.jface.action.IStatusLineManager |
getActiveStatusLineManager()
|
boolean |
requestUnlock(org.eclipse.emf.ecore.resource.Resource resource)
|
Methods inherited from interface org.eclipse.gmt.umlx.IEnvironment |
---|
getClipboardContents, logException, setClipboardContents |
Method Detail |
---|
org.eclipse.emf.ecore.resource.Resource createGcoreResource(IActiveEditDomain editDomain, org.eclipse.emf.common.util.URI uri)
editDomain
- uri
-
IActiveEditDomain getActiveEditDomain()
org.eclipse.ui.IEditorPart getActiveEditor()
java.util.List<GImport> getActiveImports()
org.eclipse.ui.IWorkbenchPage getActivePage()
org.eclipse.ui.IWorkbenchPart getActivePart()
IRegimeContext getActiveRegimeContext()
org.eclipse.emf.ecore.resource.ResourceSet getActiveResourceSet()
org.eclipse.jface.viewers.ISelectionProvider getActiveSelectionProvider()
ISheetEditor getActiveSheetEditor()
SheetViewer getActiveSheetViewer()
org.eclipse.jface.action.IStatusLineManager getActiveStatusLineManager()
boolean requestUnlock(org.eclipse.emf.ecore.resource.Resource resource)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |