Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
af3
kernel
Commits
81d17839
Commit
81d17839
authored
8 years ago
by
Vincent Aravantinos
Browse files
Options
Downloads
Patches
Plain Diff
propagates the previous change
refs 2553
parent
f328e865
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/internal/ConstraintVerificationUIService.java
+4
-4
4 additions, 4 deletions
...g/kernel/ui/internal/ConstraintVerificationUIService.java
with
4 additions
and
4 deletions
org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/internal/ConstraintVerificationUIService.java
+
4
−
4
View file @
81d17839
...
...
@@ -16,7 +16,6 @@ import org.fortiss.tooling.kernel.extension.IEclipseResourcePostLoadProvider;
import
org.fortiss.tooling.kernel.extension.data.ITopLevelElement
;
import
org.fortiss.tooling.kernel.model.constraints.ConstrainedWithChecksum
;
import
org.fortiss.tooling.kernel.model.constraints.ConstraintsPackage
;
import
org.fortiss.tooling.kernel.model.constraints.IAutoCheck
;
import
org.fortiss.tooling.kernel.model.constraints.IConstrained
;
import
org.fortiss.tooling.kernel.model.constraints.IConstraint
;
import
org.fortiss.tooling.kernel.model.constraints.IConstraintVerificationStatus
;
...
...
@@ -36,7 +35,7 @@ import org.fortiss.tooling.kernel.utils.LoggingUtils;
* @author aravantinos
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash:
3F14A57863E8C0447B2BE1CFD412BBDD
* @ConQAT.Rating YELLOW Hash:
FC9CE128FC7A41382D00FDDCC4F2AE52
*/
public
final
class
ConstraintVerificationUIService
extends
EObjectAwareServiceBase
<
IConstraintVerifierUI
<
IConstraint
>>
implements
...
...
@@ -133,7 +132,8 @@ public final class ConstraintVerificationUIService extends
* @param notification
* Checks if <code>notification</code> denotes a change entailing that
* <code>constraint</code> is outdated. If so updates the status to outdated or
* triggers an automatic check if the constraint is {@link IAutoCheck}.
* triggers an automatic check if the <code>autocheck</code> field of the
* constraint is <code>true</code>.
* @return <code>true</code> iff <code>notification</code> indeed entailed that
* <code>constraint</code> is outdated.
*/
...
...
@@ -142,7 +142,7 @@ public final class ConstraintVerificationUIService extends
return
false
;
}
if
(!
IConstraintVerificationService
.
INSTANCE
.
isUpToDate
(
constraint
))
{
if
(
constraint
instanceof
I
AutoCheck
)
{
if
(
constraint
.
is
AutoCheck
()
)
{
ITopLevelElement
modelContext
=
IPersistencyService
.
INSTANCE
.
getTopLevelElementFor
(
constraint
);
modelContext
.
runAsCommand
(
new
Runnable
()
{
...
...
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