Skip to content
Snippets Groups Projects
Commit aa39c8ce authored by Florian Hölzl's avatar Florian Hölzl
Browse files

RED

refs 2093
parent 76a1bd79
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,5 @@ output.. = build/
bin.includes = META-INF/,\
.,\
plugin.xml,\
model/
model/,\
plugin.properties
......@@ -201,6 +201,7 @@ class ModelContext implements ITopLevelElement, CommandStackListener {
Diagnostic validate = Diagnostician.INSTANCE.validate(getRootModelElement());
if(validate.getSeverity() != Diagnostic.OK) {
// TODO: B.19
LoggingUtils.warning(ToolingKernelActivator.getDefault(), validate.getMessage());
}
......
......@@ -58,6 +58,7 @@ public final class EMFResourceUtils {
.getFullPath().toString(), true));
r.getContents().add(modelRootElement);
r.save(buildOptionsMap());
// TODO: A.2
// FIXME: check if this is executed during SmokeComponentLibraryTest
}
......@@ -94,6 +95,7 @@ public final class EMFResourceUtils {
: new HashMap<EObject, AnyType>();
return new Pair<EObject, Map<EObject, AnyType>>(r.getContents().get(0), unknownFeatures);
} catch(IOException ex) {
// TODO: B.19
LoggingUtils.error(ToolingKernelActivator.getDefault(), "Failed to load model from " +
uri.toString(), ex);
}
......
......@@ -57,6 +57,7 @@ public class EcoreUtils {
/**
* Converts an EList of a given type into an EList of one of its subtypes.
* Utility method to avoid unnecessary casts.
* TODO A.2
* FIXME(VA) Redundant with JavaUtils.convertList
*
* @param targetClass
......
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