|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMTLExampleStrategy
An internal extension point is defined to specify multiple example strategies. It is used to initialize automatically a template file from an example in the "New>MTL>MTL Templates" wizard. The extension point "org.eclipse.mtl.ide.ui.example" requires a fully qualified name of a Java class implementing this interface.
MTLCopyExampleContentStrategy| Method Summary | |
|---|---|
java.lang.String |
getContent(org.eclipse.core.resources.IFile exampleFile,
java.lang.String moduleName,
java.lang.String metamodelURI,
java.lang.String metamodelFileType)
Gets the new template content, using the example file and the wizard information. |
java.lang.String |
getDescription()
Gets the description of the strategy (Displayed in the "New>MTL>MTL Templates" wizard). |
| Method Detail |
|---|
java.lang.String getDescription()
java.lang.String getContent(org.eclipse.core.resources.IFile exampleFile,
java.lang.String moduleName,
java.lang.String metamodelURI,
java.lang.String metamodelFileType)
exampleFile - is the selected examplemoduleName - is the module namemetamodelURI - is the metamodel URImetamodelFileType - is the main metamodel type
|
Copyright 2008 Obeo All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||