Skip to content
Snippets Groups Projects
Commit 8b72ecc3 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

rename operation to event in messages

parent ddc62f3e
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@ public class SelectOperationDialog extends Dialog {
container.setLayout(gl);
Label lb = new Label(container, SWT.NONE);
lb.setText("Select an operation:");
lb.setText("Select an event:");
lb.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
listViewer = new ListViewer(container);
......@@ -72,7 +72,7 @@ public class SelectOperationDialog extends Dialog {
@Override
protected void configureShell(Shell newShell) {
super.configureShell(newShell);
newShell.setText("Please select an operation ...");
newShell.setText("Please select an event ...");
}
@Override
......@@ -89,7 +89,7 @@ public class SelectOperationDialog extends Dialog {
if (selectedOperation == null) {
MessageDialog.openError(Display.getDefault().getActiveShell(),
"An error occurred", "Please select an operation ...");
"An error occurred", "Please select an event ...");
return;
} else {
setReturnCode(OK);
......
......@@ -39,7 +39,7 @@ public class ExecuteEventHandler extends AbstractHandler implements IHandler {
} catch (ProBException e) {
e.notifyUserOnce();
throw new ExecutionException(
"executing the operation failed", e);
"executing the event failed", e);
}
}
}
......
......@@ -66,7 +66,7 @@ public final class GetOperationByPredicateCommand2 implements
parsedEvalElement = PredicateEvalElement.fromRodin(parsedPredicate);
} catch (BException e) {
String message = "Fatal error when trying to parse " + predicate
+ ". Execution of operation " + name + " aborted.";
+ ". Execution of event " + name + " aborted.";
ProblemHandler.raiseCommandException(message);
parsedEvalElement = null;
} finally {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment