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
a4aebd75
Commit
a4aebd75
authored
10 years ago
by
Vincent Aravantinos
Browse files
Options
Downloads
Patches
Plain Diff
Fixed comment
refs 1943
parent
961fb018
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/trunk/src/org/fortiss/tooling/kernel/internal/storage/eclipse/ModelContext.java
+8
-5
8 additions, 5 deletions
...tooling/kernel/internal/storage/eclipse/ModelContext.java
with
8 additions
and
5 deletions
org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/storage/eclipse/ModelContext.java
+
8
−
5
View file @
a4aebd75
...
...
@@ -58,7 +58,7 @@ import org.fortiss.tooling.kernel.utils.UniqueIDUtils;
* @author hummel
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash:
A7B00E66E3893E14F4097D435147ACFC
* @ConQAT.Rating YELLOW Hash:
1E09DC71D8E0EBDD16B88FD1C86085D6
*/
class
ModelContext
implements
ITopLevelElement
,
CommandStackListener
{
...
...
@@ -87,10 +87,13 @@ class ModelContext implements ITopLevelElement, CommandStackListener {
private
int
maxId
=
-
1
;
/**
* TODO (dan): I do not understand this comment
* The map containing the unknown features. Can be non-empty, in which case the migrators have
* to deal with it.
* Only if they don't the model context is buggy.
* There might be mismatches between the meta-model of a file and the meta-model of AF3
* (typically when using a file saved with an older version of AF3). In this case, the parser
* will parse the file (or fail if the file is really too different from what is expected), but
* it will also return the XML nodes ("features") that it failed to parse. These are stored in a
* map "EObject to AnyType": EObject gives the context in which the unknown feature has been met
* and AnyType provides the actual unknown data. If non-empty, the migrators have to deal with
* it. If they don't the model context is considered buggy.
*/
private
Map
<
EObject
,
AnyType
>
unknownFeatures
;
...
...
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