EGF Engine
Release 0.1.0

org.eclipse.egf.pde.reader
Class PdeTargetPlatformReader

java.lang.Object
  extended by org.eclipse.egf.pde.reader.PdeAbstractReader
      extended by org.eclipse.egf.pde.reader.WorkspaceFactoryComponentReader
          extended by org.eclipse.egf.pde.reader.PdeTargetPlatformReader
All Implemented Interfaces:
IFactoryComponentReader

public class PdeTargetPlatformReader
extends WorkspaceFactoryComponentReader


Method Summary
protected  IPluginModel createTemporaryPluginModel(IPluginModelBase pluginModelBase_p)
          Load plug-in file content from a target-platform.
static PdeTargetPlatformReader getDefault()
          Return a shared default instance.
 IContextDescriptor readContext(String contextId_p, String fcId_p)
          Read a context description for given ids.
 IContractDescriptor readContract(String contractId_p, String fcId_p)
          Read a contract description for given ids.
 IContractElementReferenceDescriptor readContractElementReference(String contractReferenceId_p, String fcId_p)
          Read a contract element reference for given ids.
protected  IDescriptor readDescriptor(CreateDescriptorOperation createDescriptorOperation_p)
          Read a descriptor according to given create descriptor operation.
 IFactoryComponentDescriptor readFactoryComponent(IPluginModelBase pluginModel_p)
          Read a factory component.
 IFactoryComponentDescriptor readFactoryComponent(String fcId_p)
          Read a factory component description from given project.
 IFactoryComponentInvocationDescriptor readFactoryComponentInvocation(String factoryComponentInvocation_p, String fcId_p)
          Read a factory component invocation description for given ids.
 IDescriptor readMappings(String fcId_p)
          Read all mappings for given factory component.
 IDescriptor readPatternLibraries(String fcId_p)
          Read all pattern libraries for given factory component.
 IProductionPlanDescriptor readProductionPlan(String productionPlanId_p, String fcId_p)
          Read a production plan description for given ids.
 ITaskFactoryDescriptor readTaskFactory(String taskFactoryId_p, String fcId_p)
          Read a task factory for given ids.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static PdeTargetPlatformReader getDefault()
Return a shared default instance.

Returns:

readDescriptor

protected IDescriptor readDescriptor(CreateDescriptorOperation createDescriptorOperation_p)
Description copied from class: PdeAbstractReader
Read a descriptor according to given create descriptor operation.

Overrides:
readDescriptor in class WorkspaceFactoryComponentReader
Returns:
See Also:
PdeAbstractReader.readDescriptor(org.eclipse.egf.pde.reader.CreateDescriptorOperation)

createTemporaryPluginModel

protected IPluginModel createTemporaryPluginModel(IPluginModelBase pluginModelBase_p)
Load plug-in file content from a target-platform.

Parameters:
pluginModelBase_p -

readFactoryComponent

public IFactoryComponentDescriptor readFactoryComponent(String fcId_p)
Description copied from class: WorkspaceFactoryComponentReader
Read a factory component description from given project.

Specified by:
readFactoryComponent in interface IFactoryComponentReader
Overrides:
readFactoryComponent in class WorkspaceFactoryComponentReader
Returns:
an FactoryComponentDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readFactoryComponent(java.lang.String)

readFactoryComponent

public IFactoryComponentDescriptor readFactoryComponent(IPluginModelBase pluginModel_p)
Read a factory component.

Specified by:
readFactoryComponent in interface IFactoryComponentReader
Overrides:
readFactoryComponent in class WorkspaceFactoryComponentReader
Parameters:
pluginModel_p -
Returns:

readFactoryComponentInvocation

public IFactoryComponentInvocationDescriptor readFactoryComponentInvocation(String factoryComponentInvocation_p,
                                                                            String fcId_p)
Description copied from interface: IFactoryComponentReader
Read a factory component invocation description for given ids.

Specified by:
readFactoryComponentInvocation in interface IFactoryComponentReader
Overrides:
readFactoryComponentInvocation in class WorkspaceFactoryComponentReader
Returns:
an IFactoryComponentInvocationDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readFactoryComponentInvocation(java.lang.String, java.lang.String)

readContext

public IContextDescriptor readContext(String contextId_p,
                                      String fcId_p)
Description copied from interface: IFactoryComponentReader
Read a context description for given ids.

Specified by:
readContext in interface IFactoryComponentReader
Overrides:
readContext in class WorkspaceFactoryComponentReader
Returns:
an IContextDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readContext(java.lang.String, java.lang.String)

readContract

public IContractDescriptor readContract(String contractId_p,
                                        String fcId_p)
Description copied from interface: IFactoryComponentReader
Read a contract description for given ids.

Specified by:
readContract in interface IFactoryComponentReader
Overrides:
readContract in class WorkspaceFactoryComponentReader
Returns:
an IContractDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readContract(java.lang.String, java.lang.String)

readContractElementReference

public IContractElementReferenceDescriptor readContractElementReference(String contractReferenceId_p,
                                                                        String fcId_p)
Description copied from interface: IFactoryComponentReader
Read a contract element reference for given ids.

Specified by:
readContractElementReference in interface IFactoryComponentReader
Overrides:
readContractElementReference in class WorkspaceFactoryComponentReader
Returns:
an IContractElementReferenceDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readContractElementReference(java.lang.String, java.lang.String)

readMappings

public IDescriptor readMappings(String fcId_p)
Description copied from interface: IFactoryComponentReader
Read all mappings for given factory component.

Specified by:
readMappings in interface IFactoryComponentReader
Overrides:
readMappings in class WorkspaceFactoryComponentReader
Returns:
an IDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readMappings(java.lang.String)

readPatternLibraries

public IDescriptor readPatternLibraries(String fcId_p)
Description copied from interface: IFactoryComponentReader
Read all pattern libraries for given factory component.

Specified by:
readPatternLibraries in interface IFactoryComponentReader
Overrides:
readPatternLibraries in class WorkspaceFactoryComponentReader
Returns:
an IDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readPatternLibraries(java.lang.String)

readProductionPlan

public IProductionPlanDescriptor readProductionPlan(String productionPlanId_p,
                                                    String fcId_p)
Description copied from interface: IFactoryComponentReader
Read a production plan description for given ids.

Specified by:
readProductionPlan in interface IFactoryComponentReader
Overrides:
readProductionPlan in class WorkspaceFactoryComponentReader
Returns:
an IProductionPlanDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readProductionPlan(java.lang.String, java.lang.String)

readTaskFactory

public ITaskFactoryDescriptor readTaskFactory(String taskFactoryId_p,
                                              String fcId_p)
Description copied from interface: IFactoryComponentReader
Read a task factory for given ids.

Specified by:
readTaskFactory in interface IFactoryComponentReader
Overrides:
readTaskFactory in class WorkspaceFactoryComponentReader
Returns:
an ITaskFactoryDescriptor instance or null if data are not found.
See Also:
IFactoryComponentReader.readTaskFactory(java.lang.String, java.lang.String)

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.