Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
evoal-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
evoal
source
evoal-core
Commits
3c8de71a
Commit
3c8de71a
authored
2 years ago
by
Bernhard Johannes Berger
Browse files
Options
Downloads
Patches
Plain Diff
Updated forgotten reference.
parent
f74d7714
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#248681
failed
2 years ago
Stage: Domain Specific Languages
Stage: EvoAl
Stage: Release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/languages/de.evoal.languages.model.ol.dsl.ui/src/de/evoal/languages/model/ol/dsl/ui/labeling/OptimisationLanguageLabelProvider.java
+6
-6
6 additions, 6 deletions
...ol/dsl/ui/labeling/OptimisationLanguageLabelProvider.java
with
6 additions
and
6 deletions
src/languages/de.evoal.languages.model.ol.dsl.ui/src/de/evoal/languages/model/ol/dsl/ui/labeling/OptimisationLanguageLabelProvider.java
+
6
−
6
View file @
3c8de71a
...
@@ -34,20 +34,20 @@ public class OptimisationLanguageLabelProvider extends DefaultEObjectLabelProvid
...
@@ -34,20 +34,20 @@ public class OptimisationLanguageLabelProvider extends DefaultEObjectLabelProvid
}
}
public
String
text
(
final
Instance
instance
)
{
public
String
text
(
final
Instance
instance
)
{
return
instance
.
get
Name
().
getName
();
return
instance
.
get
Definition
().
getName
();
}
}
public
String
text
(
final
Attribute
attr
)
{
public
String
text
(
final
Attribute
attr
)
{
if
(
attr
.
getValue
()
==
null
)
{
if
(
attr
.
getValue
()
==
null
)
{
return
attr
.
get
Name
().
getName
();
return
attr
.
get
Definition
().
getName
();
}
else
if
(
attr
.
getValue
()
instanceof
LiteralValue
)
{
}
else
if
(
attr
.
getValue
()
instanceof
LiteralValue
)
{
return
attr
.
get
Name
().
getName
()
+
" := "
+
super
.
doGetText
(
attr
.
getValue
());
return
attr
.
get
Definition
().
getName
()
+
" := "
+
super
.
doGetText
(
attr
.
getValue
());
}
else
if
(
attr
.
getValue
()
instanceof
Array
)
{
}
else
if
(
attr
.
getValue
()
instanceof
Array
)
{
return
attr
.
get
Name
().
getName
()
+
" := [...]"
;
return
attr
.
get
Definition
().
getName
()
+
" := [...]"
;
}
else
if
(
attr
.
getValue
()
instanceof
Instance
)
{
}
else
if
(
attr
.
getValue
()
instanceof
Instance
)
{
return
attr
.
get
Name
().
getName
()
+
" := {...}"
;
return
attr
.
get
Definition
().
getName
()
+
" := {...}"
;
}
else
{
}
else
{
return
attr
.
get
Name
().
getName
()
+
" := "
;
return
attr
.
get
Definition
().
getName
()
+
" := "
;
}
}
}
}
...
...
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