Skip to content

Commit 17a76b6

Browse files
author
David Baum
committed
remove unused config options
1 parent b2e976d commit 17a76b6

3 files changed

Lines changed: 3 additions & 77 deletions

File tree

generator2/org.getaviz.generator/src/main/java/org/getaviz/generator/SettingsConfiguration.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -406,30 +406,14 @@ public double getRDDataFactor() {
406406
return config.getDouble("rd.data_factor", 4.0);
407407
}
408408

409-
public double getRDMethodFactor() {
410-
return config.getDouble("rd.method_factor", 1.0);
411-
}
412-
413409
public double getRDHeight() {
414410
return config.getDouble("rd.height", 1.0);
415411
}
416412

417-
public int getRDHeightBoost() {
418-
return config.getInt("rd.height_boost", 8);
419-
}
420-
421-
public float getRDHeightMultiplicator() {
422-
return (float)config.getDouble("rd.height_multiplicator", 50.0);
423-
}
424-
425413
public double getRDRingWidth() {
426414
return config.getDouble("rd.ring_width", 2.0);
427415
}
428416

429-
public double getRDRingWidthMD() {
430-
return config.getDouble("rd.ring_width_md", 0);
431-
}
432-
433417
public double getRDRingWidthAD() {
434418
return config.getDouble("rd.ring_width_ad", 0);
435419
}
@@ -498,10 +482,6 @@ public String getRDNamespaceColorHex() {
498482
return config.getString("rd.color.namespace", "#969696");
499483
}
500484

501-
public String getRDNamespaceColorAsPercentage() {
502-
return getColorFormatted(getRDNamespaceColor());
503-
}
504-
505485
public boolean isMethodDisks() {
506486
return config.getBoolean("rd.method_disks", false);
507487
}

settings.properties

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,8 @@ city.panel.separator_mode = separator
149149
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
150150

151151
# rd.data_factor = 4.0
152-
# rd.method_factor = 1.0
153152
# rd.height = 1.0
154-
# rd.height_boost = 8
155-
# rd.height_multiplicator = 50.0
156153
# rd.ring_width = 2.0
157-
158-
# Sets the ring width of the method disks
159-
# Only relevant if disk of type FAMIX.Method exist
160-
# rd.ring_width_md = 0
161-
162-
# Equal to ring_width_md but for attribute disks
163154
# rd.ring_width_ad = 0
164155
# rd.min_area = 10.0
165156
# rd.namespace_transparency = 0

ui/scripts/GenerationForm/GenerationFormController.js

Lines changed: 3 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -657,18 +657,7 @@ var generationFormController = (function() {
657657
align: 'left',
658658
width: '200px',
659659
padding: {left: 8, top: 0, bottom: 0, right: 8}
660-
},
661-
{
662-
bind: 'rd_method_factor',
663-
name: 'rd.method_factor',
664-
type: 'number',
665-
label: 'rd.method_factor',
666-
labelAlign: 'right',
667-
labelWidth: '325px',
668-
align: 'left',
669-
width: '200px',
670-
padding: {left: 8, top: 0, bottom: 0, right: 8}
671-
},
660+
},
672661
{
673662
bind: 'rd_height',
674663
name: 'rd.height',
@@ -679,29 +668,7 @@ var generationFormController = (function() {
679668
align: 'left',
680669
width: '200px',
681670
padding: {left: 8, top: 0, bottom: 0, right: 8}
682-
},
683-
{
684-
bind: 'rd_height_boost',
685-
name: 'rd.height_boost',
686-
type: 'number',
687-
label: 'rd.height_boost',
688-
labelAlign: 'right',
689-
labelWidth: '325px',
690-
align: 'left',
691-
width: '200px',
692-
padding: {left: 8, top: 0, bottom: 0, right: 8}
693-
},
694-
{
695-
bind: 'rd_height_multiplicator',
696-
name: 'rd.height_multiplicator',
697-
type: 'number',
698-
label: 'rd.height_multiplicator',
699-
labelAlign: 'right',
700-
labelWidth: '325px',
701-
align: 'left',
702-
width: '200px',
703-
padding: {left: 8, top: 0, bottom: 0, right: 8}
704-
},
671+
},
705672
{
706673
bind: 'rd_ring_width',
707674
name: 'rd.ring_width',
@@ -712,19 +679,7 @@ var generationFormController = (function() {
712679
align: 'left',
713680
width: '200px',
714681
padding: {left: 8, top: 0, bottom: 0, right: 8}
715-
},
716-
{
717-
bind: 'rd_ring_width_md',
718-
name: 'rd.ring_width_md',
719-
type: 'number',
720-
label: 'rd.ring_width_md',
721-
labelAlign: 'right',
722-
labelWidth: '325px',
723-
align: 'left',
724-
width: '200px',
725-
info:'Sets the ring width of the method disks 
Only relevant if disk of type FAMIX.Method exist',
726-
padding: {left: 8, top: 0, bottom: 0, right: 8}
727-
},
682+
},
728683
{
729684
bind: 'rd_ring_width_ad',
730685
name: 'rd.ring_width_ad',

0 commit comments

Comments
 (0)