Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Gottschalk
bmdl-expert-modeler
Commits
3af2450d
Commit
3af2450d
authored
Nov 15, 2021
by
Alexander Philipp Nowosad
Browse files
Fix do format in component
parent
8631fd13
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/app/canvas-meta-model/canvas-model-consistency.service.ts
View file @
3af2450d
...
...
@@ -575,11 +575,11 @@ export class CanvasModelConsistencyService {
):
{
patternHintFeatureIds
:
string
[];
patternHints
:
string
[];
usedPatterns
:
string
[];
usedPatterns
:
Instance
[];
}
{
const
patternHintFeatureIds
=
new
Set
<
string
>
();
const
patternHints
:
string
[]
=
[];
const
usedPatterns
:
string
[]
=
[];
const
usedPatterns
:
Instance
[]
=
[];
patterns
.
forEach
((
pattern
)
=>
{
let
leafFeatures
=
0
;
...
...
@@ -634,7 +634,7 @@ export class CanvasModelConsistencyService {
patternHints
.
push
(
hint
);
featureIds
.
forEach
((
id
)
=>
patternHintFeatureIds
.
add
(
id
));
}
else
{
usedPatterns
.
push
(
pattern
.
name
);
usedPatterns
.
push
(
pattern
);
}
}
}
...
...
src/app/canvas-meta-model/conformance-report.ts
View file @
3af2450d
import
{
Instance
}
from
'
./instance
'
;
export
class
ConformanceReport
{
errorFeatureIds
:
string
[]
=
[];
errors
:
string
[]
=
[];
...
...
@@ -9,7 +11,7 @@ export class ConformanceReport {
hints
:
string
[]
=
[];
patternHintFeatureIds
:
string
[]
=
[];
patternHints
:
string
[]
=
[];
usedPatterns
:
string
[]
=
[];
usedPatterns
:
Instance
[]
=
[];
constructor
(
conformanceReport
:
Partial
<
ConformanceReport
>
=
{})
{
Object
.
assign
(
this
,
conformanceReport
);
...
...
src/app/canvas/api/refine-canvas/refine-canvas.component.html
View file @
3af2450d
...
...
@@ -176,7 +176,7 @@
<h6>
Used Patterns
</h6>
<ul>
<li
*ngFor=
"let pattern of conformance.usedPatterns"
>
{{ pattern }}
{{ pattern
.name
}}
</li>
</ul>
</div>
...
...
src/app/canvas/instances/example/example.component.html
View file @
3af2450d
...
...
@@ -49,7 +49,7 @@
</li>
<li
ngbNavItem=
"stepHints"
#stepHints
="
ngbNavItem
"
>
<a
ngbNavLink
>
2. Hints
</a>
<ng-template
ngbNavContent
>
Adapt the example with hints
</ng-template>
<ng-template
ngbNavContent
>
Adapt the example with hints
</ng-template>
</li>
<li
ngbNavItem=
"stepCompare"
#stepCompare
="
ngbNavItem
"
>
<a
ngbNavLink
>
3. Compare
&
Adaption
</a>
...
...
@@ -59,7 +59,7 @@
</li>
<li
ngbNavItem=
"stepView"
>
<a
ngbNavLink
>
4. View
</a>
<ng-template
ngbNavContent
>
Just view the example
</ng-template>
<ng-template
ngbNavContent
>
Just view the example
</ng-template>
</li>
</ul>
<div
class=
"mt-1"
[ngbNavOutlet]=
"nav"
></div>
...
...
@@ -236,7 +236,7 @@
<h6>
Used Patterns
</h6>
<ul>
<li
*ngFor=
"let pattern of conformance.usedPatterns"
>
{{ pattern }}
{{ pattern
.name
}}
</li>
</ul>
</div>
...
...
@@ -270,7 +270,7 @@
<div
*ngIf=
"usedPatterns"
style=
"margin-top: 20px"
>
<h6>
Used Patterns
</h6>
<ul>
<li
*ngFor=
"let pattern of usedPatterns"
>
{{ pattern }}
</li>
<li
*ngFor=
"let pattern of usedPatterns"
>
{{ pattern
.name
}}
</li>
</ul>
</div>
</div>
...
...
src/app/canvas/instances/example/example.component.ts
View file @
3af2450d
...
...
@@ -31,7 +31,7 @@ export class ExampleComponent implements OnInit {
});
// used patterns
usedPatterns
:
string
[]
=
null
;
usedPatterns
:
Instance
[]
=
null
;
// Compare / Heatmap
selectOtherInstanceForm
:
FormGroup
=
this
.
fb
.
group
({
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment