Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

Commit

Permalink
[#9] Added missing NLS tags
Browse files Browse the repository at this point in the history
Change-Id: I3538e5f8def5f710dfcb8832feea135b60709d72
  • Loading branch information
wpiers committed Jul 13, 2021
1 parent 9ffc7a0 commit 2f37831
Show file tree
Hide file tree
Showing 184 changed files with 1,319 additions and 1,319 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,71 +25,71 @@
@XmlRegistry
public class ObjectFactory {

private final static QName _PooslSpecification_QNAME = new QName("uri:poosl", "poosl_specification");
private final static QName _PooslSpecification_QNAME = new QName("uri:poosl", "poosl_specification"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsSequenceOfExpressions_QNAME = new QName("uri:poosl", "sequence_of_expressions");
private final static QName _TExpressionsSequenceOfExpressions_QNAME = new QName("uri:poosl", "sequence_of_expressions"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsWhile_QNAME = new QName("uri:poosl", "while");
private final static QName _TExpressionsWhile_QNAME = new QName("uri:poosl", "while"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsSwitch_QNAME = new QName("uri:poosl", "switch");
private final static QName _TExpressionsSwitch_QNAME = new QName("uri:poosl", "switch"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsDataMethodCall_QNAME = new QName("uri:poosl", "data_method_call");
private final static QName _TExpressionsDataMethodCall_QNAME = new QName("uri:poosl", "data_method_call"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsNew_QNAME = new QName("uri:poosl", "new");
private final static QName _TExpressionsNew_QNAME = new QName("uri:poosl", "new"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsConstant_QNAME = new QName("uri:poosl", "constant");
private final static QName _TExpressionsConstant_QNAME = new QName("uri:poosl", "constant"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsAssignment_QNAME = new QName("uri:poosl", "assignment");
private final static QName _TExpressionsAssignment_QNAME = new QName("uri:poosl", "assignment"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsSelf_QNAME = new QName("uri:poosl", "self");
private final static QName _TExpressionsSelf_QNAME = new QName("uri:poosl", "self"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsVariable_QNAME = new QName("uri:poosl", "variable");
private final static QName _TExpressionsVariable_QNAME = new QName("uri:poosl", "variable"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsIf_QNAME = new QName("uri:poosl", "if");
private final static QName _TExpressionsIf_QNAME = new QName("uri:poosl", "if"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsBinaryOperation_QNAME = new QName("uri:poosl", "binary_operation");
private final static QName _TExpressionsBinaryOperation_QNAME = new QName("uri:poosl", "binary_operation"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsUnaryOperation_QNAME = new QName("uri:poosl", "unary_operation");
private final static QName _TExpressionsUnaryOperation_QNAME = new QName("uri:poosl", "unary_operation"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsCurrentTime_QNAME = new QName("uri:poosl", "current_time");
private final static QName _TExpressionsCurrentTime_QNAME = new QName("uri:poosl", "current_time"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsReturn_QNAME = new QName("uri:poosl", "return");
private final static QName _TExpressionsReturn_QNAME = new QName("uri:poosl", "return"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExpressionsNil_QNAME = new QName("uri:poosl", "nil");
private final static QName _TExpressionsNil_QNAME = new QName("uri:poosl", "nil"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsProcessMethodCall_QNAME = new QName("uri:poosl", "process_method_call");
private final static QName _TStatementsProcessMethodCall_QNAME = new QName("uri:poosl", "process_method_call"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsSkip_QNAME = new QName("uri:poosl", "skip");
private final static QName _TStatementsSkip_QNAME = new QName("uri:poosl", "skip"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsExpression_QNAME = new QName("uri:poosl", "expression");
private final static QName _TStatementsExpression_QNAME = new QName("uri:poosl", "expression"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsSelectStatements_QNAME = new QName("uri:poosl", "select_statements");
private final static QName _TStatementsSelectStatements_QNAME = new QName("uri:poosl", "select_statements"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsGuard_QNAME = new QName("uri:poosl", "guard");
private final static QName _TStatementsGuard_QNAME = new QName("uri:poosl", "guard"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsInterrupt_QNAME = new QName("uri:poosl", "interrupt");
private final static QName _TStatementsInterrupt_QNAME = new QName("uri:poosl", "interrupt"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsSequenceOfStatements_QNAME = new QName("uri:poosl", "sequence_of_statements");
private final static QName _TStatementsSequenceOfStatements_QNAME = new QName("uri:poosl", "sequence_of_statements"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsParallelStatements_QNAME = new QName("uri:poosl", "parallel_statements");
private final static QName _TStatementsParallelStatements_QNAME = new QName("uri:poosl", "parallel_statements"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsDelay_QNAME = new QName("uri:poosl", "delay");
private final static QName _TStatementsDelay_QNAME = new QName("uri:poosl", "delay"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsAbort_QNAME = new QName("uri:poosl", "abort");
private final static QName _TStatementsAbort_QNAME = new QName("uri:poosl", "abort"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsMessageSend_QNAME = new QName("uri:poosl", "message_send");
private final static QName _TStatementsMessageSend_QNAME = new QName("uri:poosl", "message_send"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TStatementsMessageReceive_QNAME = new QName("uri:poosl", "message_receive");
private final static QName _TStatementsMessageReceive_QNAME = new QName("uri:poosl", "message_receive"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExecutiontreeMethodCall_QNAME = new QName("uri:poosl", "method_call");
private final static QName _TExecutiontreeMethodCall_QNAME = new QName("uri:poosl", "method_call"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExecutiontreeSelect_QNAME = new QName("uri:poosl", "select");
private final static QName _TExecutiontreeSelect_QNAME = new QName("uri:poosl", "select"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExecutiontreeSequential_QNAME = new QName("uri:poosl", "sequential");
private final static QName _TExecutiontreeSequential_QNAME = new QName("uri:poosl", "sequential"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExecutiontreeStatement_QNAME = new QName("uri:poosl", "statement");
private final static QName _TExecutiontreeStatement_QNAME = new QName("uri:poosl", "statement"); //$NON-NLS-1$ //$NON-NLS-2$

private final static QName _TExecutiontreeParallel_QNAME = new QName("uri:poosl", "parallel");
private final static QName _TExecutiontreeParallel_QNAME = new QName("uri:poosl", "parallel"); //$NON-NLS-1$ //$NON-NLS-2$

/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,20 @@
public enum TBinaryOperator {

@XmlEnumValue("+")
ADD("+"), @XmlEnumValue("-")
SUBTRACT("-"), @XmlEnumValue("*")
MULTIPLY("*"), @XmlEnumValue("/")
DIVIDE("/"), @XmlEnumValue("=")
EQUAL("="), @XmlEnumValue("!=")
UNEQUAL("!="), @XmlEnumValue("==")
IDENTICAL("=="), @XmlEnumValue("!==")
NOT_IDENTICAL("!=="), @XmlEnumValue("&")
AND("&"), @XmlEnumValue("|")
OR("|"), @XmlEnumValue("<")
LESS_THAN("<"), @XmlEnumValue(">")
GREATER_THAN(">"), @XmlEnumValue(">=")
AT_LEAST(">="), @XmlEnumValue("<=")
AT_MOST("<=");
ADD("+"), @XmlEnumValue("-") //$NON-NLS-1$
SUBTRACT("-"), @XmlEnumValue("*") //$NON-NLS-1$
MULTIPLY("*"), @XmlEnumValue("/") //$NON-NLS-1$
DIVIDE("/"), @XmlEnumValue("=") //$NON-NLS-1$
EQUAL("="), @XmlEnumValue("!=") //$NON-NLS-1$
UNEQUAL("!="), @XmlEnumValue("==") //$NON-NLS-1$
IDENTICAL("=="), @XmlEnumValue("!==") //$NON-NLS-1$
NOT_IDENTICAL("!=="), @XmlEnumValue("&") //$NON-NLS-1$
AND("&"), @XmlEnumValue("|") //$NON-NLS-1$
OR("|"), @XmlEnumValue("<") //$NON-NLS-1$
LESS_THAN("<"), @XmlEnumValue(">") //$NON-NLS-1$
GREATER_THAN(">"), @XmlEnumValue(">=") //$NON-NLS-1$
AT_LEAST(">="), @XmlEnumValue("<=") //$NON-NLS-1$
AT_MOST("<="); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
public enum TBoolean {

@XmlEnumValue("true")
TRUE("true"), @XmlEnumValue("false")
FALSE("false");
TRUE("true"), @XmlEnumValue("false") //$NON-NLS-1$
FALSE("false"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
public enum TCommand {

@XmlEnumValue("run")
RUN("run"), @XmlEnumValue("pause")
PAUSE("pause"), @XmlEnumValue("stop")
STOP("stop"), @XmlEnumValue("step")
STEP("step"), @XmlEnumValue("process-step")
PROCESS_STEP("process-step"), @XmlEnumValue("time-step")
TIME_STEP("time-step"), @XmlEnumValue("comm-step")
COMM_STEP("comm-step");
RUN("run"), @XmlEnumValue("pause") //$NON-NLS-1$
PAUSE("pause"), @XmlEnumValue("stop") //$NON-NLS-1$
STOP("stop"), @XmlEnumValue("step") //$NON-NLS-1$
STEP("step"), @XmlEnumValue("process-step") //$NON-NLS-1$
PROCESS_STEP("process-step"), @XmlEnumValue("time-step") //$NON-NLS-1$
TIME_STEP("time-step"), @XmlEnumValue("comm-step") //$NON-NLS-1$
COMM_STEP("comm-step"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
public enum TCommandResult {

@XmlEnumValue("ok")
OK("ok"), @XmlEnumValue("no design loaded")
NO_DESIGN_LOADED("no design loaded"), @XmlEnumValue("breakpoint hit")
BREAKPOINT_HIT("breakpoint hit"), @XmlEnumValue("error")
ERROR("error"), @XmlEnumValue("unknown")
UNKNOWN("unknown");
OK("ok"), @XmlEnumValue("no design loaded") //$NON-NLS-1$
NO_DESIGN_LOADED("no design loaded"), @XmlEnumValue("breakpoint hit") //$NON-NLS-1$
BREAKPOINT_HIT("breakpoint hit"), @XmlEnumValue("error") //$NON-NLS-1$
ERROR("error"), @XmlEnumValue("unknown") //$NON-NLS-1$
UNKNOWN("unknown"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
public enum TConstantType {

@XmlEnumValue("string")
STRING("string"), @XmlEnumValue("character")
CHARACTER("character"), @XmlEnumValue("integer")
INTEGER("integer"), @XmlEnumValue("real")
REAL("real"), @XmlEnumValue("boolean")
BOOLEAN("boolean"), @XmlEnumValue("unknown")
UNKNOWN("unknown");
STRING("string"), @XmlEnumValue("character") //$NON-NLS-1$
CHARACTER("character"), @XmlEnumValue("integer") //$NON-NLS-1$
INTEGER("integer"), @XmlEnumValue("real") //$NON-NLS-1$
REAL("real"), @XmlEnumValue("boolean") //$NON-NLS-1$
BOOLEAN("boolean"), @XmlEnumValue("unknown") //$NON-NLS-1$
UNKNOWN("unknown"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
@XmlEnum
public enum TFileIoResult {

OK("OK"), @XmlEnumValue("file does not exist")
FILE_DOES_NOT_EXIST("file does not exist"), @XmlEnumValue("cannot create file")
CANNOT_CREATE_FILE("cannot create file"), @XmlEnumValue("disk full")
DISK_FULL("disk full"), @XmlEnumValue("timed out")
TIMED_OUT("timed out");
OK("OK"), @XmlEnumValue("file does not exist") //$NON-NLS-1$
FILE_DOES_NOT_EXIST("file does not exist"), @XmlEnumValue("cannot create file") //$NON-NLS-1$
CANNOT_CREATE_FILE("cannot create file"), @XmlEnumValue("disk full") //$NON-NLS-1$
DISK_FULL("disk full"), @XmlEnumValue("timed out") //$NON-NLS-1$
TIMED_OUT("timed out"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
public enum THandleType {

@XmlEnumValue("poosl_specification")
POOSL_SPECIFICATION("poosl_specification"), @XmlEnumValue("cluster_class")
CLUSTER_CLASS("cluster_class"), @XmlEnumValue("process_class")
PROCESS_CLASS("process_class"), @XmlEnumValue("data_class")
DATA_CLASS("data_class"), @XmlEnumValue("initial_method_call")
INITIAL_METHOD_CALL("initial_method_call"), @XmlEnumValue("process_method")
PROCESS_METHOD("process_method"), @XmlEnumValue("data_method")
DATA_METHOD("data_method"), @XmlEnumValue("expression")
EXPRESSION("expression");
POOSL_SPECIFICATION("poosl_specification"), @XmlEnumValue("cluster_class") //$NON-NLS-1$
CLUSTER_CLASS("cluster_class"), @XmlEnumValue("process_class") //$NON-NLS-1$
PROCESS_CLASS("process_class"), @XmlEnumValue("data_class") //$NON-NLS-1$
DATA_CLASS("data_class"), @XmlEnumValue("initial_method_call") //$NON-NLS-1$
INITIAL_METHOD_CALL("initial_method_call"), @XmlEnumValue("process_method") //$NON-NLS-1$
PROCESS_METHOD("process_method"), @XmlEnumValue("data_method") //$NON-NLS-1$
DATA_METHOD("data_method"), @XmlEnumValue("expression") //$NON-NLS-1$
EXPRESSION("expression"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
public enum TInspectType {

@XmlEnumValue("process")
PROCESS("process"), @XmlEnumValue("cluster")
CLUSTER("cluster"), @XmlEnumValue("channel")
CHANNEL("channel"), @XmlEnumValue("model")
MODEL("model"), @XmlEnumValue("system")
SYSTEM("system"), @XmlEnumValue("port")
PORT("port"), @XmlEnumValue("variable")
VARIABLE("variable"), @XmlEnumValue("data")
DATA("data"), @XmlEnumValue("stackframe")
STACKFRAME("stackframe"), @XmlEnumValue("variable_context")
VARIABLE_CONTEXT("variable_context");
PROCESS("process"), @XmlEnumValue("cluster") //$NON-NLS-1$
CLUSTER("cluster"), @XmlEnumValue("channel") //$NON-NLS-1$
CHANNEL("channel"), @XmlEnumValue("model") //$NON-NLS-1$
MODEL("model"), @XmlEnumValue("system") //$NON-NLS-1$
SYSTEM("system"), @XmlEnumValue("port") //$NON-NLS-1$
PORT("port"), @XmlEnumValue("variable") //$NON-NLS-1$
VARIABLE("variable"), @XmlEnumValue("data") //$NON-NLS-1$
DATA("data"), @XmlEnumValue("stackframe") //$NON-NLS-1$
STACKFRAME("stackframe"), @XmlEnumValue("variable_context") //$NON-NLS-1$
VARIABLE_CONTEXT("variable_context"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
public enum TInstanceType {

@XmlEnumValue("process")
PROCESS("process"), @XmlEnumValue("cluster")
CLUSTER("cluster");
PROCESS("process"), @XmlEnumValue("cluster") //$NON-NLS-1$
CLUSTER("cluster"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
public enum TInstantiateResult {

@XmlEnumValue("ok")
OK("ok"), @XmlEnumValue("invalid specification")
INVALID_SPECIFICATION("invalid specification"), @XmlEnumValue("unknown handle")
UNKNOWN_HANDLE("unknown handle");
OK("ok"), @XmlEnumValue("invalid specification") //$NON-NLS-1$
INVALID_SPECIFICATION("invalid specification"), @XmlEnumValue("unknown handle") //$NON-NLS-1$
UNKNOWN_HANDLE("unknown handle"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
public enum TMessageType {

@XmlEnumValue("read")
READ("read"), @XmlEnumValue("write")
WRITE("write");
READ("read"), @XmlEnumValue("write") //$NON-NLS-1$
WRITE("write"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
public enum TObjectQueryResult {

@XmlEnumValue("ok")
OK("ok"), @XmlEnumValue("unknown object")
UNKNOWN_OBJECT("unknown object"), @XmlEnumValue("unknown handle")
UNKNOWN_HANDLE("unknown handle");
OK("ok"), @XmlEnumValue("unknown object") //$NON-NLS-1$
UNKNOWN_OBJECT("unknown object"), @XmlEnumValue("unknown handle") //$NON-NLS-1$
UNKNOWN_HANDLE("unknown handle"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
public enum TPerformTransitionResponseResult {

@XmlEnumValue("ok")
OK("ok"), @XmlEnumValue("inexecutable")
INEXECUTABLE("inexecutable"), @XmlEnumValue("invalid transition")
INVALID_TRANSITION("invalid transition"), @XmlEnumValue("invalid handle")
INVALID_HANDLE("invalid handle");
OK("ok"), @XmlEnumValue("inexecutable") //$NON-NLS-1$
INEXECUTABLE("inexecutable"), @XmlEnumValue("invalid transition") //$NON-NLS-1$
INVALID_TRANSITION("invalid transition"), @XmlEnumValue("invalid handle") //$NON-NLS-1$
INVALID_HANDLE("invalid handle"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
public enum TSetVariableResult {

@XmlEnumValue("unknown")
UNKNOWN("unknown"), @XmlEnumValue("ok")
OK("ok"), @XmlEnumValue("error")
ERROR("error"), @XmlEnumValue("invalid_var_handle")
INVALID_VAR_HANDLE("invalid_var_handle"), @XmlEnumValue("invalid_list_handle")
INVALID_LIST_HANDLE("invalid_list_handle");
UNKNOWN("unknown"), @XmlEnumValue("ok") //$NON-NLS-1$
OK("ok"), @XmlEnumValue("error") //$NON-NLS-1$
ERROR("error"), @XmlEnumValue("invalid_var_handle") //$NON-NLS-1$
INVALID_VAR_HANDLE("invalid_var_handle"), @XmlEnumValue("invalid_list_handle") //$NON-NLS-1$
INVALID_LIST_HANDLE("invalid_list_handle"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
public enum TUnaryOperator {

@XmlEnumValue("-")
MINUS("-"), @XmlEnumValue("!")
NEGATION("!");
MINUS("-"), @XmlEnumValue("!") //$NON-NLS-1$
NEGATION("!"); //$NON-NLS-1$

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class Activator extends AbstractUIPlugin {
/**
* The plug-in ID.
*/
public static final String PLUGIN_ID = "org.eclipse.poosl.transformations";
public static final String PLUGIN_ID = "org.eclipse.poosl.transformations"; //$NON-NLS-1$

/**
* The shared instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void dispose() {
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
ISelection selection = HandlerUtil.getCurrentSelection(event);
Boolean asSheSim = Boolean.parseBoolean(event.getParameter("org.eclipse.poosl.commands.generatexml.shesim"));
Boolean asSheSim = Boolean.parseBoolean(event.getParameter("org.eclipse.poosl.commands.generatexml.shesim")); //$NON-NLS-1$

if (selection instanceof IStructuredSelection) {
Set<IProject> projects = new HashSet<>();
Expand Down
Loading

0 comments on commit 2f37831

Please sign in to comment.