com.sap.ide.tools.core.patternfwk
Interface ISourcePatternWizard

All Known Implementing Classes:
AbstractSourcePatternWizard, TreeWizard, ListWizard

public interface ISourcePatternWizard

This interface has to be implemented by the wizard class of a source code pattern. The implementing class has to provide a public contructor without any parameters. com.sap.ide.tools.core.patternfwk.AbstractSourcePatternWizard is an abstract base implementation for this interface.


Method Summary
 ISourcePatternData getData()
          This method has to return the data class containing all information that was gathered while running the wizard.
 void setContainingObject(com.sap.ide.metamodel.general.DevelopmentObject containingObject)
          This method will be called right after creation of the wizard by the pattern framework.
 

Method Detail

setContainingObject

public void setContainingObject(com.sap.ide.metamodel.general.DevelopmentObject containingObject)
This method will be called right after creation of the wizard by the pattern framework.
Parameters:
containingObject - The containing object for the pattern, e.g. the controller for a controller editor.

getData

public ISourcePatternData getData()
This method has to return the data class containing all information that was gathered while running the wizard. The class returned here will be passed to the code generation method or Velocity template.
Returns:
The data class as a ISourcePatternData.


Copyright © 2005 SAP AG. All Rights Reserved.