Skip to content
Snippets Groups Projects
Commit ee1f3749 authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

resolving this issue

refs 1127
parent 379cf65c
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 8A893E9145FB19258B816ABD280B6698
* @ConQAT.Rating YELLOW Hash: 28B71B61F8C6E74BE9DA84A770537D19
*/
public abstract class PositionedEditPartBase<T extends ILayoutedModelElement> extends
GraphicalEditPartBase<T> implements NodeEditPart {
......@@ -211,6 +211,7 @@ public abstract class PositionedEditPartBase<T extends ILayoutedModelElement> ex
message = getViolationMessage(sev);
break;
}
return message;
}
......@@ -240,7 +241,7 @@ public abstract class PositionedEditPartBase<T extends ILayoutedModelElement> ex
/** Returns the message for the given severity of the model. */
private String getViolationMessage(ESeverity sev) {
String message = "";
String message = "Constraints violation in scope.";
Collection<IConstraintViolation<? extends EObject>> violations =
IMarkerService.INSTANCE.getViolations(getModel());
for(IConstraintViolation<? extends EObject> viol : violations) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment