Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProB Rodin Plugin
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
ProB Rodin Plugin
Commits
5565f05c
Commit
5565f05c
authored
12 years ago
by
Sebastian Krings
Browse files
Options
Downloads
Patches
Plain Diff
okay, error handling is done in the animator. no need to do it here.
parent
c4448d19
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
de.prob.ui/src/de/prob/ui/eventb/StartUnitAnalysisHandler.java
+2
-9
2 additions, 9 deletions
...ob.ui/src/de/prob/ui/eventb/StartUnitAnalysisHandler.java
with
2 additions
and
9 deletions
de.prob.ui/src/de/prob/ui/eventb/StartUnitAnalysisHandler.java
+
2
−
9
View file @
5565f05c
...
...
@@ -130,10 +130,9 @@ public class StartUnitAnalysisHandler extends AbstractHandler implements
rootElement
);
final
StartAnimationCommand
start
=
new
StartAnimationCommand
();
final
ActivateUnitPluginCommand
activatePlugin
=
new
ActivateUnitPluginCommand
();
final
GetErrorsCommand
getErrors
=
new
GetErrorsCommand
();
final
ComposedCommand
composed
=
new
ComposedCommand
(
clear
,
setPrefs
,
load
,
start
,
activatePlugin
,
getErrors
);
setPrefs
,
load
,
start
,
activatePlugin
);
animator
.
execute
(
composed
);
...
...
@@ -142,13 +141,7 @@ public class StartUnitAnalysisHandler extends AbstractHandler implements
animator
.
execute
(
pluginResultCommand
);
// if no errors occured, insert the results into the rodin
// database
if
(
getErrors
.
getErrors
().
isEmpty
())
{
processResults
(
pluginResultCommand
.
getResult
());
}
else
{
// TODO display errors
}
// TODO: should i shutdown the animator?
// animator.shutdown();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment