/*******************************************************************************
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * SPDX-License-Identifier: EPL-2.0
 *******************************************************************************/
package org.etsi.mts.tdl.ui.wizard

import java.nio.file.Files
import java.nio.file.Path
import org.eclipse.core.runtime.Platform
import org.osgi.framework.Bundle
import java.net.URL
import java.io.File
import java.net.URI

class TemplateContent {
	//TODO: can we access the shared templates instead?
	public static val Example = '''
    Package Wizardry {
        //standard annotations for STO
        Annotation Initial conditions
        Annotation Expected behaviour
        Annotation Final conditions
        Annotation Test Purpose Description
        Annotation when
        Annotation then
        //example types
        Type integer
        Type string
        //example configuration
        Message Gate http accepts string, integer
        Component node {
            gate http interface
        }
        Configuration base {
            node sut as SUT,
            node tester as Tester,
            connect sut::interface to tester::interface
        }
        //example test description
        Test example uses base {
            tester::interface sends "hello" {string} to sut::interface
        }
    }
    '''

}
