Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plug-In
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TeeTime
Plug-In
Commits
4095587b
There was a problem fetching the pipeline summary.
Commit
4095587b
authored
9 years ago
by
Nelson Tavares de Sousa
Browse files
Options
Downloads
Patches
Plain Diff
some cosmetic issues
parent
82187cbb
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
teetime.configuration.klighd/src/teetime/configuration/klighd/DiagramSynthesis.xtend
+5
-5
5 additions, 5 deletions
...d/src/teetime/configuration/klighd/DiagramSynthesis.xtend
with
5 additions
and
5 deletions
teetime.configuration.klighd/src/teetime/configuration/klighd/DiagramSynthesis.xtend
+
5
−
5
View file @
4095587b
...
...
@@ -39,15 +39,15 @@ class DiagramSynthesis extends AbstractDiagramSynthesis<Configuration> {
@Inject extension KPolylineExtensions
@Inject extension KColorExtensions
private static val SynthesisOption SHOW_STATE = SynthesisOption::createCheckOption("S
how
state", true)
private static val SynthesisOption SHOW_THREADS = SynthesisOption::createCheckOption("
Show threads
", true)
private static val SynthesisOption SHOW_STATE = SynthesisOption::createCheckOption("S
tage
state", true)
private static val SynthesisOption SHOW_THREADS = SynthesisOption::createCheckOption("
Thread assignment
", true)
private val colorings = <Stage, KNode>newHashMap
private val falseStages = <Stage>newHashSet
override public getDisplayedSynthesisOptions() {
return newLinkedList(
SynthesisOption::createSeparator("
O
ptions"),
SynthesisOption::createSeparator("
Visualization o
ptions"),
SHOW_STATE,
SHOW_THREADS
);
...
...
@@ -97,7 +97,7 @@ class DiagramSynthesis extends AbstractDiagramSynthesis<Configuration> {
node.associateWith(stage);
node.addRoundedRectangle(4, 4, 1) => [
it.setShadow("black".color, 3)
val text = it.addText(stage.id).associateWith(stage.id).setSurroundingSpace(
4
, 0,
2
, 0) => [
val text = it.addText(stage.id).associateWith(stage.id).setSurroundingSpace(
8
, 0,
8
, 0) => [
it.setProperty(KlighdProperties.VISIBILITY_SCALE_LOWER_BOUND, 0.70);
]
if (!(stage.isIsActive || stage.inputPorts.size == 0) && SHOW_STATE.booleanValue) {
...
...
@@ -108,7 +108,7 @@ class DiagramSynthesis extends AbstractDiagramSynthesis<Configuration> {
// foreground = "gray40".color
}
if (falseStages.contains(stage)) {
it.background = "
red
".color
it.background = "
#FF5555
".color
}
]
node.setMinimalNodeSize(100, 50)
...
...
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