org.eclipse.gmt.umlx.eqvtc.editor
Class QVTcCreationFactory

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.common.AbstractCreationFactory
      extended by org.eclipse.gmt.umlx.eqvtc.editor.QVTcCreationFactory
All Implemented Interfaces:
ICreationFactory

public class QVTcCreationFactory
extends AbstractCreationFactory


Field Summary
static java.lang.String BUILDER_ID
           
static QVTcCreationFactory INSTANCE
           
static java.lang.String NATURE_ID
           
static java.lang.String PROBLEM_MARKER_ID
           
 
Method Summary
 org.eclipse.gmt.umlx.cst.parser.ErrorHandler createErrorHandler(org.eclipse.core.resources.IFile file)
          Create the error handler and associated marker creation support.
 QVTcFileEnvironment createFileEnvironment(org.eclipse.gmt.umlx.registry.environment.AbstractFileHandle fileHandle, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
          Create the IFileEnvironment for parsing fileHandle within resourceSet.
 QVTcTextEditor createTextEditor(IEditorPageManager editorPageManager)
           
 EqvtCoreUnparser createUnparser(org.eclipse.emf.ecore.resource.Resource resource)
           
 java.lang.String getBuilderId()
          Return the ID of the builder.
 java.lang.String[] getEcoreExtensions()
           
 java.lang.String getEditorName()
          Return a name to be used to describe the associated type of editor.
 java.lang.String[] getEMOFExtensions()
           
 org.eclipse.gmt.umlx.eqvtcore.util.EqvtCoreMappingMetaData getMappingMetaData()
          Return the EMOF to/from Ecore mapping description.
 java.lang.String getNatureId()
          Return the ID of the nature.
 java.lang.String getProblemMarkerId()
          Return the Marker ID for problems.
 java.lang.String getTextExtension()
           
 java.lang.String[] getTextExtensions()
          Return the extensions for which checkResource should invoke compile.
 
Methods inherited from class org.eclipse.gmt.umlx.editor.common.AbstractCreationFactory
getEcoreExtension, getEMOFExtension, getXMLExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static QVTcCreationFactory INSTANCE

BUILDER_ID

public static final java.lang.String BUILDER_ID

NATURE_ID

public static final java.lang.String NATURE_ID

PROBLEM_MARKER_ID

public static final java.lang.String PROBLEM_MARKER_ID
Method Detail

createErrorHandler

public org.eclipse.gmt.umlx.cst.parser.ErrorHandler createErrorHandler(org.eclipse.core.resources.IFile file)
Description copied from interface: ICreationFactory
Create the error handler and associated marker creation support.


createFileEnvironment

public QVTcFileEnvironment createFileEnvironment(org.eclipse.gmt.umlx.registry.environment.AbstractFileHandle fileHandle,
                                                 org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Description copied from interface: ICreationFactory
Create the IFileEnvironment for parsing fileHandle within resourceSet.


createTextEditor

public QVTcTextEditor createTextEditor(IEditorPageManager editorPageManager)

createUnparser

public EqvtCoreUnparser createUnparser(org.eclipse.emf.ecore.resource.Resource resource)

getBuilderId

public java.lang.String getBuilderId()
Description copied from interface: ICreationFactory
Return the ID of the builder.


getEMOFExtensions

public java.lang.String[] getEMOFExtensions()

getEcoreExtensions

public java.lang.String[] getEcoreExtensions()

getEditorName

public java.lang.String getEditorName()
Description copied from interface: ICreationFactory
Return a name to be used to describe the associated type of editor.


getMappingMetaData

public org.eclipse.gmt.umlx.eqvtcore.util.EqvtCoreMappingMetaData getMappingMetaData()
Description copied from interface: ICreationFactory
Return the EMOF to/from Ecore mapping description.


getNatureId

public java.lang.String getNatureId()
Description copied from interface: ICreationFactory
Return the ID of the nature.


getProblemMarkerId

public java.lang.String getProblemMarkerId()
Description copied from interface: ICreationFactory
Return the Marker ID for problems.


getTextExtension

public java.lang.String getTextExtension()

getTextExtensions

public java.lang.String[] getTextExtensions()
Description copied from interface: ICreationFactory
Return the extensions for which checkResource should invoke compile.