TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.engine.impl
Class IAlgorithmExtensionImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.tptp.platform.analysis.engine.impl.IAlgorithmExtensionImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.EObject, IAlgorithmExtension, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier
Direct Known Subclasses:
AlgorithmExtension

public class IAlgorithmExtensionImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements IAlgorithmExtension

An implementation of the model object ' IAlgorithm Extension'.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.tptp.platform.analysis.engine.IAlgorithmExtension
IAlgorithmExtension.IImportUpdater
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected IAlgorithmExtensionImpl()
           
 
Method Summary
 IData create(ITemplateAlgorithm template, ICategoryDescriptor descriptor)
           
 void delete(IData data)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 IData[] getAlgorithmData(ICategoryDescriptor categoryDescriptor)
           
 IAlgorithm[] getAlgorithms()
          Read algorithms from xml files
 ICategoryReviewList getCategoryReviewList()
           
 java.io.File getPluginDirectory()
           
 ISolution[] getSolutions(IProblemData problemData, IMatch match)
           
 ITemplateAlgorithm[] getTemplateAlgorithms(ICategoryDescriptor categoryDescriptor)
           
 IAlgorithmExtension.IImportUpdater getUpdater()
           
 java.io.File getWorkspaceDirectory()
           
 void init(java.io.File pluginBaseDir, java.io.File workspaceBaseDir, boolean newVersion)
           
 void move(IData data, ICategoryDescriptor categoryDescriptor)
           
 void save(IData data)
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

IAlgorithmExtensionImpl

protected IAlgorithmExtensionImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()


init

public void init(java.io.File pluginBaseDir,
                 java.io.File workspaceBaseDir,
                 boolean newVersion)
          throws java.lang.Exception

Specified by:
init in interface IAlgorithmExtension
Throws:
java.lang.Exception

getAlgorithms

public IAlgorithm[] getAlgorithms()
Read algorithms from xml files

Specified by:
getAlgorithms in interface IAlgorithmExtension

getAlgorithmData

public IData[] getAlgorithmData(ICategoryDescriptor categoryDescriptor)

Specified by:
getAlgorithmData in interface IAlgorithmExtension

getTemplateAlgorithms

public ITemplateAlgorithm[] getTemplateAlgorithms(ICategoryDescriptor categoryDescriptor)

Specified by:
getTemplateAlgorithms in interface IAlgorithmExtension

getSolutions

public ISolution[] getSolutions(IProblemData problemData,
                                IMatch match)

Specified by:
getSolutions in interface IAlgorithmExtension

save

public void save(IData data)
          throws java.lang.Exception

Specified by:
save in interface IAlgorithmExtension
Throws:
java.lang.Exception

move

public void move(IData data,
                 ICategoryDescriptor categoryDescriptor)
          throws java.lang.Exception

Specified by:
move in interface IAlgorithmExtension
Throws:
java.lang.Exception

delete

public void delete(IData data)

Specified by:
delete in interface IAlgorithmExtension

getPluginDirectory

public java.io.File getPluginDirectory()

Specified by:
getPluginDirectory in interface IAlgorithmExtension

getWorkspaceDirectory

public java.io.File getWorkspaceDirectory()

Specified by:
getWorkspaceDirectory in interface IAlgorithmExtension

getCategoryReviewList

public ICategoryReviewList getCategoryReviewList()

Specified by:
getCategoryReviewList in interface IAlgorithmExtension

create

public IData create(ITemplateAlgorithm template,
                    ICategoryDescriptor descriptor)
             throws java.lang.Exception

Specified by:
create in interface IAlgorithmExtension
Throws:
java.lang.Exception

getUpdater

public IAlgorithmExtension.IImportUpdater getUpdater()
Specified by:
getUpdater in interface IAlgorithmExtension

TPTP 4.1.0 Platform Project
Public API Specification