Skip to content

Commit 250b10c

Browse files
author
David Baum
committed
remove out of date documentation
1 parent 4d3a40e commit 250b10c

2 files changed

Lines changed: 8 additions & 37 deletions

File tree

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

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,6 @@ public static enum BuildingType {
452452
/**
453453
* Defines how the methods and attributes are sorted and colored in the city
454454
* model.
455-
*
456-
* @see CitySettings#SET_SCHEME SET_SCHEME
457455
*/
458456
public enum Schemes {
459457
/**
@@ -476,18 +474,13 @@ public enum Schemes {
476474

477475
/**
478476
* Defines which elements of a class are to show.
479-
*
480-
* @see CitySettings#SET_CLASS_ELEMENTS_MODE SET_CLASS_ELEMENTS_MODE
481477
*/
482478
public enum ClassElementsModes {
483479
METHODS_ONLY, ATTRIBUTES_ONLY, METHODS_AND_ATTRIBUTES;
484480
}
485481

486482
/**
487483
* Defines which how the elements of a class are sorted.
488-
*
489-
* @see CitySettings#SET_CLASS_ELEMENTS_SORT_MODE_COARSE
490-
* SET_CLASS_ELEMENTS_SORT_MODE_COARSE
491484
*/
492485
public enum ClassElementsSortModesCoarse {
493486
UNSORTED, ATTRIBUTES_FIRST, METHODS_FIRST
@@ -497,7 +490,6 @@ public enum ClassElementsSortModesCoarse {
497490
* A list of types of a method with the associated priority value.<br>
498491
* Highest priority/smallest number is placed on the bottom, lowest on top.
499492
*
500-
* @see #SET_CLASS_ELEMENTS_SORT_MODE_FINE SET_CLASS_ELEMENTS_SORT_MODE_FINE
501493
* @see SortPriorities_Visibility
502494
* @see Methods.SortPriorities_Types
503495
* @see Attributes.SortPriorities_Types
@@ -511,7 +503,6 @@ public enum ClassElementsSortModesFine {
511503

512504
/**
513505
* Methods will be sorted according to the active
514-
* {@link CitySettings#SET_CLASS_ELEMENTS_SORT_MODE_FINE
515506
* SET_CLASS_ELEMENTS_SORT_MODE_FINE}.
516507
*/
517508
SCHEME,
@@ -525,7 +516,6 @@ public enum ClassElementsSortModesFine {
525516
* value.<br>
526517
* Highest priority/smallest number is placed on the bottom, lowest on top.
527518
*
528-
* @see #SET_CLASS_ELEMENTS_SORT_MODE_FINE SET_CLASS_ELEMENTS_SORT_MODE_FINE
529519
* @see ClassElementsSortModesFine
530520
*
531521
*/
@@ -542,9 +532,7 @@ public enum Methods {;
542532
* A list of types of a method with the associated priority value.<br>
543533
* Highest priority/smallest number is placed on the bottom, lowest on
544534
* top.
545-
*
546-
* @see CitySettings#SET_CLASS_ELEMENTS_SORT_MODE_FINE
547-
* SET_CLASS_ELEMENTS_SORT_MODE_FINE
535+
*
548536
* @see ClassElementsSortModesFine
549537
* @see SortPriorities_Visibility
550538
*/
@@ -590,9 +578,6 @@ public enum Attributes {;
590578
* A list of types of a method with the associated priority value.<br>
591579
* Highest priority/smallest number is placed on the bottom, lowest on
592580
* top.
593-
*
594-
* @see CitySettings#SET_CLASS_ELEMENTS_SORT_MODE_FINE
595-
* SET_CLASS_ELEMENTS_SORT_MODE_FINE
596581
* @see ClassElementsSortModesFine
597582
*/
598583
public static enum SortPriorities_Types {;
@@ -612,8 +597,6 @@ public enum Bricks {;
612597
/**
613598
* Defines the layout for the BuildingSegments of the city model, which
614599
* represents the methods and/or attributes of a class.
615-
*
616-
* @see CitySettings#SET_BRICK_LAYOUT SET_BRICK_LAYOUT
617600
*/
618601
public enum Layout {
619602

@@ -625,31 +608,27 @@ public enum Layout {
625608

626609
/**
627610
* Three-dimensional brick layout, where the base area is computed
628-
* depending on the {@link CitySettings#SET_CLASS_ELEMENTS_MODE
629-
* SET_CLASS_ELEMENTS_MODE}.<br>
611+
* depending on the {@link ClassElementsModes}.<br>
630612
* If only methods are shown, the base area is computed by the
631613
* number of attributes and vice versa.<br>
632614
* In case of methods and attributes are shown, the base area is
633615
* computed by the sum of the numbers of attributes and methods
634616
* inside the class.
635617
* <p>
636-
* When {@link CitySettings#SET_CLASS_ELEMENTS_MODE
637-
* SET_CLASS_ELEMENTS_MODE} is set to
618+
* When {@link ClassElementsModes} is set to
638619
* {@code METHODS_AND_ATTRIBUTES}, the {@code BALANCED} layout and
639620
* {@link Layout#PROGRESSIVE PROGRESSIVE} layout are identical.
640621
*/
641622
BALANCED,
642623

643624
/**
644625
* Three-dimensional brick layout, where the base area is computed
645-
* depending on the {@link CitySettings#SET_CLASS_ELEMENTS_MODE
646-
* SET_CLASS_ELEMENTS_MODE}.<br>
626+
* depending on the {@link ClassElementsModes}.<br>
647627
* If only methods are shown, the base area is computed by the
648628
* number of methods and vice versa. So the aspect lies on only one
649629
* type of element of a class and is visualized.
650630
* <p>
651-
* When {@link CitySettings#SET_CLASS_ELEMENTS_MODE
652-
* SET_CLASS_ELEMENTS_MODE} is set to
631+
* When {@link ClassElementsModes} is set to
653632
* {@code METHODS_AND_ATTRIBUTES}, the {@link Layout#BALANCED
654633
* PROGRESSIVE} layout and {@code PROGRESSIVE} layout are identical.
655634
*/
@@ -665,8 +644,6 @@ public enum Panels {
665644
* Defines the the space between the panels.<br>
666645
* The panels can either touch each other without a gap, leave a gap
667646
* between them, or fill the space with a separator of a defined color.
668-
*
669-
* @see CitySettings#SET_PANEL_SEPARATOR_MODE SET_PANEL_SEPARATOR_MODE
670647
*/
671648
public static enum SeparatorModes {
672649

@@ -679,16 +656,12 @@ public static enum SeparatorModes {
679656
/**
680657
* The panels have a free space between them and don't touch each
681658
* other.
682-
*
683-
* @see Panels#PANEL_VERTICAL_GAP PANEL_VERTICAL_GAP
684659
*/
685660
GAP,
686661

687662
/**
688663
* Between the panels separators are placed with a fix height and
689664
* color.
690-
*
691-
* @see Panels#SEPARATOR_HEIGHT SEPARATOR_HEIGHT
692665
*/
693666
SEPARATOR;
694667

generator2/org.getaviz.generator/src/main/java/org/getaviz/generator/city/CityUtils.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,10 @@ private static String setMethodColor(Node relatedEntity) {
140140
}
141141

142142
/**
143-
* Sorting the {@link BuildingSegment}s with help of
144-
* {@link BuildingSegmentComparator} based on sorting settings in
145-
* {@link CitySettings}.
143+
* Sorting the BuildingSegments with help of
144+
* {@link BuildingSegmentComparator} based on sorting settings
146145
*
147-
* @param bsList
148-
* BuildingSegments which are to be sorted.
146+
* @param segments BuildingSegments which are to be sorted.
149147
*
150148
*/
151149

0 commit comments

Comments
 (0)