Commit 16abcb3f authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ wizard template refinements

parent f04e8a55
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@ public class Messages extends NLS {
	public static String TDLtxProjectExecutable_Description;
	public static String TDLtxFileWithStandardLibrary_Label;
	public static String TDLtxFileWithStandardLibrary_Description;
	public static String TDLtxFileWithTPD_Label;
	public static String TDLtxFileWithTPD_Description;
	
	static {
	// initialize resource bundle
+3 −2
Original line number Diff line number Diff line
@@ -20,7 +20,8 @@ class TDLtxFileTemplateProvider implements IFileTemplateProvider {
		#[
			new TDLtxFile, 
			new TDLtxFileWithStandardLibrary,
			new TDLtxFileFromOpenAPI
			new TDLtxFileWithTPD
			//TODO: add TD, Test, TO templates
		]
	}
}
@@ -93,7 +94,7 @@ final class TDLtxFileWithStandardLibrary {


@FileTemplate(label="TDL Textual with Standard TDL Libraries and Test Purpose Description Example", icon="file_template.png", description="Create a new textual file for TDL importing standard libraries for TDL and including a Test Purpose Description Example.")
final class TDLtxFileFromOpenAPI {
final class TDLtxFileWithTPD {

    //TODO: reuse?
	override generateFiles(IFileGenerator generator) {
+2 −0
Original line number Diff line number Diff line
@@ -18,3 +18,5 @@ TDLtxProjectExecutable_Label=TDL Textual Project for Executable Tests
TDLtxProjectExecutable_Description=<p><b>TDL Textual for Executable Tests</b></p> <p>TODO: This is a parameterized project for TDL Textual. You can set a parameter to modify the content in the generated file and a parameter to set the path the file is created in.</p><p><img href="project_template.png"/></p>
TDLtxFileWithStandardLibrary_Label=TDL Textual with Standard TDL Libraries
TDLtxFileWithStandardLibrary_Description=Create a new textual file for TDL importing standard libraries for TDL.
TDLtxFileWithTPD_Label=TDL Textual with Standard TDL Libraries and Test Purpose Description Example
TDLtxFileWithTPD_Description=Create a new textual file for TDL importing standard libraries for TDL and including a Test Purpose Description Example.