Commit 773eb634 authored by Eric Tobias's avatar Eric Tobias

Changed equation parsing to no longer use attributes but children. Also switched to JDom2 from w3c

parent be8591ce
Pipeline #124 skipped
......@@ -30,7 +30,20 @@ import org.eclipse.osgi.util.NLS;
@SuppressWarnings({"javadoc", "nls"})
public class Externalization extends NLS {
private static final String BUNDLE_NAME = "lu.list.itis.dkd.tui.cps.utility.externalization";
public static String EQUATION_ELEMENT;
public static String EQUATIONS_ELEMENT;
public static String INVOKE_ELEMENT;
public static String NAME_ELEMENT;
public static String OUTPUT_ELEMENT;
public static String OUTPUTS_ELEMENT;
public static String PARAMETER_ELEMENT;
public static String PARAMETERS_ELEMENT;
public static String PERIODIC_ELEMENT;
public static String RESULT_ELEMENT;
public static String RESULTS_ELEMENT;
public static String SYSTEM_ELEMENT;
public static String UNIT_ATTRIBUTE;
public static String UNIT_ELEMENT;
static {
// initialize resource bundle
......
EQUATION_ELEMENT=equation
EQUATIONS_ELEMENT=equations
INVOKE_ELEMENT=invoke
NAME_ELEMENT=name
OUTPUT_ELEMENT=output
OUTPUTS_ELEMENT=outputs
PARAMETER_ELEMENT=parameter
PARAMETERS_ELEMENT=parameters
PERIODIC_ELEMENT=periodic
RESULT_ELEMENT=result
RESULTS_ELEMENT=results
SYSTEM_ELEMENT=system
UNIT_ATTRIBUTE=unit
UNIT_ELEMENT=unit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment