org.eclipse.gmt.umlx.editor.pages
Class EMOFPageManager

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.pages.AbstractPageManager
      extended by org.eclipse.gmt.umlx.editor.pages.EditorPageManager
          extended by org.eclipse.gmt.umlx.editor.pages.XMLPageManager
              extended by org.eclipse.gmt.umlx.editor.pages.EMOFPageManager
All Implemented Interfaces:
IEditorPageManager, IPageManager

public class EMOFPageManager
extends XMLPageManager

An EMOFPageManager manages editing of the primary edit Resource as an EMOF-based XMI text file.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.gmt.umlx.editor.pages.EditorPageManager
EditorPageManager.ByteArrayOutputStream2InputStream
 
Constructor Summary
EMOFPageManager(QVTEditor multiPageEditor)
           
 
Method Summary
 void createContents(java.io.OutputStream outputStream)
          Create the editor-specific content in outputStream from getEcoreResource().
 java.lang.String getFileExtension()
          Return the file extension appropriate for temporary files created to support this page.
 
Methods inherited from class org.eclipse.gmt.umlx.editor.pages.XMLPageManager
cannotDeactivate, refresh
 
Methods inherited from class org.eclipse.gmt.umlx.editor.pages.EditorPageManager
activate, deactivate, doSave, getCurrentContents, getEditor, getEditorInput, hasContent, hasCopy, isDirtyPage, isEditingAsSecondary, isPrimary, postDeactivate, setActive, setEditingAsSecondary
 
Methods inherited from class org.eclipse.gmt.umlx.editor.pages.AbstractPageManager
getCreationFactory, getResourceSet, getTitle, isActivePageManager, isContentPageManager, isDirty, saveTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.IEditorPageManager
isActivePageManager, isContentPageManager
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.IPageManager
getTitle, isDirty, saveTo
 

Constructor Detail

EMOFPageManager

public EMOFPageManager(QVTEditor multiPageEditor)
Method Detail

createContents

public void createContents(java.io.OutputStream outputStream)
                    throws org.eclipse.gmt.umlx.alien.mapping.MappingConfigurationException,
                           java.io.IOException
Description copied from interface: IEditorPageManager
Create the editor-specific content in outputStream from getEcoreResource().

Throws:
org.eclipse.gmt.umlx.alien.mapping.MappingConfigurationException
java.io.IOException

getFileExtension

public java.lang.String getFileExtension()
Description copied from interface: IPageManager
Return the file extension appropriate for temporary files created to support this page.