|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.umlx.Environment
org.eclipse.gmt.umlx.editor.EditorEnvironment
public class EditorEnvironment
EditorEnvironment provides the environment when editing (rather than testing).
Constructor Summary | |
---|---|
EditorEnvironment()
|
Method Summary | |
---|---|
org.eclipse.emf.ecore.resource.Resource |
createGcoreResource(IActiveEditDomain domain,
org.eclipse.emf.common.util.URI uri)
Create the GCore resource from uri in the editDomain. |
ActiveEditDomain |
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 class org.eclipse.gmt.umlx.Environment |
---|
getClipboardContents, logException, setClipboardContents |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gmt.umlx.IEnvironment |
---|
getClipboardContents, logException, setClipboardContents |
Constructor Detail |
---|
public EditorEnvironment()
Method Detail |
---|
public org.eclipse.emf.ecore.resource.Resource createGcoreResource(IActiveEditDomain domain, org.eclipse.emf.common.util.URI uri)
IEditorEnvironment
createGcoreResource
in interface IEditorEnvironment
public ActiveEditDomain getActiveEditDomain()
IEditorEnvironment
getActiveEditDomain
in interface IEditorEnvironment
public org.eclipse.ui.IEditorPart getActiveEditor()
getActiveEditor
in interface IEditorEnvironment
public java.util.List<GImport> getActiveImports()
IEditorEnvironment
getActiveImports
in interface IEditorEnvironment
public org.eclipse.ui.IWorkbenchPage getActivePage()
getActivePage
in interface IEditorEnvironment
public org.eclipse.ui.IWorkbenchPart getActivePart()
getActivePart
in interface IEditorEnvironment
public IRegimeContext getActiveRegimeContext()
getActiveRegimeContext
in interface IEditorEnvironment
public org.eclipse.emf.ecore.resource.ResourceSet getActiveResourceSet()
IEditorEnvironment
getActiveResourceSet
in interface IEditorEnvironment
public org.eclipse.jface.viewers.ISelectionProvider getActiveSelectionProvider()
getActiveSelectionProvider
in interface IEditorEnvironment
public ISheetEditor getActiveSheetEditor()
getActiveSheetEditor
in interface IEditorEnvironment
public SheetViewer getActiveSheetViewer()
getActiveSheetViewer
in interface IEditorEnvironment
public org.eclipse.jface.action.IStatusLineManager getActiveStatusLineManager()
getActiveStatusLineManager
in interface IEditorEnvironment
public boolean requestUnlock(org.eclipse.emf.ecore.resource.Resource resource)
requestUnlock
in interface IEditorEnvironment
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |