EGF Engine
Release 0.1.0

org.eclipse.egf.pde.ui.template
Class EmptyFactoryComponentTemplate

java.lang.Object
  extended by PDETemplateSection
      extended by org.eclipse.egf.pde.ui.template.EmptyFactoryComponentTemplate

public class EmptyFactoryComponentTemplate
extends PDETemplateSection

Template that creates a plug-in file with the initial structure to define an empty factory component.


Constructor Summary
EmptyFactoryComponentTemplate()
          Constructor.
 
Method Summary
protected  void addExtensionInModel(IPluginBase plugin_p, IPluginExtension extension_p)
          Add the extension in the plug-in model.
 void addPages(Wizard wizard)
           
protected  void createContractExtension(String contractId_p)
          Create the contract extension with entered data by the end-user.
protected  void createFactoryComponentExtension(String contractId_p, String productionPlanId_p)
          Create the factory component extension with entered data by the end-user.
protected  void createProductionPlanExtension(String productionPlanId_p)
          Create the production plan extension with entered data by the end-user.
protected  void generateFiles(IProgressMonitor monitor_p)
           
 IPluginReference[] getDependencies(String schemaVersion)
           
 String[] getNewFiles()
           
 int getNumberOfWorkUnits()
           
 String getSectionId()
           
 String getUsedExtensionPoint()
           
 void init(IFieldData fieldData_p)
          Set the field data.
 boolean isDependentOnParentWizard()
           
protected  void updateModel(IProgressMonitor monitor_p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyFactoryComponentTemplate

public EmptyFactoryComponentTemplate()
Constructor.

Method Detail

addPages

public void addPages(Wizard wizard)
See Also:
org.eclipse.pde.ui.templates.AbstractTemplateSection#addPages(org.eclipse.jface.wizard.Wizard)

init

public void init(IFieldData fieldData_p)
Set the field data.

Parameters:
fieldData_p - the fieldData to set

getSectionId

public String getSectionId()
See Also:
org.eclipse.pde.ui.templates.OptionTemplateSection#getSectionId()

updateModel

protected void updateModel(IProgressMonitor monitor_p)
                    throws CoreException
Throws:
CoreException
See Also:
org.eclipse.pde.ui.templates.AbstractTemplateSection#updateModel(org.eclipse.core.runtime.IProgressMonitor)

getDependencies

public IPluginReference[] getDependencies(String schemaVersion)
See Also:
org.eclipse.pde.ui.templates.AbstractTemplateSection#getDependencies(java.lang.String)

generateFiles

protected void generateFiles(IProgressMonitor monitor_p)
                      throws CoreException
Throws:
CoreException
See Also:
org.eclipse.pde.internal.ui.templates.PDETemplateSection#generateFiles(org.eclipse.core.runtime.IProgressMonitor)

getNewFiles

public String[] getNewFiles()
See Also:
org.eclipse.pde.internal.ui.templates.PDETemplateSection#getNewFiles()

isDependentOnParentWizard

public boolean isDependentOnParentWizard()
See Also:
org.eclipse.pde.ui.templates.BaseOptionTemplateSection#isDependentOnParentWizard()

getNumberOfWorkUnits

public int getNumberOfWorkUnits()
See Also:
org.eclipse.pde.ui.templates.AbstractTemplateSection#getNumberOfWorkUnits()

getUsedExtensionPoint

public String getUsedExtensionPoint()
See Also:
org.eclipse.pde.ui.templates.ITemplateSection#getUsedExtensionPoint()

createProductionPlanExtension

protected void createProductionPlanExtension(String productionPlanId_p)
                                      throws CoreException
Create the production plan extension with entered data by the end-user.

Parameters:
productionPlanId_p -
Throws:
CoreException

createContractExtension

protected void createContractExtension(String contractId_p)
                                throws CoreException
Create the contract extension with entered data by the end-user.

Parameters:
contractId_p -
Throws:
CoreException

createFactoryComponentExtension

protected void createFactoryComponentExtension(String contractId_p,
                                               String productionPlanId_p)
                                        throws CoreException
Create the factory component extension with entered data by the end-user.

Parameters:
contractId_p -
productionPlanId_p -
Throws:
CoreException

addExtensionInModel

protected void addExtensionInModel(IPluginBase plugin_p,
                                   IPluginExtension extension_p)
                            throws CoreException
Add the extension in the plug-in model.

Parameters:
plugin_p -
extension_p -
Throws:
CoreException

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.