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

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.pages.AbstractPageManager
All Implemented Interfaces:
IPageManager
Direct Known Subclasses:
EditorPageManager, TreePageManager

public abstract class AbstractPageManager
extends java.lang.Object
implements IPageManager


Constructor Summary
AbstractPageManager(QVTEditor multiPageEditor, java.lang.String pageTitle)
           
 
Method Summary
 ICreationFactory getCreationFactory()
           
 org.eclipse.gmt.umlx.alien.adapter.AlienXMIResourceSet getResourceSet()
           
 java.lang.String getTitle()
          Return the text for the page tab.
 boolean isActivePageManager()
           
 boolean isContentPageManager()
           
 boolean isDirty()
          Return true if any multi-page has been modified.
 void saveTo(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
          Save the page contents to the specified file.
 
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.IPageManager
activate, cannotDeactivate, deactivate, doSave, getCurrentContents, getFileExtension, hasContent, hasCopy, isDirtyPage, isPrimary, postDeactivate, refresh, setActive
 

Constructor Detail

AbstractPageManager

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

getCreationFactory

public ICreationFactory getCreationFactory()

getResourceSet

public org.eclipse.gmt.umlx.alien.adapter.AlienXMIResourceSet getResourceSet()

getTitle

public java.lang.String getTitle()
Description copied from interface: IPageManager
Return the text for the page tab.

Specified by:
getTitle in interface IPageManager

isActivePageManager

public boolean isActivePageManager()

isContentPageManager

public boolean isContentPageManager()

isDirty

public boolean isDirty()
Description copied from interface: IPageManager
Return true if any multi-page has been modified.

Specified by:
isDirty in interface IPageManager

saveTo

public void saveTo(org.eclipse.core.resources.IFile file,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
Description copied from interface: IPageManager
Save the page contents to the specified file.

Specified by:
saveTo in interface IPageManager