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

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
All Implemented Interfaces:
IEditorPageManager, IPageManager
Direct Known Subclasses:
EcorePageManager, EMOFPageManager

public abstract class XMLPageManager
extends EditorPageManager

An XMLPageManager manages editing of the primary edit Resource as an XMI text file.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.gmt.umlx.editor.pages.EditorPageManager
EditorPageManager.ByteArrayOutputStream2InputStream
 
Constructor Summary
XMLPageManager(QVTEditor multiPageEditor, java.lang.String pageTitle)
           
 
Method Summary
 java.lang.String cannotDeactivate(org.eclipse.core.runtime.IProgressMonitor monitor)
          Return a non-null reason if deactivate should not occur.
 void refresh()
          Respond to an external change such as a model registry update.
 
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
createContents, isActivePageManager, isContentPageManager
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.IPageManager
getFileExtension, getTitle, isDirty, saveTo
 

Constructor Detail

XMLPageManager

public XMLPageManager(QVTEditor multiPageEditor,
                      java.lang.String pageTitle)
Method Detail

cannotDeactivate

public java.lang.String cannotDeactivate(org.eclipse.core.runtime.IProgressMonitor monitor)
Description copied from interface: IPageManager
Return a non-null reason if deactivate should not occur. postDeactivate is alwayd invoked to release any resources cached by cannotDeactivate for passing to deactivate.

Returns:

refresh

public void refresh()
Description copied from interface: IPageManager
Respond to an external change such as a model registry update.